FFmpeg
Data Structures | Macros | Functions
dct.h File Reference
#include <stddef.h>
#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. More...
 
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, ptrdiff_t line_size, int16_t *block)
 
void ff_jref_idct_add (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 

Macro Definition Documentation

◆ AVCODEC_DCT_H

#define AVCODEC_DCT_H

Definition at line 25 of file dct.h.

Function Documentation

◆ ff_dct_init()

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 179 of file dct.c.

Referenced by ff_mpadsp_init(), and wmavoice_decode_init().

◆ ff_dct_end()

void ff_dct_end ( DCTContext s)

Definition at line 224 of file dct.c.

Referenced by wmavoice_decode_end().

◆ ff_dct_init_x86()

void ff_dct_init_x86 ( DCTContext s)

Definition at line 28 of file dct_init.c.

Referenced by ff_dct_init().

◆ ff_fdct_ifast()

void ff_fdct_ifast ( int16_t *  data)

◆ ff_fdct_ifast248()

void ff_fdct_ifast248 ( int16_t *  data)

Definition at line 273 of file jfdctfst.c.

Referenced by ff_fdctdsp_init().

◆ ff_jpeg_fdct_islow_8()

void ff_jpeg_fdct_islow_8 ( int16_t *  data)

◆ ff_jpeg_fdct_islow_10()

void ff_jpeg_fdct_islow_10 ( int16_t *  data)

◆ ff_fdct248_islow_8()

void ff_fdct248_islow_8 ( int16_t *  data)

Referenced by ff_fdctdsp_init().

◆ ff_fdct248_islow_10()

void ff_fdct248_islow_10 ( int16_t *  data)

Referenced by ff_fdctdsp_init().

◆ ff_j_rev_dct()

void ff_j_rev_dct ( int16_t *  data)

Referenced by ff_idctdsp_init().

◆ ff_j_rev_dct4()

void ff_j_rev_dct4 ( int16_t *  data)

◆ ff_j_rev_dct2()

void ff_j_rev_dct2 ( int16_t *  data)

◆ ff_j_rev_dct1()

void ff_j_rev_dct1 ( int16_t *  data)

Referenced by ff_idctdsp_init().

◆ ff_jref_idct_put()

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

Definition at line 1162 of file jrevdct.c.

Referenced by ff_idctdsp_init().

◆ ff_jref_idct_add()

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

Definition at line 1168 of file jrevdct.c.

Referenced by ff_idctdsp_init().