FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
dct.h File Reference
#include "rdft.h"

Go to the source code of this file.

Data Structures

struct  DCTContext
 

Functions

int ff_dct_init (DCTContext *s, int nbits, enum DCTTransformType type)
 Set up DCT.
 
void ff_dct_end (DCTContext *s)
 
void ff_dct_init_x86 (DCTContext *s)
 

Function Documentation

int ff_dct_init ( DCTContext s,
int  nbits,
enum DCTTransformType  type 
)

Set up DCT.

Parameters
nbitssize of the input array: (1 << nbits) for DCT-II, DCT-III and DST-I (1 << nbits) + 1 for DCT-I
Note
the first element of the input of DST-I is ignored

Definition at line 177 of file dct.c.

Referenced by decode_init(), ff_mpadsp_init(), main(), and wmavoice_decode_init().

void ff_dct_end ( DCTContext s)

Definition at line 218 of file dct.c.

Referenced by decode_end(), main(), and wmavoice_decode_end().

void ff_dct_init_x86 ( DCTContext s)

Referenced by ff_dct_init().