FFmpeg
Macros | Functions | Variables
simple_idct_mmi.c File Reference
#include "idctdsp_mips.h"
#include "constants.h"
#include "libavutil/mips/asmdefs.h"
#include "libavutil/mips/mmiutils.h"

Go to the source code of this file.

Macros

#define W1   22725
 
#define W2   21407
 
#define W3   19266
 
#define W4   16383
 
#define W5   12873
 
#define W6   8867
 
#define W7   4520
 
#define ROW_SHIFT   11
 
#define COL_SHIFT   20
 
#define DC_SHIFT   3
 
#define IDCT_ROW_COND_DC(src1, src2)
 
#define IDCT_COL_CASE1(src, out1, out2)
 
#define IDCT_COL_CASE2(src1, src2, out1, out2)
 

Functions

void ff_simple_idct_8_mmi (int16_t *block)
 
void ff_simple_idct_put_8_mmi (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 
void ff_simple_idct_add_8_mmi (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 

Variables

const int16_t W_arr [46]
 

Macro Definition Documentation

#define W1   22725

Definition at line 30 of file simple_idct_mmi.c.

#define W2   21407

Definition at line 31 of file simple_idct_mmi.c.

#define W3   19266

Definition at line 32 of file simple_idct_mmi.c.

#define W4   16383

Definition at line 33 of file simple_idct_mmi.c.

#define W5   12873

Definition at line 34 of file simple_idct_mmi.c.

#define W6   8867

Definition at line 35 of file simple_idct_mmi.c.

#define W7   4520

Definition at line 36 of file simple_idct_mmi.c.

#define ROW_SHIFT   11

Definition at line 38 of file simple_idct_mmi.c.

#define COL_SHIFT   20

Definition at line 39 of file simple_idct_mmi.c.

#define DC_SHIFT   3

Definition at line 40 of file simple_idct_mmi.c.

Referenced by idctRowCondDC().

#define IDCT_ROW_COND_DC (   src1,
  src2 
)

Referenced by ff_simple_idct_8_mmi().

#define IDCT_COL_CASE1 (   src,
  out1,
  out2 
)

Referenced by ff_simple_idct_8_mmi().

#define IDCT_COL_CASE2 (   src1,
  src2,
  out1,
  out2 
)

Referenced by ff_simple_idct_8_mmi().

Function Documentation

void ff_simple_idct_8_mmi ( int16_t *  block)

Definition at line 56 of file simple_idct_mmi.c.

Referenced by ff_simple_idct_add_8_mmi(), and ff_simple_idct_put_8_mmi().

void ff_simple_idct_put_8_mmi ( uint8_t dest,
ptrdiff_t  line_size,
int16_t *  block 
)

Definition at line 414 of file simple_idct_mmi.c.

void ff_simple_idct_add_8_mmi ( uint8_t dest,
ptrdiff_t  line_size,
int16_t *  block 
)

Definition at line 419 of file simple_idct_mmi.c.

Variable Documentation

const int16_t W_arr[46]
Initial value:
= {
W4, W2, W4, W6,
W1, W3, W5, W7,
W4, W6, -W4, -W2,
W3, -W7, -W1, -W5,
W4, -W6, -W4, W2,
W5, -W1, W7, W3,
W4, -W2, W4, -W6,
W7, -W5, W3, -W1,
1024, 0, 1024, 0,
0, -1, -1, -1,
32, 32, 32, 32
}
#define W1
#define W6
#define W4
#define W2
#define W3
#define W5
#define W7

Definition at line 42 of file simple_idct_mmi.c.

Referenced by ff_simple_idct_8_mmi().