H264Context Struct Reference

Collaboration diagram for H264Context:

Collaboration graph
[legend]

Data Fields

MpegEncContext s
int nal_ref_idc
int nal_unit_type
uint8_t * rbsp_buffer
int rbsp_buffer_size
int is_avc
 this flag is != 0 if codec is avc1
int got_avcC
 flag used to parse avcC data only once
int nal_length_size
 Number of bytes used for nal length (1, 2 or 4).
int chroma_qp
int prev_mb_skipped
int chroma_pred_mode
int intra16x16_pred_mode
int top_mb_xy
int left_mb_xy [2]
int8_t intra4x4_pred_mode_cache [5 *8]
int8_t(* intra4x4_pred_mode )[8]
void(* pred4x4 [9+3])(uint8_t *src, uint8_t *topright, int stride)
void(* pred8x8l [9+3])(uint8_t *src, int topleft, int topright, int stride)
void(* pred8x8 [4+3])(uint8_t *src, int stride)
void(* pred16x16 [4+3])(uint8_t *src, int stride)
unsigned int topleft_samples_available
unsigned int top_samples_available
unsigned int topright_samples_available
unsigned int left_samples_available
uint8_t(*[2] top_borders )[16+2 *8]
uint8_t left_border [2 *(17+2 *9)]
uint8_t non_zero_count_cache[6 *8] __align8
uint8_t(* non_zero_count )[16]
int16_t mv_cache[2][5 *8][2] __align8
int8_t ref_cache[2][5 *8] __align8
int mv_cache_clean [2]
int neighbor_transform_size
int block_offset [2 *(16+8)]
uint32_t * mb2b_xy
uint32_t * mb2b8_xy
int b_stride
int b8_stride
int halfpel_flag
int thirdpel_flag
int unknown_svq3_flag
int next_slice_index
SPS sps_buffer [MAX_SPS_COUNT]
SPS sps
 current sps
PPS pps_buffer [MAX_PPS_COUNT]
PPS pps
uint16_t(* dequant4_coeff )[16]
uint16_t(* dequant8_coeff )[64]
int slice_num
uint8_t * slice_table_base
uint8_t * slice_table
 slice_table_base + mb_stride + 1
int slice_type
int slice_type_fixed
int mb_aff_frame
int mb_field_decoding_flag
int sub_mb_type [4]
int poc_lsb
int poc_msb
int delta_poc_bottom
int delta_poc [2]
int frame_num
int prev_poc_msb
 poc_msb of the last reference pic for POC type 0
int prev_poc_lsb
 poc_lsb of the last reference pic for POC type 0
int frame_num_offset
 for POC type 2
int prev_frame_num_offset
 for POC type 2
int prev_frame_num
 frame_num of the last pic for POC type 1/2
int curr_pic_num
int max_pic_num
int use_weight
int use_weight_chroma
int luma_log2_weight_denom
int chroma_log2_weight_denom
int luma_weight [2][16]
int luma_offset [2][16]
int chroma_weight [2][16][2]
int chroma_offset [2][16][2]
int implicit_weight [16][16]
int deblocking_filter
 disable_deblocking_filter_idc with 1<->0
int slice_alpha_c0_offset
int slice_beta_offset
int redundant_pic_count
int direct_spatial_mv_pred
int dist_scale_factor [16]
int map_col_to_list0 [2][16]
int ref_count [2]
Pictureshort_ref [32]
Picturelong_ref [32]
Picture default_ref_list [2][32]
Picture ref_list [2][32]
Picture field_ref_list [2][32]
Picturedelayed_pic [16]
Picturedelayed_output_pic
MMCO mmco [MAX_MMCO_COUNT]
int mmco_index
int long_ref_count
 number of actual long term references
int short_ref_count
 number of actual short term references
GetBitContext intra_gb
GetBitContext inter_gb
GetBitContextintra_gb_ptr
GetBitContextinter_gb_ptr
DCTELEM mb[16 *24] __align8
CABACContext cabac
uint8_t cabac_state [460]
int cabac_init_idc
uint16_t * cbp_table
int top_cbp
int left_cbp
uint8_t * chroma_pred_mode_table
int last_qscale_diff
int16_t(*[2] mvd_table )[2]
int16_t mvd_cache[2][5 *8][2] __align8
uint8_t * direct_table
uint8_t direct_cache [5 *8]
uint8_t zigzag_scan [16]
uint8_t field_scan [16]
const uint8_t * zigzag_scan_q0
const uint8_t * field_scan_q0

Detailed Description

H264Context

Definition at line 141 of file h264.c.


Field Documentation

Definition at line 142 of file h264.c.

Referenced by alloc_tables(), backup_mb_border(), backup_pair_border(), check_intra4x4_pred_mode(), check_intra_pred_mode(), common_init(), compute_mb_neighboors(), decode_cabac_field_decoding_flag(), decode_cabac_intra_mb_type(), decode_cabac_mb_cbp_luma(), decode_cabac_mb_dqp(), decode_cabac_mb_skip(), decode_cabac_mb_type(), decode_cabac_residual(), decode_end(), decode_frame(), decode_hrd_parameters(), decode_init(), decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), decode_nal_units(), decode_picture_parameter_set(), decode_ref_pic_list_reordering(), decode_ref_pic_marking(), decode_residual(), decode_seq_parameter_set(), decode_slice(), decode_slice_header(), decode_vui_parameters(), direct_dist_scale_factor(), direct_ref_list_init(), execute_ref_pic_marking(), fill_caches(), fill_default_ref_list(), filter_mb(), filter_mb_edgech(), filter_mb_edgecv(), filter_mb_edgeh(), filter_mb_edgev(), find_frame_end(), flush_dpb(), frame_start(), free_tables(), h264_parse(), hl_decode_mb(), hl_motion(), implicit_weight_table(), init_poc(), mc_dir_part(), mc_part_std(), mc_part_weighted(), pred_16x8_motion(), pred_8x16_motion(), pred_direct_motion(), pred_motion(), pred_pskip_motion(), pred_weight_table(), print_long_term(), print_short_term(), remove_short(), svq3_decode_frame(), svq3_decode_mb(), svq3_decode_slice_header(), svq3_mc_dir(), write_back_intra_pred_mode(), write_back_motion(), write_back_non_zero_count(), xchg_mb_border(), and xchg_pair_border().

Definition at line 143 of file h264.c.

Referenced by decode_nal(), decode_nal_units(), decode_slice_header(), and init_poc().

Definition at line 155 of file h264.c.

Referenced by decode_nal().

Definition at line 156 of file h264.c.

Referenced by decode_nal().

this flag is != 0 if codec is avc1

Used to parse AVC variant of h264

Definition at line 161 of file h264.c.

Referenced by decode_frame(), decode_init(), and decode_nal_units().

flag used to parse avcC data only once

Definition at line 162 of file h264.c.

Referenced by decode_frame(), and decode_init().

Number of bytes used for nal length (1, 2 or 4).

Definition at line 163 of file h264.c.

Referenced by decode_frame(), and decode_nal_units().

Definition at line 167 of file h264.c.

Referenced by decode_mb_cabac(), decode_mb_cavlc(), and decode_mb_skip().

Definition at line 170 of file h264.c.

Referenced by decode_mb_cabac(), decode_mb_cavlc(), hl_decode_mb(), and svq3_decode_mb().

Definition at line 171 of file h264.c.

Referenced by decode_mb_cabac(), decode_mb_cavlc(), hl_decode_mb(), and svq3_decode_mb().

void(* H264Context::pred4x4[9+3])(uint8_t *src, uint8_t *topright, int stride)

void(* H264Context::pred8x8l[9+3])(uint8_t *src, int topleft, int topright, int stride)

Referenced by hl_decode_mb(), and init_pred_ptrs().

void(* H264Context::pred8x8[4+3])(uint8_t *src, int stride)

Referenced by hl_decode_mb(), and init_pred_ptrs().

void(* H264Context::pred16x16[4+3])(uint8_t *src, int stride)

Definition at line 182 of file h264.c.

Referenced by fill_caches(), and hl_decode_mb().

Definition at line 184 of file h264.c.

Referenced by fill_caches(), hl_decode_mb(), and svq3_decode_mb().

uint8_t(*[2] H264Context::top_borders)[16+2 *8]

uint8_t H264Context::left_border[2 *(17+2 *9)]

Definition at line 187 of file h264.c.

Referenced by backup_mb_border(), backup_pair_border(), xchg_mb_border(), and xchg_pair_border().

uint8_t non_zero_count_cache [6*8] H264Context::__align8

non zero coeff count cache. is 64 if not available.

Definition at line 193 of file h264.c.

int16_t mv_cache [2][5*8][2] H264Context::__align8

Motion vector cache.

Definition at line 199 of file h264.c.

int8_t ref_cache [2][5*8] H264Context::__align8

Definition at line 200 of file h264.c.

is 1 if the specific list MV&references are set to 0,0,-2.

Definition at line 207 of file h264.c.

Referenced by fill_caches().

number of neighbors (top and/or left) that used 8x8 dct

Definition at line 212 of file h264.c.

Referenced by decode_cabac_mb_transform_size(), and fill_caches().

int H264Context::block_offset[2 *(16+8)]

block_offset[ 0..23] for frame macroblocks block_offset[24..47] for field macroblocks

Definition at line 218 of file h264.c.

Referenced by frame_start(), and hl_decode_mb().

Definition at line 220 of file h264.c.

Referenced by alloc_tables(), fill_caches(), and free_tables().

Definition at line 221 of file h264.c.

Referenced by alloc_tables(), fill_caches(), and free_tables().

Definition at line 225 of file h264.c.

Referenced by svq3_decode_frame(), and svq3_decode_mb().

Definition at line 226 of file h264.c.

Referenced by svq3_decode_frame(), and svq3_decode_mb().

Definition at line 228 of file h264.c.

Referenced by svq3_decode_frame(), and svq3_decode_slice_header().

Definition at line 229 of file h264.c.

Referenced by svq3_decode_frame(), and svq3_decode_slice_header().

SPS H264Context::sps_buffer[MAX_SPS_COUNT]

Definition at line 231 of file h264.c.

Referenced by decode_seq_parameter_set(), and decode_slice_header().

PPS H264Context::pps_buffer[MAX_PPS_COUNT]

Definition at line 234 of file h264.c.

Referenced by decode_picture_parameter_set(), and decode_slice_header().

uint16_t(* H264Context::dequant4_coeff)[16]

Definition at line 240 of file h264.c.

Referenced by alloc_tables(), decode_mb_cabac(), decode_mb_cavlc(), and free_tables().

uint16_t(* H264Context::dequant8_coeff)[64]

Definition at line 241 of file h264.c.

Referenced by alloc_tables(), decode_mb_cabac(), decode_mb_cavlc(), and free_tables().

Definition at line 244 of file h264.c.

Referenced by alloc_tables(), and free_tables().

Definition at line 247 of file h264.c.

Referenced by decode_slice_header().

Definition at line 256 of file h264.c.

Referenced by decode_nal_units(), decode_slice_header(), and init_poc().

Definition at line 257 of file h264.c.

Referenced by decode_nal_units(), and init_poc().

Definition at line 258 of file h264.c.

Referenced by decode_slice_header(), and init_poc().

Definition at line 259 of file h264.c.

Referenced by decode_slice_header(), and init_poc().

poc_msb of the last reference pic for POC type 0

Definition at line 261 of file h264.c.

Referenced by decode_nal_units(), and init_poc().

poc_lsb of the last reference pic for POC type 0

Definition at line 262 of file h264.c.

Referenced by decode_nal_units(), and init_poc().

for POC type 2

Definition at line 263 of file h264.c.

Referenced by decode_nal_units(), init_poc(), svq3_decode_frame(), and svq3_mc_dir().

for POC type 2

Definition at line 264 of file h264.c.

Referenced by decode_nal_units(), init_poc(), svq3_decode_frame(), and svq3_mc_dir().

frame_num of the last pic for POC type 1/2

Definition at line 265 of file h264.c.

Referenced by decode_nal_units(), init_poc(), and svq3_decode_frame().

frame_num for frames or 2*frame_num for field pics.

Definition at line 270 of file h264.c.

Referenced by decode_ref_pic_list_reordering(), and decode_slice_header().

max_frame_num or 2*max_frame_num for field pics.

Definition at line 275 of file h264.c.

Referenced by decode_ref_pic_list_reordering(), and decode_slice_header().

Definition at line 280 of file h264.c.

Referenced by implicit_weight_table(), mc_part_weighted(), and pred_weight_table().

Definition at line 281 of file h264.c.

Referenced by implicit_weight_table(), mc_part_weighted(), and pred_weight_table().

Definition at line 282 of file h264.c.

Referenced by mc_part_weighted(), and pred_weight_table().

Definition at line 283 of file h264.c.

Referenced by mc_part_weighted(), and pred_weight_table().

Definition at line 284 of file h264.c.

Referenced by mc_part_weighted(), and pred_weight_table().

Definition at line 285 of file h264.c.

Referenced by mc_part_weighted(), and pred_weight_table().

Definition at line 286 of file h264.c.

Referenced by implicit_weight_table(), mc_part(), and mc_part_weighted().

disable_deblocking_filter_idc with 1<->0

Definition at line 289 of file h264.c.

Referenced by decode_slice_header(), fill_caches(), filter_mb(), and hl_decode_mb().

Definition at line 293 of file h264.c.

Referenced by decode_nal_units(), and decode_slice_header().

Definition at line 296 of file h264.c.

Referenced by direct_dist_scale_factor(), and pred_direct_motion().

Definition at line 297 of file h264.c.

Referenced by direct_ref_list_init(), and pred_direct_motion().

Definition at line 305 of file h264.c.

Referenced by decode_ref_pic_list_reordering(), and fill_default_ref_list().

Definition at line 307 of file h264.c.

Definition at line 308 of file h264.c.

Referenced by decode_frame(), flush_dpb(), and unreference_pic().

Definition at line 309 of file h264.c.

Referenced by decode_frame(), flush_dpb(), and unreference_pic().

MMCO H264Context::mmco[MAX_MMCO_COUNT]

memory management control operations buffer.

Definition at line 314 of file h264.c.

Referenced by decode_nal_units(), decode_ref_pic_marking(), and execute_ref_pic_marking().

Definition at line 315 of file h264.c.

Referenced by decode_nal_units(), and decode_ref_pic_marking().

number of actual long term references

Definition at line 317 of file h264.c.

Referenced by decode_ref_pic_marking(), execute_ref_pic_marking(), idr(), and remove_long().

number of actual short term references

Definition at line 318 of file h264.c.

Referenced by decode_ref_pic_list_reordering(), decode_ref_pic_marking(), execute_ref_pic_marking(), fill_default_ref_list(), idr(), print_short_term(), and remove_short().

Definition at line 321 of file h264.c.

Referenced by decode_nal_units().

Definition at line 322 of file h264.c.

Referenced by decode_nal_units().

Definition at line 323 of file h264.c.

Referenced by decode_mb_cavlc(), and decode_nal_units().

Definition at line 324 of file h264.c.

Referenced by decode_mb_cavlc(), and decode_nal_units().

Definition at line 326 of file h264.c.

Definition at line 333 of file h264.c.

Referenced by decode_slice(), and decode_slice_header().

Definition at line 337 of file h264.c.

Referenced by decode_cabac_mb_cbp_luma(), and fill_caches().

Definition at line 341 of file h264.c.

Referenced by decode_cabac_mb_dqp(), decode_mb_cabac(), and decode_slice_header().

int16_t(*[2] H264Context::mvd_table)[2]

Definition at line 342 of file h264.c.

Referenced by alloc_tables(), fill_caches(), free_tables(), and write_back_motion().

int16_t mvd_cache [2][5*8][2] H264Context::__align8

Definition at line 343 of file h264.c.

Definition at line 344 of file h264.c.

Referenced by alloc_tables(), fill_caches(), free_tables(), and write_back_motion().

Definition at line 345 of file h264.c.

Referenced by decode_cabac_mb_ref(), decode_mb_cabac(), and fill_caches().

Definition at line 347 of file h264.c.

Referenced by decode_mb_cabac(), decode_mb_cavlc(), and decode_slice_header().

Definition at line 348 of file h264.c.

Referenced by decode_mb_cabac(), decode_mb_cavlc(), and decode_slice_header().

Definition at line 349 of file h264.c.

Referenced by decode_mb_cabac(), decode_mb_cavlc(), and decode_slice_header().

Definition at line 350 of file h264.c.

Referenced by decode_mb_cabac(), decode_mb_cavlc(), and decode_slice_header().


The documentation for this struct was generated from the following file:

Generated on Mon Apr 28 14:27:34 2008 for Cinelerra by  doxygen 1.5.5