12) 7.3.2.12 Prefix NAL unit RBSP syntax prefix_nal_unit_rbsp() Descriptor if( svc_extension_flag ) prefix_nal_unit_svc( /* specified in Annex G*/ 7.3.2.13 Slice layer extension RBSP syntax slice_layer_extension_rbsp() Descriptor if( SVC_extension_flag ) slice_header_in_scalable_extension( ) /* specified in Annex G*/ if( !slice_skip_flag) slice_data_in_scalable_extension() /* specified in Annex G*/ } else { slice_header() slice_data() rbsp_slice_trailing_bits() 7.3.3 Slice header syntax slice_header() { Descriptor first_mb_in_slice ue(v) slice_type ue(v) pic_parameter_set_id ue(v) separate_colour_plane_flag ==1) colour_plane_id frame_num if( !frame_mbs_only_flag) field_pic_flag f(field_pic_flag) bottom_field_flag if( IdrPicFlag ) idr_pic_id ue(v) if( pic_order_cnt_type ==0){ pic_order_cnt_lsb if(bottom_field_pic_order_in_frame_present_flag && !field_pic_flag) delta_pic_order_cnt_bottom se(v) pic_order_cnt_type==1&&!delta_pic_order_always_zero_flag) delta_pic_order_cnt[0] se(v) if( bottom_field_pic_order_in_frame_present_flag && !field_pic_flag ) delta_pic_order_cnt[1] se(v) Rec. ITU-T H.264 (01/2012) if( edundant_pic_cnt_present_flag) redundant_pic_cnt ue(v) if( slice_type ==B) direct_spatial_mv_pred_flag if( slice_type==P|slice_type == SP _type ==B) { num_ref_idx_active_override_flag if(num_ref_idx_active_override_flag) { num_ref_idx_10_active_minus1 ue(v) if( (slice_type ==B) num_ref_idx_l1_active_minus1 ue(v) if( nal_unit_type == 20) ref_pic_list_mvc_modification() /* specified in Annex H [ */ ref_pic_list_modification() if((weighted_pred_flag && slice type == P slice_type == SP ) | | (weighted bipred idc == && slice type == B)) pred_weight_table() if(nal_ref_idc !=0) dec_ref_pic_marking() if( entropy_coding_mode_flag && slice_type != I && slice_type != SI cabac_init_ide ue(v) slice_qp_delta se(v) if( slice_type == SP slice_type ==SI) if( slice_type = == SP ) sp_for_switch_flag slice_qs_delta se(v) if( (deblocking_filter_control_present_flag) { lisable_deblocking_filter_ide ue(v) if( (disable_deblocking_filter