FFmpeg
Macros | Functions
wmv2dsp.c File Reference
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "idctdsp.h"
#include "mathops.h"
#include "qpeldsp.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, ptrdiff_t line_size, int16_t *block)
 
static void wmv2_idct_put_c (uint8_t *dest, ptrdiff_t line_size, int16_t *block)
 
static void wmv2_mspel8_h_lowpass (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
static void wmv2_mspel8_v_lowpass (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int w)
 
static void put_mspel8_mc10_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
static void put_mspel8_mc20_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
static void put_mspel8_mc30_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
static void put_mspel8_mc02_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
static void put_mspel8_mc12_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
static void put_mspel8_mc32_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
static void put_mspel8_mc22_c (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
 
av_cold void ff_wmv2dsp_init (WMV2DSPContext *c)
 

Macro Definition Documentation

◆ W0

#define W0   2048

Definition at line 27 of file wmv2dsp.c.

◆ W1

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

Definition at line 28 of file wmv2dsp.c.

◆ W2

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

Definition at line 29 of file wmv2dsp.c.

◆ W3

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

Definition at line 30 of file wmv2dsp.c.

◆ W4

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

Definition at line 31 of file wmv2dsp.c.

◆ W5

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

Definition at line 32 of file wmv2dsp.c.

◆ W6

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

Definition at line 33 of file wmv2dsp.c.

◆ W7

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

Definition at line 34 of file wmv2dsp.c.

Function Documentation

◆ wmv2_idct_row()

static void wmv2_idct_row ( short b)
static

Definition at line 36 of file wmv2dsp.c.

Referenced by wmv2_idct_add_c(), and wmv2_idct_put_c().

◆ wmv2_idct_col()

static void wmv2_idct_col ( short b)
static

Definition at line 66 of file wmv2dsp.c.

Referenced by wmv2_idct_add_c(), and wmv2_idct_put_c().

◆ wmv2_idct_add_c()

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

Definition at line 97 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

◆ wmv2_idct_put_c()

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

Definition at line 120 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

◆ wmv2_mspel8_h_lowpass()

static void wmv2_mspel8_h_lowpass ( uint8_t *  dst,
const uint8_t *  src,
int  dstStride,
int  srcStride,
int  h 
)
static

◆ wmv2_mspel8_v_lowpass()

static void wmv2_mspel8_v_lowpass ( uint8_t *  dst,
const uint8_t *  src,
int  dstStride,
int  srcStride,
int  w 
)
static

◆ put_mspel8_mc10_c()

static void put_mspel8_mc10_c ( uint8_t *  dst,
const uint8_t *  src,
ptrdiff_t  stride 
)
static

Definition at line 194 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

◆ put_mspel8_mc20_c()

static void put_mspel8_mc20_c ( uint8_t *  dst,
const uint8_t *  src,
ptrdiff_t  stride 
)
static

Definition at line 202 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

◆ put_mspel8_mc30_c()

static void put_mspel8_mc30_c ( uint8_t *  dst,
const uint8_t *  src,
ptrdiff_t  stride 
)
static

Definition at line 207 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

◆ put_mspel8_mc02_c()

static void put_mspel8_mc02_c ( uint8_t *  dst,
const uint8_t *  src,
ptrdiff_t  stride 
)
static

Definition at line 215 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

◆ put_mspel8_mc12_c()

static void put_mspel8_mc12_c ( uint8_t *  dst,
const uint8_t *  src,
ptrdiff_t  stride 
)
static

Definition at line 220 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

◆ put_mspel8_mc32_c()

static void put_mspel8_mc32_c ( uint8_t *  dst,
const uint8_t *  src,
ptrdiff_t  stride 
)
static

Definition at line 232 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

◆ put_mspel8_mc22_c()

static void put_mspel8_mc22_c ( uint8_t *  dst,
const uint8_t *  src,
ptrdiff_t  stride 
)
static

Definition at line 244 of file wmv2dsp.c.

Referenced by ff_wmv2dsp_init().

◆ ff_wmv2dsp_init()

av_cold void ff_wmv2dsp_init ( WMV2DSPContext c)

Definition at line 252 of file wmv2dsp.c.

Referenced by ff_intrax8_common_init(), and ff_wmv2_common_init().