libavcodec/h264_direct.c File Reference

H.264 / AVC / MPEG4 part10 direct mb/block decoding. More...

#include "internal.h"
#include "dsputil.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "h264.h"
#include "rectangle.h"
#include "thread.h"
#include <assert.h>

Go to the source code of this file.

Defines

#define MB_TYPE_16x16_OR_INTRA   (MB_TYPE_16x16|MB_TYPE_INTRA4x4|MB_TYPE_INTRA16x16|MB_TYPE_INTRA_PCM)

Functions

static int get_scale_factor (H264Context *const h, int poc, int poc1, int i)
void ff_h264_direct_dist_scale_factor (H264Context *const h)
static void fill_colmap (H264Context *h, int map[2][16+32], int list, int field, int colfield, int mbafi)
void ff_h264_direct_ref_list_init (H264Context *const h)
static void await_reference_mb_row (H264Context *const h, Picture *ref, int mb_y)
static void pred_spatial_direct_motion (H264Context *const h, int *mb_type)
static void pred_temp_direct_motion (H264Context *const h, int *mb_type)
void ff_h264_pred_direct_motion (H264Context *const h, int *mb_type)


Detailed Description

H.264 / AVC / MPEG4 part10 direct mb/block decoding.

Author:
Michael Niedermayer <michaelni@gmx.at>

Definition in file h264_direct.c.


Define Documentation

#define MB_TYPE_16x16_OR_INTRA   (MB_TYPE_16x16|MB_TYPE_INTRA4x4|MB_TYPE_INTRA16x16|MB_TYPE_INTRA_PCM)


Function Documentation

static void await_reference_mb_row ( H264Context *const   h,
Picture ref,
int  mb_y 
) [static]

Definition at line 145 of file h264_direct.c.

Referenced by pred_spatial_direct_motion(), and pred_temp_direct_motion().

void ff_h264_direct_dist_scale_factor ( H264Context *const   h  ) 

Definition at line 52 of file h264_direct.c.

Referenced by decode_slice_header().

void ff_h264_direct_ref_list_init ( H264Context *const   h  ) 

Definition at line 103 of file h264_direct.c.

Referenced by decode_slice_header().

void ff_h264_pred_direct_motion ( H264Context *const   h,
int *  mb_type 
)

Definition at line 620 of file h264_direct.c.

Referenced by decode_mb_skip(), ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().

static void fill_colmap ( H264Context h,
int  map[2][16+32],
int  list,
int  field,
int  colfield,
int  mbafi 
) [static]

Definition at line 69 of file h264_direct.c.

Referenced by ff_h264_direct_ref_list_init().

static int get_scale_factor ( H264Context *const   h,
int  poc,
int  poc1,
int  i 
) [static]

Definition at line 40 of file h264_direct.c.

Referenced by ff_h264_direct_dist_scale_factor().

static void pred_spatial_direct_motion ( H264Context *const   h,
int *  mb_type 
) [static]

Definition at line 161 of file h264_direct.c.

Referenced by ff_h264_pred_direct_motion().

static void pred_temp_direct_motion ( H264Context *const   h,
int *  mb_type 
) [static]

Definition at line 412 of file h264_direct.c.

Referenced by ff_h264_pred_direct_motion().


Generated on Fri Oct 26 02:43:47 2012 for FFmpeg by  doxygen 1.5.8