Lines Matching refs:ps_vui
765 vui_t *ps_vui, in ihevcd_parse_vui_parameters() argument
772 …BITS_PARSE("aspect_ratio_info_present_flag", ps_vui->u1_aspect_ratio_info_present_flag, ps_bitstrm… in ihevcd_parse_vui_parameters()
774 ps_vui->u1_aspect_ratio_idc = SAR_UNUSED; in ihevcd_parse_vui_parameters()
777 if(ps_vui->u1_aspect_ratio_info_present_flag) in ihevcd_parse_vui_parameters()
779 BITS_PARSE("aspect_ratio_idc", ps_vui->u1_aspect_ratio_idc, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
780 switch(ps_vui->u1_aspect_ratio_idc) in ihevcd_parse_vui_parameters()
857 ps_vui->u2_sar_width = u2_sar_width; in ihevcd_parse_vui_parameters()
858 ps_vui->u2_sar_height = u2_sar_height; in ihevcd_parse_vui_parameters()
860 BITS_PARSE("overscan_info_present_flag", ps_vui->u1_overscan_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
861 ps_vui->u1_overscan_appropriate_flag = 0; in ihevcd_parse_vui_parameters()
862 if(ps_vui->u1_overscan_info_present_flag) in ihevcd_parse_vui_parameters()
863 … BITS_PARSE("overscan_appropriate_flag", ps_vui->u1_overscan_appropriate_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
865 …BITS_PARSE("video_signal_type_present_flag", ps_vui->u1_video_signal_type_present_flag, ps_bitstrm… in ihevcd_parse_vui_parameters()
866 ps_vui->u1_video_format = VID_FMT_UNSPECIFIED; in ihevcd_parse_vui_parameters()
867 ps_vui->u1_video_full_range_flag = 0; in ihevcd_parse_vui_parameters()
868 ps_vui->u1_colour_description_present_flag = 0; in ihevcd_parse_vui_parameters()
869 ps_vui->u1_colour_primaries = 2; in ihevcd_parse_vui_parameters()
870 ps_vui->u1_transfer_characteristics = 2; in ihevcd_parse_vui_parameters()
871 ps_vui->u1_matrix_coefficients = 2; in ihevcd_parse_vui_parameters()
873 if(ps_vui->u1_video_signal_type_present_flag) in ihevcd_parse_vui_parameters()
875 BITS_PARSE("video_format", ps_vui->u1_video_format, ps_bitstrm, 3); in ihevcd_parse_vui_parameters()
876 BITS_PARSE("video_full_range_flag", ps_vui->u1_video_full_range_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
877 …BITS_PARSE("colour_description_present_flag", ps_vui->u1_colour_description_present_flag, ps_bitst… in ihevcd_parse_vui_parameters()
878 if(ps_vui->u1_colour_description_present_flag) in ihevcd_parse_vui_parameters()
880 BITS_PARSE("colour_primaries", ps_vui->u1_colour_primaries, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
881 … BITS_PARSE("transfer_characteristics", ps_vui->u1_transfer_characteristics, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
882 BITS_PARSE("matrix_coeffs", ps_vui->u1_matrix_coefficients, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
886 …BITS_PARSE("chroma_loc_info_present_flag", ps_vui->u1_chroma_loc_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
887 ps_vui->u1_chroma_sample_loc_type_top_field = 0; in ihevcd_parse_vui_parameters()
888 ps_vui->u1_chroma_sample_loc_type_bottom_field = 0; in ihevcd_parse_vui_parameters()
889 if(ps_vui->u1_chroma_loc_info_present_flag) in ihevcd_parse_vui_parameters()
891 …UEV_PARSE("chroma_sample_loc_type_top_field", ps_vui->u1_chroma_sample_loc_type_top_field, ps_bits… in ihevcd_parse_vui_parameters()
892 if(ps_vui->u1_chroma_sample_loc_type_top_field > CHROMA_FMT_IDC_YUV444_PLANES + 1) in ihevcd_parse_vui_parameters()
896 …UEV_PARSE("chroma_sample_loc_type_bottom_field", ps_vui->u1_chroma_sample_loc_type_bottom_field, p… in ihevcd_parse_vui_parameters()
897 if(ps_vui->u1_chroma_sample_loc_type_bottom_field > CHROMA_FMT_IDC_YUV444_PLANES + 1) in ihevcd_parse_vui_parameters()
903 …BITS_PARSE("neutral_chroma_indication_flag", ps_vui->u1_neutral_chroma_indication_flag, ps_bitstrm… in ihevcd_parse_vui_parameters()
904 BITS_PARSE("field_seq_flag", ps_vui->u1_field_seq_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
905 …BITS_PARSE("frame_field_info_present_flag", ps_vui->u1_frame_field_info_present_flag, ps_bitstrm, … in ihevcd_parse_vui_parameters()
906 … BITS_PARSE("default_display_window_flag", ps_vui->u1_default_display_window_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
907 ps_vui->u4_def_disp_win_left_offset = 0; in ihevcd_parse_vui_parameters()
908 ps_vui->u4_def_disp_win_right_offset = 0; in ihevcd_parse_vui_parameters()
909 ps_vui->u4_def_disp_win_top_offset = 0; in ihevcd_parse_vui_parameters()
910 ps_vui->u4_def_disp_win_bottom_offset = 0; in ihevcd_parse_vui_parameters()
911 if(ps_vui->u1_default_display_window_flag) in ihevcd_parse_vui_parameters()
913 UEV_PARSE("def_disp_win_left_offset", ps_vui->u4_def_disp_win_left_offset, ps_bitstrm); in ihevcd_parse_vui_parameters()
914 UEV_PARSE("def_disp_win_right_offset", ps_vui->u4_def_disp_win_right_offset, ps_bitstrm); in ihevcd_parse_vui_parameters()
915 UEV_PARSE("def_disp_win_top_offset", ps_vui->u4_def_disp_win_top_offset, ps_bitstrm); in ihevcd_parse_vui_parameters()
916 UEV_PARSE("def_disp_win_bottom_offset", ps_vui->u4_def_disp_win_bottom_offset, ps_bitstrm); in ihevcd_parse_vui_parameters()
919 …BITS_PARSE("vui_timing_info_present_flag", ps_vui->u1_vui_timing_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
920 if(ps_vui->u1_vui_timing_info_present_flag) in ihevcd_parse_vui_parameters()
922 BITS_PARSE("vui_num_units_in_tick", ps_vui->u4_vui_num_units_in_tick, ps_bitstrm, 32); in ihevcd_parse_vui_parameters()
923 BITS_PARSE("vui_time_scale", ps_vui->u4_vui_time_scale, ps_bitstrm, 32); in ihevcd_parse_vui_parameters()
924 …BITS_PARSE("vui_poc_proportional_to_timing_flag", ps_vui->u1_poc_proportional_to_timing_flag, ps_b… in ihevcd_parse_vui_parameters()
925 if(ps_vui->u1_poc_proportional_to_timing_flag) in ihevcd_parse_vui_parameters()
927 …UEV_PARSE("vui_num_ticks_poc_diff_one_minus1", ps_vui->u4_num_ticks_poc_diff_one_minus1, ps_bitstr… in ihevcd_parse_vui_parameters()
928 if(ps_vui->u4_num_ticks_poc_diff_one_minus1 > UINT_MAX - 1) in ihevcd_parse_vui_parameters()
933 …BITS_PARSE("vui_hrd_parameters_present_flag", ps_vui->u1_vui_hrd_parameters_present_flag, ps_bitst… in ihevcd_parse_vui_parameters()
934 if(ps_vui->u1_vui_hrd_parameters_present_flag) in ihevcd_parse_vui_parameters()
936 …ret = ihevcd_parse_hrd_parameters(ps_bitstrm, &ps_vui->s_vui_hrd_parameters, 1, sps_max_sub_layers… in ihevcd_parse_vui_parameters()
941 BITS_PARSE("bitstream_restriction_flag", ps_vui->u1_bitstream_restriction_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
942 ps_vui->u1_tiles_fixed_structure_flag = 0; in ihevcd_parse_vui_parameters()
943 ps_vui->u1_motion_vectors_over_pic_boundaries_flag = 1; in ihevcd_parse_vui_parameters()
944 ps_vui->u1_restricted_ref_pic_lists_flag = 0; in ihevcd_parse_vui_parameters()
945 ps_vui->u4_min_spatial_segmentation_idc = 0; in ihevcd_parse_vui_parameters()
946 ps_vui->u1_max_bytes_per_pic_denom = 2; in ihevcd_parse_vui_parameters()
947 ps_vui->u1_max_bits_per_mincu_denom = 1; in ihevcd_parse_vui_parameters()
948 ps_vui->u1_log2_max_mv_length_horizontal = 15; in ihevcd_parse_vui_parameters()
949 ps_vui->u1_log2_max_mv_length_vertical = 15; in ihevcd_parse_vui_parameters()
950 if(ps_vui->u1_bitstream_restriction_flag) in ihevcd_parse_vui_parameters()
952 … BITS_PARSE("tiles_fixed_structure_flag", ps_vui->u1_tiles_fixed_structure_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
953 …BITS_PARSE("motion_vectors_over_pic_boundaries_flag", ps_vui->u1_motion_vectors_over_pic_boundarie… in ihevcd_parse_vui_parameters()
954 …BITS_PARSE("restricted_ref_pic_lists_flag", ps_vui->u1_restricted_ref_pic_lists_flag, ps_bitstrm, … in ihevcd_parse_vui_parameters()
956 … UEV_PARSE("min_spatial_segmentation_idc", ps_vui->u4_min_spatial_segmentation_idc, ps_bitstrm); in ihevcd_parse_vui_parameters()
957 if(ps_vui->u4_min_spatial_segmentation_idc > 4095) in ihevcd_parse_vui_parameters()
961 UEV_PARSE("max_bytes_per_pic_denom", ps_vui->u1_max_bytes_per_pic_denom, ps_bitstrm); in ihevcd_parse_vui_parameters()
962 if(ps_vui->u1_max_bytes_per_pic_denom > 16) in ihevcd_parse_vui_parameters()
966 UEV_PARSE("max_bits_per_min_cu_denom", ps_vui->u1_max_bits_per_mincu_denom, ps_bitstrm); in ihevcd_parse_vui_parameters()
967 if(ps_vui->u1_max_bits_per_mincu_denom > 16) in ihevcd_parse_vui_parameters()
971 … UEV_PARSE("log2_max_mv_length_horizontal", ps_vui->u1_log2_max_mv_length_horizontal, ps_bitstrm); in ihevcd_parse_vui_parameters()
972 if(ps_vui->u1_max_bits_per_mincu_denom > 16) in ihevcd_parse_vui_parameters()
976 … UEV_PARSE("log2_max_mv_length_vertical", ps_vui->u1_log2_max_mv_length_vertical, ps_bitstrm); in ihevcd_parse_vui_parameters()
977 if(ps_vui->u1_max_bits_per_mincu_denom > 15) in ihevcd_parse_vui_parameters()
2460 vui_t *ps_vui; in ihevcd_parse_buffering_period_sei() local
2466 ps_vui = &ps_sps->s_vui_parameters; in ihevcd_parse_buffering_period_sei()
2467 ps_vui_hdr = &ps_vui->s_vui_hrd_parameters; in ihevcd_parse_buffering_period_sei()
2614 vui_t *ps_vui; in ihevcd_parse_pic_timing_sei() local
2621 ps_vui = &ps_sps->s_vui_parameters; in ihevcd_parse_pic_timing_sei()
2622 ps_vui_hdr = &ps_vui->s_vui_hrd_parameters; in ihevcd_parse_pic_timing_sei()
2624 if(ps_vui->u1_frame_field_info_present_flag) in ihevcd_parse_pic_timing_sei()