FFmpeg
Macros | Functions
cos_tablegen.c File Reference
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "libavutil/mathematics.h"

Go to the source code of this file.

Macros

#define BITS   17
 
#define FLOATFMT   "%.18e"
 
#define FIXEDFMT   "%6d"
 

Functions

static int clip_f15 (int v)
 
static void printval (double val, int fixed)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ BITS

#define BITS   17

Definition at line 29 of file cos_tablegen.c.

◆ FLOATFMT

#define FLOATFMT   "%.18e"

Definition at line 30 of file cos_tablegen.c.

◆ FIXEDFMT

#define FIXEDFMT   "%6d"

Definition at line 31 of file cos_tablegen.c.

Function Documentation

◆ clip_f15()

static int clip_f15 ( int  v)
static

Definition at line 33 of file cos_tablegen.c.

Referenced by printval().

◆ printval()

static void printval ( double  val,
int  fixed 
)
static

Definition at line 40 of file cos_tablegen.c.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 54 of file cos_tablegen.c.