libavcodec/faanidct.c File Reference

#include "faanidct.h"

Go to the source code of this file.

Defines

#define FLOAT   float
#define B0   1.0000000000000000000000
#define B1   1.3870398453221474618216
#define B2   1.3065629648763765278566
#define B3   1.1758756024193587169745
#define B4   1.0000000000000000000000
#define B5   0.7856949583871021812779
#define B6   0.5411961001461969843997
#define B7   0.2758993792829430123360
#define A4   0.70710678118654752438
#define A2   0.92387953251128675613

Functions

static void p8idct (DCTELEM data[64], FLOAT temp[64], uint8_t *dest, int stride, int x, int y, int type)
void ff_faanidct (DCTELEM block[64])
void ff_faanidct_add (uint8_t *dest, int line_size, DCTELEM block[64])
void ff_faanidct_put (uint8_t *dest, int line_size, DCTELEM block[64])

Variables

static const FLOAT prescale [64]


Define Documentation

#define A2   0.92387953251128675613

Definition at line 36 of file faanidct.c.

#define A4   0.70710678118654752438

Definition at line 35 of file faanidct.c.

#define B0   1.0000000000000000000000

Definition at line 26 of file faanidct.c.

#define B1   1.3870398453221474618216

Definition at line 27 of file faanidct.c.

#define B2   1.3065629648763765278566

Definition at line 28 of file faanidct.c.

#define B3   1.1758756024193587169745

Definition at line 29 of file faanidct.c.

#define B4   1.0000000000000000000000

Definition at line 30 of file faanidct.c.

#define B5   0.7856949583871021812779

Definition at line 31 of file faanidct.c.

#define B6   0.5411961001461969843997

Definition at line 32 of file faanidct.c.

#define B7   0.2758993792829430123360

Definition at line 33 of file faanidct.c.

#define FLOAT   float

Definition at line 24 of file faanidct.c.


Function Documentation

void ff_faanidct ( DCTELEM  block[64]  ) 

Definition at line 131 of file faanidct.c.

Referenced by dsputil_init().

void ff_faanidct_add ( uint8_t *  dest,
int  line_size,
DCTELEM  block[64] 
)

Definition at line 144 of file faanidct.c.

Referenced by dsputil_init().

void ff_faanidct_put ( uint8_t *  dest,
int  line_size,
DCTELEM  block[64] 
)

Definition at line 157 of file faanidct.c.

Referenced by dsputil_init().

static void p8idct ( DCTELEM  data[64],
FLOAT  temp[64],
uint8_t *  dest,
int  stride,
int  x,
int  y,
int  type 
) [inline, static]

Definition at line 49 of file faanidct.c.

Referenced by ff_faanidct(), ff_faanidct_add(), and ff_faanidct_put().


Variable Documentation

const FLOAT prescale[64] [static]

Initial value:

{
B0*B0/8, B0*B1/8, B0*B2/8, B0*B3/8, B0*B4/8, B0*B5/8, B0*B6/8, B0*B7/8,
B1*B0/8, B1*B1/8, B1*B2/8, B1*B3/8, B1*B4/8, B1*B5/8, B1*B6/8, B1*B7/8,
B2*B0/8, B2*B1/8, B2*B2/8, B2*B3/8, B2*B4/8, B2*B5/8, B2*B6/8, B2*B7/8,
B3*B0/8, B3*B1/8, B3*B2/8, B3*B3/8, B3*B4/8, B3*B5/8, B3*B6/8, B3*B7/8,
B4*B0/8, B4*B1/8, B4*B2/8, B4*B3/8, B4*B4/8, B4*B5/8, B4*B6/8, B4*B7/8,
B5*B0/8, B5*B1/8, B5*B2/8, B5*B3/8, B5*B4/8, B5*B5/8, B5*B6/8, B5*B7/8,
B6*B0/8, B6*B1/8, B6*B2/8, B6*B3/8, B6*B4/8, B6*B5/8, B6*B6/8, B6*B7/8,
B7*B0/8, B7*B1/8, B7*B2/8, B7*B3/8, B7*B4/8, B7*B5/8, B7*B6/8, B7*B7/8,
}

Definition at line 38 of file faanidct.c.

Referenced by ff_faanidct(), ff_faanidct_add(), and ff_faanidct_put().


Generated on Fri Oct 26 02:46:08 2012 for FFmpeg by  doxygen 1.5.8