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

simpleidct in C. More...

#include "simple_idct.h"
#include "bit_depth_template.c"

Go to the source code of this file.

Macros

#define W1   45451
 
#define W2   42813
 
#define W3   38531
 
#define W4   32767
 
#define W5   25746
 
#define W6   17734
 
#define W7   9041
 
#define ROW_SHIFT   16
 
#define COL_SHIFT   17
 
#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   45451

Definition at line 82 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W2   42813

Definition at line 83 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W3   38531

Definition at line 84 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W4   32767

Definition at line 85 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W5   25746

Definition at line 86 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W6   17734

Definition at line 87 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define W7   9041

Definition at line 88 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define ROW_SHIFT   16

Definition at line 90 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define COL_SHIFT   17

Definition at line 91 of file simple_idct_template.c.

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

#define DC_SHIFT   -1

Definition at line 92 of file simple_idct_template.c.

Referenced by idctRowCondDC().

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

Definition at line 95 of file simple_idct_template.c.

Referenced by idctRowCondDC().

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

Definition at line 96 of file simple_idct_template.c.

Referenced by idctRowCondDC().

#define IDCT_COLS

Definition at line 189 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 104 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 239 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 263 of file simple_idct_template.c.

Referenced by ff_simple_idct_add().

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

Definition at line 287 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 303 of file simple_idct_template.c.

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

Definition at line 317 of file simple_idct_template.c.

void FUNC() ff_simple_idct ( int16_t *  block)

Definition at line 331 of file simple_idct_template.c.