FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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   16
 
#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

#define BITS   16

Definition at line 29 of file cos_tablegen.c.

Referenced by main().

#define FLOATFMT   "%.18e"

Definition at line 30 of file cos_tablegen.c.

Referenced by printval().

#define FIXEDFMT   "%6d"

Definition at line 31 of file cos_tablegen.c.

Referenced by printval().

Function Documentation

static int clip_f15 ( int  v)
static

Definition at line 33 of file cos_tablegen.c.

Referenced by printval().

static void printval ( double  val,
int  fixed 
)
static

Definition at line 40 of file cos_tablegen.c.

Referenced by main().

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

Definition at line 54 of file cos_tablegen.c.