FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
dct.h File Reference
#include <stdint.h>
#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)
 
void ff_fdct_ifast (int16_t *data)
 
void ff_fdct_ifast248 (int16_t *data)
 
void ff_jpeg_fdct_islow_8 (int16_t *data)
 
void ff_jpeg_fdct_islow_10 (int16_t *data)
 
void ff_fdct248_islow_8 (int16_t *data)
 
void ff_fdct248_islow_10 (int16_t *data)
 
void ff_j_rev_dct (int16_t *data)
 
void ff_j_rev_dct4 (int16_t *data)
 
void ff_j_rev_dct2 (int16_t *data)
 
void ff_j_rev_dct1 (int16_t *data)
 
void ff_fdct_mmx (int16_t *block)
 
void ff_fdct_mmxext (int16_t *block)
 
void ff_fdct_sse2 (int16_t *block)
 

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)

Definition at line 29 of file dct_init.c.

Referenced by ff_dct_init().

void ff_fdct_ifast ( int16_t *  data)

Definition at line 208 of file jfdctfst.c.

Referenced by dct_quantize_trellis_c(), ff_convert_matrix(), and ff_dsputil_init().

void ff_fdct_ifast248 ( int16_t *  data)

Definition at line 274 of file jfdctfst.c.

Referenced by ff_dsputil_init().

void ff_jpeg_fdct_islow_8 ( int16_t *  data)
void ff_jpeg_fdct_islow_10 ( int16_t *  data)
void ff_fdct248_islow_8 ( int16_t *  data)

Referenced by ff_dsputil_init().

void ff_fdct248_islow_10 ( int16_t *  data)

Referenced by ff_dsputil_init().

void ff_j_rev_dct ( int16_t *  data)
void ff_j_rev_dct4 ( int16_t *  data)
void ff_j_rev_dct2 ( int16_t *  data)
void ff_j_rev_dct1 ( int16_t *  data)

Referenced by ff_dsputil_init().

void ff_fdct_mmx ( int16_t *  block)

Referenced by hadamard_func().

void ff_fdct_mmxext ( int16_t *  block)

Referenced by hadamard_func().

void ff_fdct_sse2 ( int16_t *  block)

Referenced by hadamard_func().