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

◆ W1

#define W1   22725

Definition at line 30 of file simple_idct_mmi.c.

◆ W2

#define W2   21407

Definition at line 31 of file simple_idct_mmi.c.

◆ W3

#define W3   19266

Definition at line 32 of file simple_idct_mmi.c.

◆ W4

#define W4   16383

Definition at line 33 of file simple_idct_mmi.c.

◆ W5

#define W5   12873

Definition at line 34 of file simple_idct_mmi.c.

◆ W6

#define W6   8867

Definition at line 35 of file simple_idct_mmi.c.

◆ W7

#define W7   4520

Definition at line 36 of file simple_idct_mmi.c.

◆ ROW_SHIFT

#define ROW_SHIFT   11

Definition at line 38 of file simple_idct_mmi.c.

◆ COL_SHIFT

#define COL_SHIFT   20

Definition at line 39 of file simple_idct_mmi.c.

◆ DC_SHIFT

#define DC_SHIFT   3

Definition at line 40 of file simple_idct_mmi.c.

◆ IDCT_ROW_COND_DC

#define IDCT_ROW_COND_DC (   src1,
  src2 
)

◆ IDCT_COL_CASE1

#define IDCT_COL_CASE1 (   src,
  out1,
  out2 
)

◆ IDCT_COL_CASE2

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

Function Documentation

◆ ff_simple_idct_8_mmi()

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().

◆ 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.

◆ ff_simple_idct_add_8_mmi()

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

◆ W_arr

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
}

Definition at line 42 of file simple_idct_mmi.c.

Referenced by ff_simple_idct_8_mmi().

W4
#define W4
Definition: simple_idct_mmi.c:33
W1
#define W1
Definition: simple_idct_mmi.c:30
W2
#define W2
Definition: simple_idct_mmi.c:31
W3
#define W3
Definition: simple_idct_mmi.c:32
W7
#define W7
Definition: simple_idct_mmi.c:36
W6
#define W6
Definition: simple_idct_mmi.c:35
W5
#define W5
Definition: simple_idct_mmi.c:34