hvirtual/quicktime/ffmpeg/libavcodec/jfdctfst.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include "common.h"
#include "dsputil.h"

Include dependency graph for jfdctfst.c:

Go to the source code of this file.

Defines

#define DCTSIZE   8
#define GLOBAL(x)   x
#define RIGHT_SHIFT(x, n)   ((x) >> (n))
#define SHIFT_TEMPS
#define CONST_BITS   8
#define FIX_0_382683433   ((int32_t) 98)
#define FIX_0_541196100   ((int32_t) 139)
#define FIX_0_707106781   ((int32_t) 181)
#define FIX_1_306562965   ((int32_t) 334)
#define DESCALE(x, n)   RIGHT_SHIFT(x, n)
#define MULTIPLY(var, const)   ((DCTELEM) DESCALE((var) * (const), CONST_BITS))

Functions

static always_inline void row_fdct (DCTELEM *data)
 fdct_ifast (DCTELEM *data)
 fdct_ifast248 (DCTELEM *data)


Detailed Description

Independent JPEG Group's fast AAN dct.

Definition in file jfdctfst.c.


Define Documentation

#define CONST_BITS   8

#define DCTSIZE   8

#define DESCALE ( x,
 )     RIGHT_SHIFT(x, n)

#define FIX_0_382683433   ((int32_t) 98)

Definition at line 86 of file jfdctfst.c.

Referenced by fdct_ifast(), row_fdct(), and RTjpeg_dctY().

#define FIX_0_541196100   ((int32_t) 139)

#define FIX_0_707106781   ((int32_t) 181)

Definition at line 88 of file jfdctfst.c.

Referenced by fdct_ifast(), fdct_ifast248(), row_fdct(), and RTjpeg_dctY().

#define FIX_1_306562965   ((int32_t) 334)

Definition at line 89 of file jfdctfst.c.

Referenced by fdct_ifast(), j_rev_dct(), j_rev_dct4(), row_fdct(), and RTjpeg_dctY().

#define GLOBAL (  )     x

Definition at line 44 of file jfdctfst.c.

#define MULTIPLY ( var,
const   )     ((DCTELEM) DESCALE((var) * (const), CONST_BITS))

Definition at line 113 of file jfdctfst.c.

#define RIGHT_SHIFT ( x,
 )     ((x) >> (n))

Definition at line 45 of file jfdctfst.c.

#define SHIFT_TEMPS


Function Documentation

fdct_ifast ( DCTELEM data  ) 

Definition at line 179 of file jfdctfst.c.

References DCTSIZE, FIX_0_382683433, FIX_0_541196100, FIX_0_707106781, FIX_1_306562965, MULTIPLY, row_fdct(), and SHIFT_TEMPS.

Referenced by dct_error(), dsputil_init(), and main().

Here is the call graph for this function:

fdct_ifast248 ( DCTELEM data  ) 

Definition at line 246 of file jfdctfst.c.

References DCTSIZE, FIX_0_707106781, MULTIPLY, row_fdct(), and SHIFT_TEMPS.

Referenced by dsputil_init().

Here is the call graph for this function:

static always_inline void row_fdct ( DCTELEM data  )  [static]


Generated on Mon Apr 28 14:04:47 2008 for Cinelerra by  doxygen 1.5.5