FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
h264dsp.c File Reference

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

#include <stdint.h>
#include "libavutil/attributes.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"

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

static int h264_find_start_code_candidate_c (const uint8_t *buf, int size)
 
av_cold 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 BIT_DEPTH   8

Definition at line 62 of file h264dsp.c.

#define BIT_DEPTH   9

Definition at line 62 of file h264dsp.c.

#define BIT_DEPTH   10

Definition at line 62 of file h264dsp.c.

#define BIT_DEPTH   12

Definition at line 62 of file h264dsp.c.

#define BIT_DEPTH   14

Definition at line 62 of file h264dsp.c.

#define BIT_DEPTH   8

Definition at line 62 of file h264dsp.c.

#define BIT_DEPTH   16

Definition at line 62 of file h264dsp.c.

#define FUNC (   a,
  depth 
)    a ## _ ## depth ## _c
#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)

Referenced by ff_h264dsp_init().

#define H264_DSP (   depth)

Referenced by ff_h264dsp_init().

Function Documentation

static int h264_find_start_code_candidate_c ( const uint8_t buf,
int  size 
)
static

Definition at line 66 of file h264dsp.c.

Referenced by ff_h264dsp_init().

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

Definition at line 94 of file h264dsp.c.

Referenced by ff_h264_decode_init(), h264_set_parameter_from_sps(), and init().