FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wmv2dsp.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "avcodec.h"
#include "dsputil.h"
#include "wmv2dsp.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 (short *b)
 
static void wmv2_idct_col (short *b)
 
static void wmv2_idct_add_c (uint8_t *dest, int line_size, int16_t *block)
 
static void wmv2_idct_put_c (uint8_t *dest, int line_size, int16_t *block)
 
av_cold void ff_wmv2dsp_init (WMV2DSPContext *c)
 

Macro Definition Documentation

#define W0   2048

Definition at line 25 of file wmv2dsp.c.

Referenced by wmv2_idct_col(), and wmv2_idct_row().

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

Definition at line 26 of file wmv2dsp.c.

Referenced by wmv2_idct_col(), and wmv2_idct_row().

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

Definition at line 27 of file wmv2dsp.c.

Referenced by wmv2_idct_col(), and wmv2_idct_row().

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

Definition at line 28 of file wmv2dsp.c.

Referenced by wmv2_idct_col(), and wmv2_idct_row().

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

Definition at line 29 of file wmv2dsp.c.

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

Definition at line 30 of file wmv2dsp.c.

Referenced by wmv2_idct_col(), and wmv2_idct_row().

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

Definition at line 31 of file wmv2dsp.c.

Referenced by wmv2_idct_col(), and wmv2_idct_row().

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

Definition at line 32 of file wmv2dsp.c.

Referenced by wmv2_idct_col(), and wmv2_idct_row().

Function Documentation

static void wmv2_idct_row ( short *  b)
static

Definition at line 34 of file wmv2dsp.c.

Referenced by wmv2_idct_add_c(), and wmv2_idct_put_c().

static void wmv2_idct_col ( short *  b)
static

Definition at line 64 of file wmv2dsp.c.

Referenced by wmv2_idct_add_c(), and wmv2_idct_put_c().

static void wmv2_idct_add_c ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 95 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

static void wmv2_idct_put_c ( uint8_t dest,
int  line_size,
int16_t *  block 
)
static

Definition at line 118 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

av_cold void ff_wmv2dsp_init ( WMV2DSPContext c)

Definition at line 141 of file wmv2dsp.c.

Referenced by ff_wmv2_common_init().