FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
simple_idct_template.c File Reference

simpleidct in C. More...

#include "bit_depth_template.c"

Go to the source code of this file.

Macros

#define W1   90901
 
#define W2   85627
 
#define W3   77062
 
#define W4   65535
 
#define W5   51491
 
#define W6   35468
 
#define W7   18081
 
#define ROW_SHIFT   15
 
#define COL_SHIFT   20
 
#define DC_SHIFT   1
 
#define MUL(a, b)   ((a) * (b))
 
#define MAC(a, b, c)   ((a) += (b) * (c))
 
#define IDCT_COLS
 

Functions

static void FUNC() idctRowCondDC (int16_t *row, int extra_shift)
 
static void FUNC() idctSparseColPut (pixel *dest, int line_size, int16_t *col)
 
static void FUNC() idctSparseColAdd (pixel *dest, int line_size, int16_t *col)
 
static void FUNC() idctSparseCol (int16_t *col)
 
void FUNC() ff_simple_idct_put (uint8_t *dest_, int line_size, int16_t *block)
 
void FUNC() ff_simple_idct_add (uint8_t *dest_, int line_size, int16_t *block)
 
void FUNC() ff_simple_idct (int16_t *block)
 

Detailed Description

simpleidct in C.

Definition in file simple_idct_template.c.

Macro Definition Documentation

#define W1   90901

Definition at line 67 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W2   85627

Definition at line 68 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W3   77062

Definition at line 69 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W4   65535

Definition at line 70 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W5   51491

Definition at line 71 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W6   35468

Definition at line 72 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W7   18081

Definition at line 73 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define ROW_SHIFT   15

Definition at line 75 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define COL_SHIFT   20

Definition at line 76 of file simple_idct_template.c.

Referenced by idctSparseCol(), idctSparseColAdd(), and idctSparseColPut().

#define DC_SHIFT   1

Definition at line 77 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define MUL (   a,
  b 
)    ((a) * (b))

Definition at line 79 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define MAC (   a,
  b,
  c 
)    ((a) += (b) * (c))

Definition at line 80 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define IDCT_COLS

Definition at line 173 of file simple_idct_template.c.

Referenced by idctSparseCol(), idctSparseColAdd(), and idctSparseColPut().

Function Documentation

static void FUNC() idctRowCondDC ( int16_t *  row,
int  extra_shift 
)
inlinestatic

Definition at line 88 of file simple_idct_template.c.

Referenced by ff_simple_idct(), ff_simple_idct_add(), and ff_simple_idct_put().

static void FUNC() idctSparseColPut ( pixel dest,
int  line_size,
int16_t *  col 
)
inlinestatic

Definition at line 223 of file simple_idct_template.c.

Referenced by ff_simple_idct_put().

static void FUNC() idctSparseColAdd ( pixel dest,
int  line_size,
int16_t *  col 
)
inlinestatic

Definition at line 247 of file simple_idct_template.c.

Referenced by ff_simple_idct_add().

static void FUNC() idctSparseCol ( int16_t *  col)
inlinestatic

Definition at line 271 of file simple_idct_template.c.

Referenced by ff_simple_idct().

void FUNC() ff_simple_idct_put ( uint8_t dest_,
int  line_size,
int16_t *  block 
)

Definition at line 287 of file simple_idct_template.c.

void FUNC() ff_simple_idct_add ( uint8_t dest_,
int  line_size,
int16_t *  block 
)

Definition at line 301 of file simple_idct_template.c.

void FUNC() ff_simple_idct ( int16_t *  block)

Definition at line 315 of file simple_idct_template.c.