libavcodec/jfdctint_template.c File Reference

Independent JPEG Group's slow & accurate dct. More...

#include "libavutil/common.h"
#include "dsputil.h"
#include "bit_depth_template.c"

Go to the source code of this file.

Defines

#define DCTSIZE   8
#define BITS_IN_JSAMPLE   BIT_DEPTH
#define GLOBAL(x)   x
#define RIGHT_SHIFT(x, n)   ((x) >> (n))
#define MULTIPLY16C16(var, const)   ((var)*(const))
#define DESCALE(x, n)   RIGHT_SHIFT((x) + (1 << ((n) - 1)), n)
#define CONST_BITS   13
#define PASS1_BITS   4
#define OUT_SHIFT   PASS1_BITS
#define FIX_0_298631336   ((int32_t) 2446)
#define FIX_0_390180644   ((int32_t) 3196)
#define FIX_0_541196100   ((int32_t) 4433)
#define FIX_0_765366865   ((int32_t) 6270)
#define FIX_0_899976223   ((int32_t) 7373)
#define FIX_1_175875602   ((int32_t) 9633)
#define FIX_1_501321110   ((int32_t) 12299)
#define FIX_1_847759065   ((int32_t) 15137)
#define FIX_1_961570560   ((int32_t) 16069)
#define FIX_2_053119869   ((int32_t) 16819)
#define FIX_2_562915447   ((int32_t) 20995)
#define FIX_3_072711026   ((int32_t) 25172)
#define MULTIPLY(var, const)   ((var) * (const))

Functions

static av_always_inline void FUNC() row_fdct (DCTELEM *data)
FUNC() ff_jpeg_fdct_islow (DCTELEM *data)
FUNC() ff_fdct248_islow (DCTELEM *data)


Detailed Description

Independent JPEG Group's slow & accurate dct.

Definition in file jfdctint_template.c.


Define Documentation

#define BITS_IN_JSAMPLE   BIT_DEPTH

Definition at line 68 of file jfdctint_template.c.

#define CONST_BITS   13

Definition at line 128 of file jfdctint_template.c.

#define DCTSIZE   8

Definition at line 67 of file jfdctint_template.c.

#define DESCALE ( x,
 )     RIGHT_SHIFT((x) + (1 << ((n) - 1)), n)

Definition at line 74 of file jfdctint_template.c.

#define FIX_0_298631336   ((int32_t) 2446)

Definition at line 145 of file jfdctint_template.c.

Referenced by ff_jpeg_fdct_islow(), j_rev_dct(), and row_fdct().

#define FIX_0_390180644   ((int32_t) 3196)

Definition at line 146 of file jfdctint_template.c.

Referenced by ff_jpeg_fdct_islow(), j_rev_dct(), and row_fdct().

#define FIX_0_541196100   ((int32_t) 4433)

Definition at line 147 of file jfdctint_template.c.

#define FIX_0_765366865   ((int32_t) 6270)

#define FIX_0_899976223   ((int32_t) 7373)

Definition at line 149 of file jfdctint_template.c.

Referenced by ff_jpeg_fdct_islow(), j_rev_dct(), and row_fdct().

#define FIX_1_175875602   ((int32_t) 9633)

Definition at line 150 of file jfdctint_template.c.

Referenced by ff_jpeg_fdct_islow(), j_rev_dct(), and row_fdct().

#define FIX_1_501321110   ((int32_t) 12299)

Definition at line 151 of file jfdctint_template.c.

Referenced by ff_jpeg_fdct_islow(), j_rev_dct(), and row_fdct().

#define FIX_1_847759065   ((int32_t) 15137)

Definition at line 152 of file jfdctint_template.c.

#define FIX_1_961570560   ((int32_t) 16069)

Definition at line 153 of file jfdctint_template.c.

Referenced by ff_jpeg_fdct_islow(), j_rev_dct(), and row_fdct().

#define FIX_2_053119869   ((int32_t) 16819)

Definition at line 154 of file jfdctint_template.c.

Referenced by ff_jpeg_fdct_islow(), j_rev_dct(), and row_fdct().

#define FIX_2_562915447   ((int32_t) 20995)

Definition at line 155 of file jfdctint_template.c.

Referenced by ff_jpeg_fdct_islow(), j_rev_dct(), and row_fdct().

#define FIX_3_072711026   ((int32_t) 25172)

Definition at line 156 of file jfdctint_template.c.

Referenced by ff_jpeg_fdct_islow(), j_rev_dct(), and row_fdct().

#define GLOBAL (  )     x

Definition at line 69 of file jfdctint_template.c.

#define MULTIPLY ( var,
const   )     ((var) * (const))

Definition at line 183 of file jfdctint_template.c.

#define MULTIPLY16C16 ( var,
const   )     ((var)*(const))

Definition at line 71 of file jfdctint_template.c.

#define OUT_SHIFT   PASS1_BITS

Definition at line 130 of file jfdctint_template.c.

Referenced by ff_fdct248_islow(), ff_jpeg_fdct_islow(), and round_sample().

#define PASS1_BITS   4

Definition at line 129 of file jfdctint_template.c.

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

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

Definition at line 70 of file jfdctint_template.c.


Function Documentation

FUNC() ff_fdct248_islow ( DCTELEM data  ) 

Definition at line 347 of file jfdctint_template.c.

FUNC() ff_jpeg_fdct_islow ( DCTELEM data  ) 

Definition at line 265 of file jfdctint_template.c.

static av_always_inline void FUNC() row_fdct ( DCTELEM data  )  [static]

Definition at line 187 of file jfdctint_template.c.


Generated on Fri Oct 26 02:43:48 2012 for FFmpeg by  doxygen 1.5.8