um_ref_frames ue(v) gaps_in_frame_num_value_allowed_flag Rec. ITU-T H.264 (01/2012) pic_width_in_mbs_minus1 ue(v) pic_height_in_map_units_minus1 ue(v) frame_mbs_only_flag (!frame_mbs_only_flag) mb_adaptive_frame_field_flag direct_8x8_inference_flag frame_cropping_flag frame_cropping_flag ) frame_crop_left_offset ue(v) frame_crop_right_offset ue(v) frame_crop_top_offset ue(v) frame_crop_bottom_offset ue(v) vui_parameters_present_flag (vui_parameters_present_flag) vui_parameters() 7.3.2.1.1.1 Scaling list syntax scaling_list(scalingList, sizeOfScalingList, useDefaultScalingMatrixFlag) { Descriptor lastScale = nextScale = for(j=0;j sizeOfScalingList;j++) { if( nextScale !=0){ delta_scale se(v) nextScale=(lastScale+delta_scale+256) % 256 useDefaultScalingMatrixFlag =(j===0 && nextScale == 0) scalingList[j]=(nextScale==0)?lastScale :nextScale lastScale scalingList[j] Rec. ITU-T H.264 (01/2012) 7.3.2.1.2 Sequence parameter set extension RBSP syntax seq_parameter_set_extension_rbsp() Descriptor seq_parameter_set_id ue(v) aux_format_ido ue(v) if( aux_format_idc !=0) bit_depth_aux_minus8 ue(v) alpha_incr_flag alpha_opaque_value alpha_transparent_value additional_extension_flag rbsp_trailing_bits() 7.3.2.1.3 Subset sequence parameter set RBSP syntax ubset_seq_parameter_set_rbsp() Descriptor seq_parameter_set_data() if( profile_ido ==83|1 profile_idc ==86) seq_parameter_set_svc_extension() /* specified in Annex G*/ SvC_vui_parameters_present_flag if( SVC_vui_parameters_present_flag ==1) SVC_vui_parameters_extension() /* specified in Annex G*/ else if( profile_idc == 118|profile_idc == 128) { bit_equal_to_one/*equalto 1*/ seq_parameter_set_mvc_extension() /*specified in Annex H */ mvc_vui_parameters_present_flag if( mve_vui_parameters_present_flag == 1) mvc_vui_parameters_extension() specified in Annex H */ additional_extension2_flag if( (additional_extension2_flag== 1) while(more_rbsp_data()) additional_extension2_data_flag rbsp_trailing_bits() Rec. ITU-T H.264 (01/2012) 7.3.2.2 Picture parameter set RBSP syntax pic_paramet