FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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, int line_size, int16_t *block)
 
void ff_wmv2_idct_put_mmi (uint8_t *dest, int line_size, int16_t *block)
 

Macro Definition Documentation

#define W0   2048

Definition at line 28 of file wmv2dsp_mmi.c.

Referenced by wmv2_idct_col_mmi(), and wmv2_idct_row_mmi().

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

Definition at line 29 of file wmv2dsp_mmi.c.

Referenced by wmv2_idct_col_mmi(), and wmv2_idct_row_mmi().

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

Definition at line 30 of file wmv2dsp_mmi.c.

Referenced by wmv2_idct_col_mmi(), and wmv2_idct_row_mmi().

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

Definition at line 31 of file wmv2dsp_mmi.c.

Referenced by wmv2_idct_col_mmi(), and wmv2_idct_row_mmi().

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

Definition at line 32 of file wmv2dsp_mmi.c.

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

Definition at line 33 of file wmv2dsp_mmi.c.

Referenced by wmv2_idct_col_mmi(), and wmv2_idct_row_mmi().

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

Definition at line 34 of file wmv2dsp_mmi.c.

Referenced by wmv2_idct_col_mmi(), and wmv2_idct_row_mmi().

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

Definition at line 35 of file wmv2dsp_mmi.c.

Referenced by wmv2_idct_col_mmi(), and wmv2_idct_row_mmi().

Function Documentation

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

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

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

Definition at line 98 of file wmv2dsp_mmi.c.

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

Definition at line 215 of file wmv2dsp_mmi.c.