libavcodec/h264pred.c File Reference

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

#include "libavutil/avassert.h"
#include "h264pred.h"
#include "h264pred_template.c"

Go to the source code of this file.

Defines

#define BIT_DEPTH   8
#define BIT_DEPTH   9
#define BIT_DEPTH   10
#define BIT_DEPTH   12
#define BIT_DEPTH   14
#define FUNC(a, depth)   a ## _ ## depth
#define FUNCC(a, depth)   a ## _ ## depth ## _c
#define FUNCD(a)   a ## _c
#define H264_PRED(depth)

Functions

static void pred4x4_vertical_vp8_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_horizontal_vp8_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_down_left_svq3_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_down_left_rv40_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_down_left_rv40_nodown_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_vertical_left_rv40 (uint8_t *src, const uint8_t *topright, int stride, const int l0, const int l1, const int l2, const int l3, const int l4)
static void pred4x4_vertical_left_rv40_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_vertical_left_rv40_nodown_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_vertical_left_vp8_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_horizontal_up_rv40_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_horizontal_up_rv40_nodown_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred4x4_tm_vp8_c (uint8_t *src, const uint8_t *topright, int stride)
static void pred16x16_plane_svq3_c (uint8_t *src, int stride)
static void pred16x16_plane_rv40_c (uint8_t *src, int stride)
static void pred16x16_tm_vp8_c (uint8_t *src, int stride)
static void pred8x8_left_dc_rv40_c (uint8_t *src, int stride)
static void pred8x8_top_dc_rv40_c (uint8_t *src, int stride)
static void pred8x8_dc_rv40_c (uint8_t *src, int stride)
static void pred8x8_tm_vp8_c (uint8_t *src, int stride)
void ff_h264_pred_init (H264PredContext *h, int codec_id, const int bit_depth, const int chroma_format_idc)
 Set the intra prediction function pointers.


Detailed Description

H.264 / AVC / MPEG4 part10 prediction functions.

Author:
Michael Niedermayer <michaelni@gmx.at>

Definition in file h264pred.c.


Define Documentation

#define BIT_DEPTH   14

Definition at line 47 of file h264pred.c.

#define BIT_DEPTH   12

Definition at line 47 of file h264pred.c.

#define BIT_DEPTH   10

Definition at line 47 of file h264pred.c.

#define BIT_DEPTH   9

Definition at line 47 of file h264pred.c.

#define BIT_DEPTH   8

Definition at line 47 of file h264pred.c.

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

#define FUNCC ( a,
depth   )     a ## _ ## depth ## _c

#define FUNCD (  )     a ## _c

#define H264_PRED ( depth   ) 

Referenced by ff_h264_pred_init().


Function Documentation

void ff_h264_pred_init ( H264PredContext h,
int  codec_id,
const int  bit_depth,
const int  chroma_format_idc 
)

Set the intra prediction function pointers.

Definition at line 373 of file h264pred.c.

Referenced by clone_tables(), common_init(), decode_slice_header(), ff_rv34_decode_init(), and vp8_decode_init().

static void pred16x16_plane_rv40_c ( uint8_t src,
int  stride 
) [static]

Definition at line 269 of file h264pred.c.

static void pred16x16_plane_svq3_c ( uint8_t src,
int  stride 
) [static]

Definition at line 265 of file h264pred.c.

static void pred16x16_tm_vp8_c ( uint8_t src,
int  stride 
) [static]

Definition at line 273 of file h264pred.c.

static void pred4x4_down_left_rv40_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 98 of file h264pred.c.

static void pred4x4_down_left_rv40_nodown_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 122 of file h264pred.c.

static void pred4x4_down_left_svq3_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 76 of file h264pred.c.

static void pred4x4_horizontal_up_rv40_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 203 of file h264pred.c.

static void pred4x4_horizontal_up_rv40_nodown_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 227 of file h264pred.c.

static void pred4x4_horizontal_vp8_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 66 of file h264pred.c.

static void pred4x4_tm_vp8_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 250 of file h264pred.c.

static void pred4x4_vertical_left_rv40 ( uint8_t src,
const uint8_t topright,
int  stride,
const int  l0,
const int  l1,
const int  l2,
const int  l3,
const int  l4 
) [static]

static void pred4x4_vertical_left_rv40_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 168 of file h264pred.c.

static void pred4x4_vertical_left_rv40_nodown_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 175 of file h264pred.c.

static void pred4x4_vertical_left_vp8_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 181 of file h264pred.c.

static void pred4x4_vertical_vp8_c ( uint8_t src,
const uint8_t topright,
int  stride 
) [static]

Definition at line 51 of file h264pred.c.

static void pred8x8_dc_rv40_c ( uint8_t src,
int  stride 
) [static]

Definition at line 330 of file h264pred.c.

static void pred8x8_left_dc_rv40_c ( uint8_t src,
int  stride 
) [static]

Definition at line 300 of file h264pred.c.

static void pred8x8_tm_vp8_c ( uint8_t src,
int  stride 
) [static]

Definition at line 351 of file h264pred.c.

static void pred8x8_top_dc_rv40_c ( uint8_t src,
int  stride 
) [static]

Definition at line 315 of file h264pred.c.


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