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

Go to the source code of this file.

Data Structures

struct  DCTContext
 

Macros

#define AVCODEC_DCT_H
 

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_jref_idct_put (uint8_t *dest, int line_size, int16_t *block)
 
void ff_jref_idct_add (uint8_t *dest, int line_size, int16_t *block)
 

Macro Definition Documentation

#define AVCODEC_DCT_H

Definition at line 25 of file dct.h.

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)
void ff_fdct_ifast248 ( int16_t *  data)

Definition at line 274 of file jfdctfst.c.

Referenced by ff_fdctdsp_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_fdctdsp_init().

void ff_fdct248_islow_10 ( int16_t *  data)

Referenced by ff_fdctdsp_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_idctdsp_init().

void ff_jref_idct_put ( uint8_t dest,
int  line_size,
int16_t *  block 
)

Definition at line 1159 of file jrevdct.c.

Referenced by ff_idctdsp_init().

void ff_jref_idct_add ( uint8_t dest,
int  line_size,
int16_t *  block 
)

Definition at line 1165 of file jrevdct.c.

Referenced by ff_idctdsp_init().