FFmpeg
Macros | Functions
wmv2dsp_mmi.c File Reference
#include "libavutil/avassert.h"
#include "constants.h"
#include "wmv2dsp_mips.h"
#include "libavutil/mips/mmiutils.h"

Go to the source code of this file.

Macros

#define W0   2048
 
#define W1   2841 /* 2048*sqrt (2)*cos (1*pi/16) */
 
#define W2   2676 /* 2048*sqrt (2)*cos (2*pi/16) */
 
#define W3   2408 /* 2048*sqrt (2)*cos (3*pi/16) */
 
#define W4   2048 /* 2048*sqrt (2)*cos (4*pi/16) */
 
#define W5   1609 /* 2048*sqrt (2)*cos (5*pi/16) */
 
#define W6   1108 /* 2048*sqrt (2)*cos (6*pi/16) */
 
#define W7   565 /* 2048*sqrt (2)*cos (7*pi/16) */
 

Functions

static void wmv2_idct_row_mmi (short *b)
 
static void wmv2_idct_col_mmi (short *b)
 
void ff_wmv2_idct_add_mmi (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 
void ff_wmv2_idct_put_mmi (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 

Macro Definition Documentation

◆ W0

#define W0   2048

Definition at line 28 of file wmv2dsp_mmi.c.

◆ W1

#define W1   2841 /* 2048*sqrt (2)*cos (1*pi/16) */

Definition at line 29 of file wmv2dsp_mmi.c.

◆ W2

#define W2   2676 /* 2048*sqrt (2)*cos (2*pi/16) */

Definition at line 30 of file wmv2dsp_mmi.c.

◆ W3

#define W3   2408 /* 2048*sqrt (2)*cos (3*pi/16) */

Definition at line 31 of file wmv2dsp_mmi.c.

◆ W4

#define W4   2048 /* 2048*sqrt (2)*cos (4*pi/16) */

Definition at line 32 of file wmv2dsp_mmi.c.

◆ W5

#define W5   1609 /* 2048*sqrt (2)*cos (5*pi/16) */

Definition at line 33 of file wmv2dsp_mmi.c.

◆ W6

#define W6   1108 /* 2048*sqrt (2)*cos (6*pi/16) */

Definition at line 34 of file wmv2dsp_mmi.c.

◆ W7

#define W7   565 /* 2048*sqrt (2)*cos (7*pi/16) */

Definition at line 35 of file wmv2dsp_mmi.c.

Function Documentation

◆ wmv2_idct_row_mmi()

static void wmv2_idct_row_mmi ( short b)
static

Definition at line 37 of file wmv2dsp_mmi.c.

Referenced by ff_wmv2_idct_add_mmi(), and ff_wmv2_idct_put_mmi().

◆ wmv2_idct_col_mmi()

static void wmv2_idct_col_mmi ( short b)
static

Definition at line 67 of file wmv2dsp_mmi.c.

Referenced by ff_wmv2_idct_add_mmi(), and ff_wmv2_idct_put_mmi().

◆ ff_wmv2_idct_add_mmi()

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

Definition at line 98 of file wmv2dsp_mmi.c.

Referenced by ff_wmv2dsp_init_mips().

◆ ff_wmv2_idct_put_mmi()

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

Definition at line 215 of file wmv2dsp_mmi.c.

Referenced by ff_wmv2dsp_init_mips().