libavcodec/vp3dsp.c File Reference

Standard C DSP-oriented functions cribbed from the original VP3 source code. More...

#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "avcodec.h"
#include "dsputil.h"
#include "vp3dsp.h"

Go to the source code of this file.

Defines

#define IdctAdjustBeforeShift   8
#define xC1S7   64277
#define xC2S6   60547
#define xC3S5   54491
#define xC4S4   46341
#define xC5S3   36410
#define xC6S2   25080
#define xC7S1   12785
#define M(a, b)   (((a) * (b))>>16)

Functions

static av_always_inline void idct (uint8_t *dst, int stride, int16_t *input, int type)
static void vp3_idct_put_c (uint8_t *dest, int line_size, DCTELEM *block)
static void vp3_idct_add_c (uint8_t *dest, int line_size, DCTELEM *block)
static void vp3_idct_dc_add_c (uint8_t *dest, int line_size, const DCTELEM *block)
static void vp3_v_loop_filter_c (uint8_t *first_pixel, int stride, int *bounding_values)
static void vp3_h_loop_filter_c (uint8_t *first_pixel, int stride, int *bounding_values)
av_cold void ff_vp3dsp_init (VP3DSPContext *c, int flags)


Detailed Description

Standard C DSP-oriented functions cribbed from the original VP3 source code.

Definition in file vp3dsp.c.


Define Documentation

#define IdctAdjustBeforeShift   8

Definition at line 33 of file vp3dsp.c.

Referenced by idct().

#define M ( a,
 )     (((a) * (b))>>16)

Definition at line 42 of file vp3dsp.c.

Referenced by idct(), and search_for_ms().

#define xC1S7   64277

Definition at line 34 of file vp3dsp.c.

Referenced by idct().

#define xC2S6   60547

Definition at line 35 of file vp3dsp.c.

Referenced by idct().

#define xC3S5   54491

Definition at line 36 of file vp3dsp.c.

Referenced by idct().

#define xC4S4   46341

Definition at line 37 of file vp3dsp.c.

Referenced by idct().

#define xC5S3   36410

Definition at line 38 of file vp3dsp.c.

Referenced by idct().

#define xC6S2   25080

Definition at line 39 of file vp3dsp.c.

Referenced by idct().

#define xC7S1   12785

Definition at line 40 of file vp3dsp.c.

Referenced by idct().


Function Documentation

av_cold void ff_vp3dsp_init ( VP3DSPContext c,
int  flags 
)

Definition at line 274 of file vp3dsp.c.

Referenced by ff_vp56_init_context(), and vp3_decode_init().

static av_always_inline void idct ( uint8_t dst,
int  stride,
int16_t input,
int  type 
) [static]

Definition at line 44 of file vp3dsp.c.

static void vp3_h_loop_filter_c ( uint8_t first_pixel,
int  stride,
int bounding_values 
) [static]

Definition at line 258 of file vp3dsp.c.

Referenced by ff_vp3dsp_init().

static void vp3_idct_add_c ( uint8_t dest,
int  line_size,
DCTELEM block 
) [static]

Definition at line 220 of file vp3dsp.c.

Referenced by ff_vp3dsp_init().

static void vp3_idct_dc_add_c ( uint8_t dest,
int  line_size,
const DCTELEM block 
) [static]

Definition at line 224 of file vp3dsp.c.

Referenced by ff_vp3dsp_init().

static void vp3_idct_put_c ( uint8_t dest,
int  line_size,
DCTELEM block 
) [static]

Definition at line 216 of file vp3dsp.c.

Referenced by ff_vp3dsp_init().

static void vp3_v_loop_filter_c ( uint8_t first_pixel,
int  stride,
int bounding_values 
) [static]

Definition at line 241 of file vp3dsp.c.

Referenced by ff_vp3dsp_init().


Generated on Fri Oct 26 02:50:08 2012 for FFmpeg by  doxygen 1.5.8