eLessThan8x8Flag=0 } else if(!direct_8x8_inference_flag) noSubMbPartSizeLessThan8x8Flag= } else { if( transform_8x8_mode_flag && mb_type == I_NxN) transform_size 8x8 flag u(1) ae(v) mb_pred(mb_type) if( MbPartPredMode(mb_type,0)= Intra_16x16) { coded_block_pattern me(v) | ae(v) if( CodedBlockPatternLuma > 0 && transform_8x8_mode_flag && mb_type!=I_NxN && noSubMbPartSizeLessThan8x8Flag && (mb_type != B Direct 16x16 direct 8x8 inference flag ) ) transform_size_8x8_flag u(1) ae(v) if( CodedBlockPatternLuma >01 CodedBlockPatternChroma>01 MbPartPredMode( mb type, 0 ) ==Intra_16x16) { mb_qp_delta se(v) I ae(v) residual( (0,15) Rec. ITU-T H.264 (01/2012) 7.3.5.1 Macroblock prediction syntax mb_pred(mb_type) { Descriptor if( MbPartPredMode(mb_type, 0) == Intra_4x4 MbPartPredMode(mb_type, ,0)== Intra_8x8 MbPartPredMode(mb_type,0)==Intra_16x16) if( MbPartPredMode( mb_type,0)==Intra_4x4 for( (luma4x4BlkIdx=0; luma4x4BlkIdx<16; luma4x4BlkIdx++ ) { prev_intra4x4_pred_mode_flag[luma4x4BlkIdx u(1)|ae(v) if( !prev_intra4x4_pred_mode_flag[luma4x4BlkId 1) rem_intra4x4_pred_mode[luma4x4BlkIdx u(3) ae(v) if( MbPartPredMode( mb_type, 0) == Intra_8x8) for( luma8x8BlkIdx=0; luma8x8BlkIdx<4; luma8x8BlkIdx++) { prev_intra8x8_pred_mode_flag[luma8x8BlkIdx u(1) ae(v) if( !prev_intra8x8_pred_mode_flag[luma8x8BlkIdx]) em_intra8x8_pred_mode[luma8x8BlkIdx u(3) ae(v) if( ChromaArrayType ==1 ChromaArrayType == 2) intra_chroma_pred_mode ue(v) | ae(v) } else if( MbPartPredMode(mb_type,0)!= Direct) for(mbPartIdx=0;mbPartIdx< NumMbPart( mb_type); mbPartIdx++) if( (num_ref_idx_10_active_minus1>011 mb_field_decoding_flag != field_pic_flag ) && MbPartPredMode( mb type, mbPartIdx) != Pred L1 ) ref_idx_10| mbPart[dx te(v) | ae(v) for( mbPartIdx = =0; mbPartIdx <NumMbPart(mb_type);mbPartIdx++) if((num ref idx 1_active_minus1 > 01 mb_field_decoding_flag != field_pic_flag && MbPartPredMode(mb_type,mbPartIdx) != Pred_L0) ref_idx_11| mbPartldx` te(v)|ae(v) for( mbPartIdx =0; mbPartIdx < NumMbPart(mb_type); mbPartIdx++) if( MbPartPredMode (mb_type, mbPartIdx) !