macroblock Struct Reference

Macroblock. More...

#include <global.h>

Collaboration diagram for macroblock:

Collaboration graph
[legend]

Data Fields

struct slicep_slice
struct img_parp_Img
InputParametersp_Inp
int mbAddrX
short mb_type
short slice_nr
short mb_x
short mb_y
short block_x
short block_y
short pix_x
short pix_y
short pix_c_x
short pix_c_y
short opix_y
short opix_c_y
short subblock_x
short subblock_y
short list_offset
int mbAddrA
int mbAddrB
int mbAddrC
int mbAddrD
byte mbAvailA
byte mbAvailB
byte mbAvailC
byte mbAvailD
short qp
short qpc [2]
short qp_scaled [MAX_PLANE]
short qpsp
int cbp
short prev_qp
short prev_dqp
int prev_cbp
int cr_cbp [3]
int c_nzCbCr [3]
short i16offset
BitCounter bits
short ar_mode
short mvd [2][BLOCK_MULTIPLE][BLOCK_MULTIPLE][2]
char c_ipred_mode
char i16mode
Info8x8 b8x8 [4]
imgpel intra4x4_pred [3][17]
imgpel intra8x8_pred [3][25]
char IntraChromaPredModeFlag
byte mb_field
byte is_field_mode
byte luma_transform_size_8x8_flag
byte temp_transform_size_8x8_flag
byte NoMbPartLessThan8x8Flag
byte valid_8x8
byte write_mb
byte is_intra_block
char DFDisableIdc
char DFAlphaC0Offset
char DFBetaOffset
int skip_flag
char intra_pred_modes [MB_BLOCK_PARTITIONS]
char intra_pred_modes8x8 [MB_BLOCK_PARTITIONS]
int64 cbp_blk
int64 cbp_bits [3]
int64 cbp_bits_8x8 [3]
double min_rdcost
double min_dcost
double min_rate
short best_mode
char best_c_imode
short best_i16offset
int best_cbp
short ipmode_DPCM
struct macroblockmb_up
struct macroblockmb_left
struct macroblockPrevMB
void(* GetMVPredictor )(struct macroblock *currMB, PixelPos *block, short pmv[2], short ref_frame, char **refPic, short ***tmp_mv, int mb_x, int mb_y, int blockshape_x, int blockshape_y)
int(* IntPelME )(struct macroblock *currMB, MotionVector *, struct me_block *mv_block, int, int)
int(* BiPredME )(struct macroblock *currMB, int, MotionVector *, MotionVector *, MotionVector *, MotionVector *, struct me_block *, int, int, int)
int(* SubPelBiPredME )(struct macroblock *currMB, struct me_block *, int list, MotionVector *pred_mv1, MotionVector *pred_mv2, MotionVector *mv1, MotionVector *mv2, int min_mcost, int *lambda_factor)
int(* SubPelME )(struct macroblock *currMB, MotionVector *pred_mv, struct me_block *mv_block, int min_mcost, int *lambda_factor)
int(* trans_4x4 )(struct macroblock *currMB, ColorPlane pl, int block_x, int block_y, int *coeff_cost, int intra)
int(* trans_16x16 )(struct macroblock *currMB, ColorPlane pl)
int(* trans_8x8 )(struct macroblock *currMB, ColorPlane pl, int b8, int *coeff_cost, int intra)
int(* trans_cr_4x4 [2])(struct macroblock *currMB, int uv, int i11)
void(* cbp_linfo_intra )(int cbp, int dummy, int *len, int *info)
void(* cbp_linfo_inter )(int cbp, int dummy, int *len, int *info)

Detailed Description

Macroblock.

Definition at line 283 of file global.h.


Field Documentation

short ar_mode

short block_x

short block_y

int64 cbp_blk

imgpel intra4x4_pred[3][17]

4x4 Intra prediction samples

Definition at line 335 of file global.h.

Referenced by get_intrapred_4x4(), and set_intrapred_4x4().

imgpel intra8x8_pred[3][25]

8x8 Intra prediction samples

Definition at line 336 of file global.h.

Referenced by get_intrapred_8x8(), and set_intrapred_8x8().

char intra_pred_modes8x8[MB_BLOCK_PARTITIONS]

struct macroblock* mb_left [read]

short mb_type

struct macroblock* mb_up [read]

short mb_x

short mb_y

int mbAddrX

short mvd[2][BLOCK_MULTIPLE][BLOCK_MULTIPLE][2]

indices correspond to [list][block_y][block_x][x,y]

Definition at line 329 of file global.h.

Referenced by reset_coding_state_cabac(), reset_coding_state_cavlc(), reset_macroblock(), store_coding_state_cabac(), store_coding_state_cavlc(), writeMotionVector8x8(), and writeMVD_CABAC().

short opix_c_y

short opix_y

struct img_par* p_Img [read]

pointer to ImageParameters

Definition at line 286 of file global.h.

Referenced by add_residue(), BIDPartitionCost(), BiPredBlockMotionSearch(), BlockMotionSearch(), BPredPartitionCost(), CheckAvailabilityOfNeighbors(), CheckAvailabilityOfNeighborsCABAC(), CheckReliabilityOfRef(), chroma_prediction(), chroma_prediction_4x4(), compute_mode_RD_cost(), copy_rdopt_data(), dct_4x4_sp(), dct_8x8(), dct_8x8_cavlc(), decode_one_mb(), distortionSSE(), EdgeLoopChromaMBAff(), EdgeLoopChromaNormal(), EdgeLoopLumaMBAff(), EdgeLoopLumaNormal(), encode_one_macroblock_high(), encode_one_macroblock_highfast(), encode_one_macroblock_highloss(), encode_one_macroblock_low(), end_encode_one_macroblock(), end_macroblock(), EPZSBiPredBlockMotionSearch(), EPZSIntBiPredBlockMotionSearch(), EPZSIntPelBlockMotionSearch(), EPZSIntPelBlockMotionSearchSubMB(), EPZSPelBlockMotionSearch(), EPZSPelBlockMotionSearchSubMB(), EPZSSubPelBlockMotionSearch(), EPZSSubPelBlockSearchBiPred(), est_RunLevel_CAVLC(), est_write_and_store_CBP_block_bit(), est_writeRunLevel_CABAC(), fast_mode_intra_decision(), FastFullPelBlockMotionSearch(), field_flag_inference(), find_sad_16x16_JM(), FindSkipModeMotionVector(), FullPelBlockMotionBiPred(), FullPelBlockMotionSearch(), get4x4Neighbour(), Get_Direct_MV_Spatial_MBAFF(), Get_Direct_MV_Spatial_Normal(), Get_Direct_MV_Temporal(), get_neighbors(), getAffNeighbour(), GetBestTransformP8x8(), GetDirectCost8x8(), GetMotionVectorPredictorMBAFF(), getNonAffNeighbour(), GetSkipCostMB(), GetStrengthMBAff(), GetStrengthNormal(), init_enc_mb_params(), init_mv_block(), init_trellis_data_DC_cr_CABAC(), init_trellis_data_DC_cr_CAVLC(), intra_chroma_RD_decision(), list_prediction_cost(), luma_prediction(), luma_prediction_bi(), luma_residual_coding(), luma_residual_coding_16x16(), luma_residual_coding_p444(), luma_residual_coding_p444_16x16(), mb_is_available(), min_rdcost_16x16(), Mode_Decision_for_4x4IntraBlocks_JM_High(), Mode_Decision_for_4x4IntraBlocks_JM_High444(), Mode_Decision_for_4x4IntraBlocks_JM_Low(), Mode_Decision_for_4x4IntraBlocks_JM_Low444(), Mode_Decision_for_8x8IntraBlocks_JM_High(), Mode_Decision_for_8x8IntraBlocks_JM_High444(), Mode_Decision_for_8x8IntraBlocks_JM_Low(), Mode_Decision_for_8x8IntraBlocks_JM_Low444(), next_macroblock(), OneComponentChromaPrediction4x4_regenerate(), OneComponentChromaPrediction4x4_retrieve(), PartitionMotionSearch(), perform_mc(), perform_mc_concealment(), predict_nnz(), predict_nnz_chroma(), quant_4x4_around(), quant_4x4_normal(), quant_4x4_trellis(), quant_8x8_around(), quant_8x8_normal(), quant_8x8_trellis(), quant_8x8cavlc_around(), quant_8x8cavlc_normal(), quant_8x8cavlc_trellis(), quant_ac4x4_trellis(), quant_dc2x2_around(), quant_dc2x2_normal(), quant_dc2x2_trellis(), quant_dc4x2_around(), quant_dc4x2_normal(), quant_dc4x2_trellis(), quant_dc4x4_around(), quant_dc4x4_normal(), quant_dc4x4_trellis(), rc_handle_mb(), rc_store_mad(), rc_update_mb_stats(), rdcost_for_4x4_intra_blocks(), rdcost_for_4x4_intra_blocks_444(), rdcost_for_8x8_intra_blocks(), rdcost_for_8x8_intra_blocks_444(), RDCost_for_8x8blocks(), RDCost_for_macroblocks(), rdoq_4x4_CABAC(), rdoq_4x4_CAVLC(), rdoq_8x8_CABAC(), rdoq_8x8_CAVLC(), rdoq_ac4x4_CABAC(), rdoq_ac4x4_CAVLC(), rdoq_dc_CABAC(), rdoq_dc_CAVLC(), rdoq_dc_cr_CABAC(), rdoq_dc_cr_CAVLC(), reset_macroblock(), restore_nz_coeff(), set_intrapred_4x4(), set_intrapred_8x8(), set_mbaff_parameters(), set_modes_and_reframe(), set_modes_and_reframe_b_slice(), set_modes_and_reframe_p_slice(), set_ref_and_motion_vectors_B_slice(), set_ref_and_motion_vectors_P_slice(), set_stored_macroblock_parameters(), set_stored_macroblock_parameters_mpass(), set_stored_macroblock_parameters_sp(), SetChromaPredMode(), SetCoeffAndReconstruction8x8(), SetModesAndRefframeForBlocks(), SetMotionVectorsMBBSlice(), SetMotionVectorsMBPSlice(), smpUMHEX_decide_intrabk_SAD(), smpUMHEX_setup(), smpUMHEX_skip_intrabk_SAD(), smpUMHEXBipredIntegerPelBlockMotionSearch(), smpUMHEXFullSubPelBlockMotionSearch(), smpUMHEXIntegerPelBlockMotionSearch(), smpUMHEXSubPelBlockMotionSearch(), store_macroblock_parameters(), submacroblock_mode_decision(), submacroblock_mode_decision_low(), SubPelBlockMotionSearch(), SubPelBlockSearchBiPred(), terminate_slice(), transform_termination_control(), TransformDecision(), UMHEX_decide_intrabk_SAD(), UMHEXBipredIntegerPelBlockMotionSearch(), UMHEXIntegerPelBlockMotionSearch(), UMHEXSetMotionVectorPredictor(), update_offset_params(), update_qp(), update_qp_cbp(), write_and_store_CBP_block_bit(), write_and_store_CBP_block_bit_444(), write_macroblock(), write_significance_map(), writeCBP_BIT_CABAC(), writeCBPandDquant(), writeCoeff16x16_CAVLC(), writeFieldModeInfo_CABAC(), writeIPCMData(), writeMBLayerBSlice(), writeMBLayerPSlice(), writeMotionVector8x8(), writeMVD_CABAC(), and ZeroRef().

struct slice* p_slice [read]

pointer to the current slice

Definition at line 285 of file global.h.

Referenced by BIDPartitionCost(), BiPredBlockMotionSearch(), BlockMotionSearch(), BPredPartitionCost(), CheckReliabilityOfRef(), chroma_prediction(), chroma_prediction_4x4(), chroma_residual_coding(), compute_mode_RD_cost(), copy_rdopt_data(), copyblock_sp(), dct_16x16(), dct_16x16_ls(), dct_4x4(), dct_4x4_ls(), dct_4x4_sp(), dct_4x4_sp2(), dct_8x8(), dct_8x8_cavlc(), dct_chroma(), dct_chroma_ls(), dct_chroma_sp(), dct_chroma_sp2(), decode_one_b8block(), decode_one_mb(), encode_one_macroblock_high(), encode_one_macroblock_highfast(), encode_one_macroblock_highloss(), encode_one_macroblock_low(), end_encode_one_macroblock(), end_macroblock(), EPZSBiPredBlockMotionSearch(), EPZSIntBiPredBlockMotionSearch(), EPZSIntPelBlockMotionSearch(), EPZSIntPelBlockMotionSearchSubMB(), EPZSPelBlockMotionSearch(), EPZSPelBlockMotionSearchSubMB(), EPZSSubPelBlockMotionSearch(), est_CBP_block_bit(), est_significance_map(), est_significant_coefficients(), est_unary_exp_golomb_level_encode(), est_write_and_store_CBP_block_bit(), est_writeRunLevel_CABAC(), find_sad_16x16_JM(), FindSkipModeMotionVector(), FullPelBlockMotionSearch(), get_bipred_cost(), Get_Direct_MV_Spatial_MBAFF(), Get_Direct_MV_Spatial_Normal(), Get_Direct_MV_Temporal(), get_intrapred_4x4(), get_intrapred_8x8(), get_predicted_concealment_mb(), get_predicted_mb(), GetBestTransformP8x8(), GetDirectCost8x8(), GetDirectCostMB(), GetSkipCostMB(), init_enc_mb_params(), init_mv_block(), init_trellis_data_4x4_CABAC(), init_trellis_data_4x4_CAVLC(), init_trellis_data_8x8_CAVLC(), init_trellis_data_DC_CABAC(), init_trellis_data_DC_CAVLC(), init_trellis_data_DC_cr_CABAC(), init_trellis_data_DC_cr_CAVLC(), Intra16x16_Mode_Decision444(), Intra16x16_Mode_Decision_SAD(), intra_chroma_prediction(), intra_chroma_RD_decision(), IntraChromaPrediction4x4(), intrapred_16x16(), list_prediction_cost(), luma_prediction(), luma_prediction_bi(), luma_residual_coding(), luma_residual_coding_16x16(), luma_residual_coding_8x8(), luma_residual_coding_p444(), luma_residual_coding_p444_16x16(), luma_residual_coding_p444_8x8(), MBType2Value(), min_rdcost_16x16(), Mode_Decision_for_4x4IntraBlocks_JM_High(), Mode_Decision_for_4x4IntraBlocks_JM_High444(), Mode_Decision_for_4x4IntraBlocks_JM_Low(), Mode_Decision_for_4x4IntraBlocks_JM_Low444(), Mode_Decision_for_8x8IntraBlocks_JM_High(), Mode_Decision_for_8x8IntraBlocks_JM_High444(), Mode_Decision_for_8x8IntraBlocks_JM_Low(), Mode_Decision_for_8x8IntraBlocks_JM_Low444(), Mode_Decision_for_Intra4x4Macroblock(), Mode_Decision_for_Intra8x8Macroblock(), Mode_Decision_for_IntraSubMBlocks(), next_macroblock(), PartitionMotionSearch(), perform_mc(), perform_mc_concealment(), predict_nnz(), predict_nnz_chroma(), quant_4x4_around(), quant_4x4_normal(), quant_4x4_trellis(), quant_ac4x4_trellis(), quant_dc2x2_around(), quant_dc2x2_normal(), quant_dc2x2_trellis(), quant_dc4x2_around(), quant_dc4x2_normal(), quant_dc4x2_trellis(), quant_dc4x4_around(), quant_dc4x4_normal(), quant_dc4x4_trellis(), rc_store_mad(), rdcost_for_4x4_intra_blocks(), rdcost_for_4x4_intra_blocks_444(), rdcost_for_8x8_intra_blocks(), rdcost_for_8x8_intra_blocks_444(), RDCost_for_8x8blocks(), RDCost_for_macroblocks(), reset_coding_state_cabac(), reset_coding_state_cavlc(), reset_macroblock(), set_mbaff_parameters(), set_modes_and_reframe(), set_ref_and_motion_vectors_B_slice(), set_ref_and_motion_vectors_P_slice(), set_stored_macroblock_parameters(), set_stored_macroblock_parameters_mpass(), set_stored_macroblock_parameters_sp(), SetCoeffAndReconstruction8x8(), SetModesAndRefframeForBlocks(), SetMotionVectorsMBBSlice(), SetMotionVectorsMBPSlice(), SetupFastFullPelSearch(), smpUMHEX_decide_intrabk_SAD(), smpUMHEX_skip_intrabk_SAD(), smpUMHEXFullSubPelBlockMotionSearch(), start_macroblock(), store_coding_state_cabac(), store_coding_state_cavlc(), store_macroblock_parameters(), submacroblock_mode_decision(), submacroblock_mode_decision_low(), SubPartitionMotionSearch(), SubPelBlockMotionSearch(), terminate_slice(), transform_termination_control(), TransformDecision(), UMHEX_decide_intrabk_SAD(), UMHEXBipredIntegerPelBlockMotionSearch(), UMHEXIntegerPelBlockMotionSearch(), update_qp_cbp(), write_bslice_motion_info_to_NAL(), write_macroblock(), write_pslice_motion_info_to_NAL(), writeCBP_CABAC(), writeCBPandDquant(), writeChromaCoeff(), writeChromaIntraPredMode(), writeCoeff16x16_CABAC(), writeCoeff16x16_CAVLC(), writeCoeff4x4_CABAC(), writeCoeff4x4_CAVLC_444(), writeCoeff4x4_CAVLC_normal(), writeCoeff8x8(), writeCoeff8x8_CABAC(), writeIntra4x4Modes(), writeIntra8x8Modes(), writeIPCMData(), writeMB_Bskip_flagInfo_CABAC(), writeMB_Pskip_flagInfo_CABAC(), writeMBLayerBSlice(), writeMBLayerPSlice(), writeMotionInfo2NAL(), writeMotionVector8x8(), writeReferenceFrame(), and writeRunLevel_CABAC().

short pix_c_x

short pix_c_y

short pix_x

current pixel horizontal

Definition at line 296 of file global.h.

Referenced by add_residue(), BIDPartitionCost(), BlockMotionSearch(), BPredPartitionCost(), compute_mode_RD_cost(), compute_residue_block(), copy_conceal_picture(), copy_rdopt_data(), copyblock_sp(), dct_16x16(), dct_16x16_ls(), dct_4x4(), dct_4x4_ls(), dct_4x4_sp(), dct_4x4_sp2(), dct_8x8(), dct_8x8_cavlc(), decode_one_mb(), distortionSSE(), encode_one_macroblock_high(), encode_one_macroblock_highfast(), encode_one_macroblock_highloss(), encode_one_macroblock_low(), errdo_get_best_block(), fast_mode_intra_decision(), Get_Direct_MV_Spatial_MBAFF(), Get_Direct_MV_Spatial_Normal(), Get_Direct_MV_Temporal(), GetBestTransformP8x8(), GetDirectCost8x8(), GetSkipCostMB(), init_enc_mb_params(), luma_prediction(), luma_prediction_bi(), luma_residual_coding(), luma_residual_coding_16x16(), luma_residual_coding_8x8(), luma_residual_coding_p444(), luma_residual_coding_p444_16x16(), luma_residual_coding_p444_8x8(), min_rdcost_16x16(), Mode_Decision_for_4x4IntraBlocks_JM_High(), Mode_Decision_for_4x4IntraBlocks_JM_High444(), Mode_Decision_for_4x4IntraBlocks_JM_Low(), Mode_Decision_for_4x4IntraBlocks_JM_Low444(), Mode_Decision_for_8x8IntraBlocks_JM_High(), Mode_Decision_for_8x8IntraBlocks_JM_High444(), Mode_Decision_for_8x8IntraBlocks_JM_Low(), Mode_Decision_for_8x8IntraBlocks_JM_Low444(), rdcost_for_4x4_intra_blocks(), rdcost_for_4x4_intra_blocks_444(), rdcost_for_8x8_intra_blocks(), rdcost_for_8x8_intra_blocks_444(), RDCost_for_8x8blocks(), RDCost_for_macroblocks(), set_MB_parameters(), set_mbaff_parameters(), set_stored_macroblock_parameters(), set_stored_macroblock_parameters_mpass(), set_stored_macroblock_parameters_sp(), SetCoeffAndReconstruction8x8(), SetupFastFullPelSearch(), smpUMHEX_decide_intrabk_SAD(), smpUMHEX_skip_intrabk_SAD(), store_macroblock_parameters(), submacroblock_mode_decision(), submacroblock_mode_decision_low(), TransformDecision(), and UMHEX_decide_intrabk_SAD().

short pix_y

current pixel vertical

Definition at line 297 of file global.h.

Referenced by add_residue(), copy_conceal_picture(), copy_rdopt_data(), copyblock_sp(), dct_16x16(), dct_16x16_ls(), dct_4x4(), dct_4x4_ls(), dct_4x4_sp(), dct_4x4_sp2(), dct_8x8(), dct_8x8_cavlc(), decode_one_b8block(), decode_one_mb(), distortionSSE(), encode_one_macroblock_low(), errdo_get_best_block(), fast_mode_intra_decision(), init_enc_mb_params(), luma_residual_coding(), luma_residual_coding_16x16(), luma_residual_coding_8x8(), luma_residual_coding_p444(), luma_residual_coding_p444_16x16(), luma_residual_coding_p444_8x8(), min_rdcost_16x16(), Mode_Decision_for_4x4IntraBlocks_JM_High(), Mode_Decision_for_4x4IntraBlocks_JM_High444(), Mode_Decision_for_4x4IntraBlocks_JM_Low(), Mode_Decision_for_4x4IntraBlocks_JM_Low444(), Mode_Decision_for_8x8IntraBlocks_JM_High(), Mode_Decision_for_8x8IntraBlocks_JM_High444(), Mode_Decision_for_8x8IntraBlocks_JM_Low(), Mode_Decision_for_8x8IntraBlocks_JM_Low444(), rdcost_for_4x4_intra_blocks(), rdcost_for_4x4_intra_blocks_444(), rdcost_for_8x8_intra_blocks(), rdcost_for_8x8_intra_blocks_444(), RDCost_for_8x8blocks(), RDCost_for_macroblocks(), set_MB_parameters(), set_mbaff_parameters(), set_stored_macroblock_parameters(), set_stored_macroblock_parameters_mpass(), set_stored_macroblock_parameters_sp(), SetCoeffAndReconstruction8x8(), smpUMHEX_decide_intrabk_SAD(), store_macroblock_parameters(), submacroblock_mode_decision(), submacroblock_mode_decision_low(), and UMHEX_decide_intrabk_SAD().

short qp

short qp_scaled[MAX_PLANE]

short qpc[2]

short slice_nr

current MB slice id

Definition at line 290 of file global.h.

Referenced by Build_Status_Map(), end_macroblock(), init_frame(), mb_is_available(), and start_macroblock().

short subblock_x

short subblock_y


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

Documentation generated with DoxyGen