h264dsp.c File Reference

H.264 / AVC / MPEG4 part10 DSP functions. More...

#include <stdint.h>
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "h264dsp.h"
#include "h264idct.h"
#include "libavutil/common.h"
#include "h264dsp_template.c"
#include "h264addpx_template.c"
Include dependency graph for h264dsp.c:

Go to the source code of this file.

Macros

#define BIT_DEPTH   8
 
#define BIT_DEPTH   9
 
#define BIT_DEPTH   10
 
#define BIT_DEPTH   12
 
#define BIT_DEPTH   14
 
#define BIT_DEPTH   8
 
#define BIT_DEPTH   16
 
#define FUNC(a, depth)   a ## _ ## depth ## _c
 
#define ADDPX_DSP(depth)
 
#define H264_DSP(depth)
 

Functions

void ff_h264dsp_init (H264DSPContext *c, const int bit_depth, const int chroma_format_idc)
 

Detailed Description

H.264 / AVC / MPEG4 part10 DSP functions.

Author
Michael Niedermayer micha.nosp@m.elni.nosp@m.@gmx..nosp@m.at

Definition in file h264dsp.c.

Macro Definition Documentation

#define ADDPX_DSP (   depth)
Value:
c->h264_add_pixels4_clear = FUNC(ff_h264_add_pixels4, depth);\
c->h264_add_pixels8_clear = FUNC(ff_h264_add_pixels8, depth)
int depth
Definition: v4l.c:62
static void FUNCC() ff_h264_add_pixels4(uint8_t *_dst, int16_t *_src, int stride)
static void FUNCC() ff_h264_add_pixels8(uint8_t *_dst, int16_t *_src, int stride)
static double c[64]
#define FUNC(a, depth)

Referenced by ff_h264dsp_init().

#define BIT_DEPTH   8

Definition at line 59 of file h264dsp.c.

#define BIT_DEPTH   9

Definition at line 59 of file h264dsp.c.

#define BIT_DEPTH   10

Definition at line 59 of file h264dsp.c.

#define BIT_DEPTH   12

Definition at line 59 of file h264dsp.c.

#define BIT_DEPTH   14

Definition at line 59 of file h264dsp.c.

#define BIT_DEPTH   8

Definition at line 59 of file h264dsp.c.

#define BIT_DEPTH   16

Definition at line 59 of file h264dsp.c.

#define FUNC (   a,
  depth 
)    a ## _ ## depth ## _c
#define H264_DSP (   depth)

Referenced by ff_h264dsp_init().

Function Documentation

void ff_h264dsp_init ( H264DSPContext c,
const int  bit_depth,
const int  chroma_format_idc 
)

Definition at line 63 of file h264dsp.c.

Referenced by ff_h264_decode_init(), and h264_set_parameter_from_sps().