Lines Matching refs:ps_bitstrm
146 WORD32 ihevcd_parse_pred_wt_ofst(bitstrm_t *ps_bitstrm, in ihevcd_parse_pred_wt_ofst() argument
158 UEV_PARSE("luma_log2_weight_denom", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
163 SEV_PARSE("delta_chroma_log2_weight_denom", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
169 BITS_PARSE("luma_weight_l0_flag[ i ]", value, ps_bitstrm, 1); in ihevcd_parse_pred_wt_ofst()
179 BITS_PARSE("chroma_weight_l0_flag[ i ]", value, ps_bitstrm, 1); in ihevcd_parse_pred_wt_ofst()
196 SEV_PARSE("delta_luma_weight_l0[ i ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
201 SEV_PARSE("luma_offset_l0[ i ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
214 SEV_PARSE("delta_chroma_weight_l0[ i ][ j ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
218 SEV_PARSE("delta_chroma_offset_l0[ i ][ j ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
224 SEV_PARSE("delta_chroma_weight_l0[ i ][ j ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
228 SEV_PARSE("delta_chroma_offset_l0[ i ][ j ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
248 BITS_PARSE("luma_weight_l1_flag[ i ]", value, ps_bitstrm, 1); in ihevcd_parse_pred_wt_ofst()
256 BITS_PARSE("chroma_weight_l1_flag[ i ]", value, ps_bitstrm, 1); in ihevcd_parse_pred_wt_ofst()
272 SEV_PARSE("delta_luma_weight_l1[ i ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
277 SEV_PARSE("luma_offset_l1[ i ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
291 SEV_PARSE("delta_chroma_weight_l1[ i ][ j ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
295 SEV_PARSE("delta_chroma_offset_l1[ i ][ j ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
301 SEV_PARSE("delta_chroma_weight_l1[ i ][ j ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
305 SEV_PARSE("delta_chroma_offset_l1[ i ][ j ]", value, ps_bitstrm); in ihevcd_parse_pred_wt_ofst()
354 IHEVCD_ERROR_T ihevcd_short_term_ref_pic_set(bitstrm_t *ps_bitstrm, in ihevcd_short_term_ref_pic_set() argument
369 BITS_PARSE("inter_ref_pic_set_prediction_flag", value, ps_bitstrm, 1); in ihevcd_short_term_ref_pic_set()
385 UEV_PARSE("delta_idx_minus1", value, ps_bitstrm); in ihevcd_short_term_ref_pic_set()
397 BITS_PARSE("delta_rps_sign", value, ps_bitstrm, 1); in ihevcd_short_term_ref_pic_set()
400 UEV_PARSE("abs_delta_rps_minus1", value, ps_bitstrm); in ihevcd_short_term_ref_pic_set()
417 BITS_PARSE("used_by_curr_pic_flag", value, ps_bitstrm, 1); in ihevcd_short_term_ref_pic_set()
423 BITS_PARSE("use_delta_flag", value, ps_bitstrm, 1); in ihevcd_short_term_ref_pic_set()
495 UEV_PARSE("num_negative_pics", value, ps_bitstrm); in ihevcd_short_term_ref_pic_set()
501 UEV_PARSE("num_positive_pics", value, ps_bitstrm); in ihevcd_short_term_ref_pic_set()
514 UEV_PARSE("delta_poc_s0_minus1", value, ps_bitstrm); in ihevcd_short_term_ref_pic_set()
519 BITS_PARSE("used_by_curr_pic_s0_flag", value, ps_bitstrm, 1); in ihevcd_short_term_ref_pic_set()
528 UEV_PARSE("delta_poc_s1_minus1", value, ps_bitstrm); in ihevcd_short_term_ref_pic_set()
533 BITS_PARSE("used_by_curr_pic_s1_flag", value, ps_bitstrm, 1); in ihevcd_short_term_ref_pic_set()
544 static WORD32 ihevcd_parse_sub_layer_hrd_parameters(bitstrm_t *ps_bitstrm, in ihevcd_parse_sub_layer_hrd_parameters() argument
554 …E("bit_rate_value_minus1[ i ]", ps_sub_layer_hrd_params->au4_bit_rate_value_minus1[i], ps_bitstrm); in ihevcd_parse_sub_layer_hrd_parameters()
555 …E("cpb_size_value_minus1[ i ]", ps_sub_layer_hrd_params->au4_cpb_size_value_minus1[i], ps_bitstrm); in ihevcd_parse_sub_layer_hrd_parameters()
559 …_size_du_value_minus1[ i ]", ps_sub_layer_hrd_params->au4_cpb_size_du_value_minus1[i], ps_bitstrm); in ihevcd_parse_sub_layer_hrd_parameters()
560 …_rate_du_value_minus1[ i ]", ps_sub_layer_hrd_params->au4_bit_rate_du_value_minus1[i], ps_bitstrm); in ihevcd_parse_sub_layer_hrd_parameters()
562 BITS_PARSE("cbr_flag[ i ]", ps_sub_layer_hrd_params->au1_cbr_flag[i], ps_bitstrm, 1); in ihevcd_parse_sub_layer_hrd_parameters()
569 static WORD32 ihevcd_parse_hrd_parameters(bitstrm_t *ps_bitstrm, in ihevcd_parse_hrd_parameters() argument
597 …ARSE("nal_hrd_parameters_present_flag", ps_hrd->u1_nal_hrd_parameters_present_flag, ps_bitstrm, 1); in ihevcd_parse_hrd_parameters()
598 …ARSE("vcl_hrd_parameters_present_flag", ps_hrd->u1_vcl_hrd_parameters_present_flag, ps_bitstrm, 1); in ihevcd_parse_hrd_parameters()
602 …ARSE("sub_pic_cpb_params_present_flag", ps_hrd->u1_sub_pic_cpb_params_present_flag, ps_bitstrm, 1); in ihevcd_parse_hrd_parameters()
605 BITS_PARSE("tick_divisor_minus2", ps_hrd->u1_tick_divisor_minus2, ps_bitstrm, 8); in ihevcd_parse_hrd_parameters()
606 …_increment_length_minus1", ps_hrd->u1_du_cpb_removal_delay_increment_length_minus1, ps_bitstrm, 5); in ihevcd_parse_hrd_parameters()
607 …rams_in_pic_timing_sei_flag", ps_hrd->u1_sub_pic_cpb_params_in_pic_timing_sei_flag, ps_bitstrm, 1); in ihevcd_parse_hrd_parameters()
608 …("dpb_output_delay_du_length_minus1", ps_hrd->u1_dpb_output_delay_du_length_minus1, ps_bitstrm, 5); in ihevcd_parse_hrd_parameters()
611 BITS_PARSE("bit_rate_scale", ps_hrd->u4_bit_rate_scale, ps_bitstrm, 4); in ihevcd_parse_hrd_parameters()
612 BITS_PARSE("cpb_size_scale", ps_hrd->u4_cpb_size_scale, ps_bitstrm, 4); in ihevcd_parse_hrd_parameters()
614 BITS_PARSE("cpb_size_du_scale", ps_hrd->u4_cpb_size_du_scale, ps_bitstrm, 4); in ihevcd_parse_hrd_parameters()
616 …b_removal_delay_length_minus1", ps_hrd->u1_initial_cpb_removal_delay_length_minus1, ps_bitstrm, 5); in ihevcd_parse_hrd_parameters()
617 …au_cpb_removal_delay_length_minus1", ps_hrd->u1_au_cpb_removal_delay_length_minus1, ps_bitstrm, 5); in ihevcd_parse_hrd_parameters()
618 …_PARSE("dpb_output_delay_length_minus1", ps_hrd->u1_dpb_output_delay_length_minus1, ps_bitstrm, 5); in ihevcd_parse_hrd_parameters()
625 …RSE("fixed_pic_rate_general_flag[ i ]", ps_hrd->au1_fixed_pic_rate_general_flag[i], ps_bitstrm, 1); in ihevcd_parse_hrd_parameters()
633 …ixed_pic_rate_within_cvs_flag[ i ]", ps_hrd->au1_fixed_pic_rate_within_cvs_flag[i], ps_bitstrm, 1); in ihevcd_parse_hrd_parameters()
637 …elemental_duration_in_tc_minus1[ i ]", ps_hrd->au1_elemental_duration_in_tc_minus1[i], ps_bitstrm); in ihevcd_parse_hrd_parameters()
641 BITS_PARSE("low_delay_hrd_flag[ i ]", ps_hrd->au1_low_delay_hrd_flag[i], ps_bitstrm, 1); in ihevcd_parse_hrd_parameters()
645 UEV_PARSE("cpb_cnt_minus1[ i ]", ps_hrd->au1_cpb_cnt_minus1[i], ps_bitstrm); in ihevcd_parse_hrd_parameters()
648 ihevcd_parse_sub_layer_hrd_parameters(ps_bitstrm, in ihevcd_parse_hrd_parameters()
654 ihevcd_parse_sub_layer_hrd_parameters(ps_bitstrm, in ihevcd_parse_hrd_parameters()
664 static WORD32 ihevcd_parse_vui_parameters(bitstrm_t *ps_bitstrm, in ihevcd_parse_vui_parameters() argument
670 …_PARSE("aspect_ratio_info_present_flag", ps_vui->u1_aspect_ratio_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
677 BITS_PARSE("aspect_ratio_idc", ps_vui->u1_aspect_ratio_idc, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
680 BITS_PARSE("sar_width", ps_vui->u2_sar_width, ps_bitstrm, 16); in ihevcd_parse_vui_parameters()
681 BITS_PARSE("sar_height", ps_vui->u2_sar_height, ps_bitstrm, 16); in ihevcd_parse_vui_parameters()
685 BITS_PARSE("overscan_info_present_flag", ps_vui->u1_overscan_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
688 … BITS_PARSE("overscan_appropriate_flag", ps_vui->u1_overscan_appropriate_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
690 …_PARSE("video_signal_type_present_flag", ps_vui->u1_video_signal_type_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
696 BITS_PARSE("video_format", ps_vui->u1_video_format, ps_bitstrm, 3); in ihevcd_parse_vui_parameters()
697 BITS_PARSE("video_full_range_flag", ps_vui->u1_video_full_range_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
698 …ARSE("colour_description_present_flag", ps_vui->u1_colour_description_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
703 BITS_PARSE("colour_primaries", ps_vui->u1_colour_primaries, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
704 … BITS_PARSE("transfer_characteristics", ps_vui->u1_transfer_characteristics, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
705 BITS_PARSE("matrix_coeffs", ps_vui->u1_matrix_coefficients, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
709 …BITS_PARSE("chroma_loc_info_present_flag", ps_vui->u1_chroma_loc_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
714 …PARSE("chroma_sample_loc_type_top_field", ps_vui->u1_chroma_sample_loc_type_top_field, ps_bitstrm); in ihevcd_parse_vui_parameters()
715 …"chroma_sample_loc_type_bottom_field", ps_vui->u1_chroma_sample_loc_type_bottom_field, ps_bitstrm); in ihevcd_parse_vui_parameters()
718 …_PARSE("neutral_chroma_indication_flag", ps_vui->u1_neutral_chroma_indication_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
719 BITS_PARSE("field_seq_flag", ps_vui->u1_field_seq_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
720 …TS_PARSE("frame_field_info_present_flag", ps_vui->u1_frame_field_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
721 … BITS_PARSE("default_display_window_flag", ps_vui->u1_default_display_window_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
728 UEV_PARSE("def_disp_win_left_offset", ps_vui->u4_def_disp_win_left_offset, ps_bitstrm); in ihevcd_parse_vui_parameters()
729 UEV_PARSE("def_disp_win_right_offset", ps_vui->u4_def_disp_win_right_offset, ps_bitstrm); in ihevcd_parse_vui_parameters()
730 UEV_PARSE("def_disp_win_top_offset", ps_vui->u4_def_disp_win_top_offset, ps_bitstrm); in ihevcd_parse_vui_parameters()
731 UEV_PARSE("def_disp_win_bottom_offset", ps_vui->u4_def_disp_win_bottom_offset, ps_bitstrm); in ihevcd_parse_vui_parameters()
734 …BITS_PARSE("vui_timing_info_present_flag", ps_vui->u1_vui_timing_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
737 BITS_PARSE("vui_num_units_in_tick", ps_vui->u4_vui_num_units_in_tick, ps_bitstrm, 32); in ihevcd_parse_vui_parameters()
738 BITS_PARSE("vui_time_scale", ps_vui->u4_vui_time_scale, ps_bitstrm, 32); in ihevcd_parse_vui_parameters()
739 …("vui_poc_proportional_to_timing_flag", ps_vui->u1_poc_proportional_to_timing_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
741 …V_PARSE("vui_num_ticks_poc_diff_one_minus1", ps_vui->u1_num_ticks_poc_diff_one_minus1, ps_bitstrm); in ihevcd_parse_vui_parameters()
743 …ARSE("vui_hrd_parameters_present_flag", ps_vui->u1_vui_hrd_parameters_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
745 …ihevcd_parse_hrd_parameters(ps_bitstrm, &ps_vui->s_vui_hrd_parameters, 1, sps_max_sub_layers_minus… in ihevcd_parse_vui_parameters()
748 BITS_PARSE("bitstream_restriction_flag", ps_vui->u1_bitstream_restriction_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
759 … BITS_PARSE("tiles_fixed_structure_flag", ps_vui->u1_tiles_fixed_structure_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
760 …tors_over_pic_boundaries_flag", ps_vui->u1_motion_vectors_over_pic_boundaries_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
761 …TS_PARSE("restricted_ref_pic_lists_flag", ps_vui->u1_restricted_ref_pic_lists_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
763 … UEV_PARSE("min_spatial_segmentation_idc", ps_vui->u4_min_spatial_segmentation_idc, ps_bitstrm); in ihevcd_parse_vui_parameters()
764 UEV_PARSE("max_bytes_per_pic_denom", ps_vui->u1_max_bytes_per_pic_denom, ps_bitstrm); in ihevcd_parse_vui_parameters()
765 UEV_PARSE("max_bits_per_min_cu_denom", ps_vui->u1_max_bits_per_mincu_denom, ps_bitstrm); in ihevcd_parse_vui_parameters()
766 … UEV_PARSE("log2_max_mv_length_horizontal", ps_vui->u1_log2_max_mv_length_horizontal, ps_bitstrm); in ihevcd_parse_vui_parameters()
767 … UEV_PARSE("log2_max_mv_length_vertical", ps_vui->u1_log2_max_mv_length_vertical, ps_bitstrm); in ihevcd_parse_vui_parameters()
800 static IHEVCD_ERROR_T ihevcd_parse_profile_tier_level_layer(bitstrm_t *ps_bitstrm, in ihevcd_parse_profile_tier_level_layer() argument
807 BITS_PARSE("XXX_profile_space[]", value, ps_bitstrm, 2); in ihevcd_parse_profile_tier_level_layer()
810 BITS_PARSE("XXX_tier_flag[]", value, ps_bitstrm, 1); in ihevcd_parse_profile_tier_level_layer()
813 BITS_PARSE("XXX_profile_idc[]", value, ps_bitstrm, 5); in ihevcd_parse_profile_tier_level_layer()
818 BITS_PARSE("XXX_profile_compatibility_flag[][j]", value, ps_bitstrm, 1); in ihevcd_parse_profile_tier_level_layer()
822 BITS_PARSE("general_progressive_source_flag", value, ps_bitstrm, 1); in ihevcd_parse_profile_tier_level_layer()
825 BITS_PARSE("general_interlaced_source_flag", value, ps_bitstrm, 1); in ihevcd_parse_profile_tier_level_layer()
828 BITS_PARSE("general_non_packed_constraint_flag", value, ps_bitstrm, 1); in ihevcd_parse_profile_tier_level_layer()
831 BITS_PARSE("general_frame_only_constraint_flag", value, ps_bitstrm, 1); in ihevcd_parse_profile_tier_level_layer()
834 BITS_PARSE("XXX_reserved_zero_44bits[0..15]", value, ps_bitstrm, 16); in ihevcd_parse_profile_tier_level_layer()
836 BITS_PARSE("XXX_reserved_zero_44bits[16..31]", value, ps_bitstrm, 16); in ihevcd_parse_profile_tier_level_layer()
838 BITS_PARSE("XXX_reserved_zero_44bits[32..43]", value, ps_bitstrm, 12); in ihevcd_parse_profile_tier_level_layer()
873 static IHEVCD_ERROR_T ihevcd_profile_tier_level(bitstrm_t *ps_bitstrm, in ihevcd_profile_tier_level() argument
884 ret = ihevcd_parse_profile_tier_level_layer(ps_bitstrm, &ps_ptl->s_ptl_gen); in ihevcd_profile_tier_level()
887 BITS_PARSE("general_level_idc", value, ps_bitstrm, 8); in ihevcd_profile_tier_level()
893 BITS_PARSE("sub_layer_profile_present_flag[i]", value, ps_bitstrm, 1); in ihevcd_profile_tier_level()
896 BITS_PARSE("sub_layer_level_present_flag[i]", value, ps_bitstrm, 1); in ihevcd_profile_tier_level()
904 BITS_PARSE("reserved_zero_2bits", value, ps_bitstrm, 2); in ihevcd_profile_tier_level()
912 ret = ihevcd_parse_profile_tier_level_layer(ps_bitstrm, in ihevcd_profile_tier_level()
917 BITS_PARSE("sub_layer_level_idc[i]", value, ps_bitstrm, 8); in ihevcd_profile_tier_level()
956 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_scaling_list_data() local
967 BITS_PARSE("scaling_list_pred_mode_flag", scaling_list_pred_mode_flag, ps_bitstrm, 1); in ihevcd_scaling_list_data()
976 ps_bitstrm); in ihevcd_scaling_list_data()
991 ps_bitstrm); in ihevcd_scaling_list_data()
1003 scaling_list_delta_coef, ps_bitstrm); in ihevcd_scaling_list_data()
1016 scaling_list_delta_coef, ps_bitstrm); in ihevcd_scaling_list_data()
1036 scaling_list_delta_coef, ps_bitstrm); in ihevcd_scaling_list_data()
1089 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_vps() local
1090 BITS_PARSE("vps_video_parameter_set_id", value, ps_bitstrm, 4); in ihevcd_parse_vps()
1104 BITS_PARSE("vps_reserved_three_2bits", value, ps_bitstrm, 2); in ihevcd_parse_vps()
1107 BITS_PARSE("vps_max_layers_minus1", value, ps_bitstrm, 6); in ihevcd_parse_vps()
1112 BITS_PARSE("vps_max_sub_layers_minus1", value, ps_bitstrm, 3); in ihevcd_parse_vps()
1117 BITS_PARSE("vps_temporal_id_nesting_flag", value, ps_bitstrm, 1); in ihevcd_parse_vps()
1120 BITS_PARSE("vps_reserved_ffff_16bits", value, ps_bitstrm, 16); in ihevcd_parse_vps()
1123 ret = ihevcd_profile_tier_level(ps_bitstrm, &(ps_vps->s_ptl), in ihevcd_parse_vps()
1126 BITS_PARSE("vps_sub_layer_ordering_info_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_vps()
1132 UEV_PARSE("vps_max_dec_pic_buffering[i]", value, ps_bitstrm); in ihevcd_parse_vps()
1136 UEV_PARSE("vps_num_reorder_pics[i]", value, ps_bitstrm); in ihevcd_parse_vps()
1139 UEV_PARSE("vps_max_latency_increase[i]", value, ps_bitstrm); in ihevcd_parse_vps()
1145 BITS_PARSE("vps_max_layer_id", value, ps_bitstrm, 6); in ihevcd_parse_vps()
1148 UEV_PARSE("vps_num_layer_sets_minus1", value, ps_bitstrm); in ihevcd_parse_vps()
1151 BITS_PARSE("vps_timing_info_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_vps()
1193 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_sps() local
1196 BITS_PARSE("video_parameter_set_id", value, ps_bitstrm, 4); in ihevcd_parse_sps()
1200 BITS_PARSE("sps_max_sub_layers_minus1", value, ps_bitstrm, 3); in ihevcd_parse_sps()
1204 BITS_PARSE("sps_temporal_id_nesting_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1208 ret = ihevcd_profile_tier_level(ps_bitstrm, &(s_ptl), 1, in ihevcd_parse_sps()
1211 UEV_PARSE("seq_parameter_set_id", value, ps_bitstrm); in ihevcd_parse_sps()
1232 UEV_PARSE("chroma_format_idc", value, ps_bitstrm); in ihevcd_parse_sps()
1243 BITS_PARSE("separate_colour_plane_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1251 UEV_PARSE("pic_width_in_luma_samples", value, ps_bitstrm); in ihevcd_parse_sps()
1254 UEV_PARSE("pic_height_in_luma_samples", value, ps_bitstrm); in ihevcd_parse_sps()
1266 BITS_PARSE("pic_cropping_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1272 UEV_PARSE("pic_crop_left_offset", value, ps_bitstrm); in ihevcd_parse_sps()
1275 UEV_PARSE("pic_crop_right_offset", value, ps_bitstrm); in ihevcd_parse_sps()
1278 UEV_PARSE("pic_crop_top_offset", value, ps_bitstrm); in ihevcd_parse_sps()
1281 UEV_PARSE("pic_crop_bottom_offset", value, ps_bitstrm); in ihevcd_parse_sps()
1293 UEV_PARSE("bit_depth_luma_minus8", value, ps_bitstrm); in ihevcd_parse_sps()
1297 UEV_PARSE("bit_depth_chroma_minus8", value, ps_bitstrm); in ihevcd_parse_sps()
1301 UEV_PARSE("log2_max_pic_order_cnt_lsb_minus4", value, ps_bitstrm); in ihevcd_parse_sps()
1304 BITS_PARSE("sps_sub_layer_ordering_info_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1311 UEV_PARSE("max_dec_pic_buffering", value, ps_bitstrm); in ihevcd_parse_sps()
1314 UEV_PARSE("num_reorder_pics", value, ps_bitstrm); in ihevcd_parse_sps()
1317 UEV_PARSE("max_latency_increase", value, ps_bitstrm); in ihevcd_parse_sps()
1320 UEV_PARSE("log2_min_coding_block_size_minus3", value, ps_bitstrm); in ihevcd_parse_sps()
1323 UEV_PARSE("log2_diff_max_min_coding_block_size", value, ps_bitstrm); in ihevcd_parse_sps()
1326 UEV_PARSE("log2_min_transform_block_size_minus2", value, ps_bitstrm); in ihevcd_parse_sps()
1329 UEV_PARSE("log2_diff_max_min_transform_block_size", value, ps_bitstrm); in ihevcd_parse_sps()
1351 UEV_PARSE("max_transform_hierarchy_depth_inter", value, ps_bitstrm); in ihevcd_parse_sps()
1354 UEV_PARSE("max_transform_hierarchy_depth_intra", value, ps_bitstrm); in ihevcd_parse_sps()
1358 BITS_PARSE("scaling_list_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1364 BITS_PARSE("sps_scaling_list_data_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1375 BITS_PARSE("asymmetric_motion_partitions_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1378 BITS_PARSE("sample_adaptive_offset_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1381 BITS_PARSE("pcm_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1386 BITS_PARSE("pcm_sample_bit_depth_luma", value, ps_bitstrm, 4); in ihevcd_parse_sps()
1389 BITS_PARSE("pcm_sample_bit_depth_chroma", value, ps_bitstrm, 4); in ihevcd_parse_sps()
1392 UEV_PARSE("log2_min_pcm_coding_block_size_minus3", value, ps_bitstrm); in ihevcd_parse_sps()
1395 UEV_PARSE("log2_diff_max_min_pcm_coding_block_size", value, ps_bitstrm); in ihevcd_parse_sps()
1397 BITS_PARSE("pcm_loop_filter_disable_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1401 UEV_PARSE("num_short_term_ref_pic_sets", value, ps_bitstrm); in ihevcd_parse_sps()
1407 …ihevcd_short_term_ref_pic_set(ps_bitstrm, &ps_sps->as_stref_picset[0], ps_sps->i1_num_short_term_r… in ihevcd_parse_sps()
1409 BITS_PARSE("long_term_ref_pics_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1414 UEV_PARSE("num_long_term_ref_pics_sps", value, ps_bitstrm); in ihevcd_parse_sps()
1419 …BITS_PARSE("lt_ref_pic_poc_lsb_sps[ i ]", value, ps_bitstrm, ps_sps->i1_log2_max_pic_order_cnt_lsb… in ihevcd_parse_sps()
1422 BITS_PARSE("used_by_curr_pic_lt_sps_flag[ i ]", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1427 BITS_PARSE("sps_temporal_mvp_enable_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1431 BITS_PARSE("sps_strong_intra_smoothing_enable_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1434 BITS_PARSE("vui_parameters_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1438 ihevcd_parse_vui_parameters(ps_bitstrm, in ihevcd_parse_sps()
1442 BITS_PARSE("sps_extension_flag", value, ps_bitstrm, 1); in ihevcd_parse_sps()
1617 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_pps() local
1623 UEV_PARSE("pic_parameter_set_id", value, ps_bitstrm); in ihevcd_parse_pps()
1639 UEV_PARSE("seq_parameter_set_id", value, ps_bitstrm); in ihevcd_parse_pps()
1659 BITS_PARSE("dependent_slices_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1662 BITS_PARSE("output_flag_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1665 BITS_PARSE("num_extra_slice_header_bits", value, ps_bitstrm, 3); in ihevcd_parse_pps()
1669 BITS_PARSE("sign_data_hiding_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1672 BITS_PARSE("cabac_init_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1675 UEV_PARSE("num_ref_idx_l0_default_active_minus1", value, ps_bitstrm); in ihevcd_parse_pps()
1678 UEV_PARSE("num_ref_idx_l1_default_active_minus1", value, ps_bitstrm); in ihevcd_parse_pps()
1681 SEV_PARSE("pic_init_qp_minus26", value, ps_bitstrm); in ihevcd_parse_pps()
1684 BITS_PARSE("constrained_intra_pred_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1687 BITS_PARSE("transform_skip_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1690 BITS_PARSE("cu_qp_delta_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1695 UEV_PARSE("diff_cu_qp_delta_depth", value, ps_bitstrm); in ihevcd_parse_pps()
1704 SEV_PARSE("cb_qp_offset", value, ps_bitstrm); in ihevcd_parse_pps()
1708 SEV_PARSE("cr_qp_offset", value, ps_bitstrm); in ihevcd_parse_pps()
1712 BITS_PARSE("slicelevel_chroma_qp_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1715 BITS_PARSE("weighted_pred_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1718 BITS_PARSE("weighted_bipred_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1721 BITS_PARSE("transquant_bypass_enable_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1724 BITS_PARSE("tiles_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1727 BITS_PARSE("entropy_coding_sync_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1733 UEV_PARSE("num_tile_columns_minus1", value, ps_bitstrm); in ihevcd_parse_pps()
1736 UEV_PARSE("num_tile_rows_minus1", value, ps_bitstrm); in ihevcd_parse_pps()
1745 BITS_PARSE("uniform_spacing_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1763 UEV_PARSE("column_width_minus1[ i ]", value, ps_bitstrm); in ihevcd_parse_pps()
1799 UEV_PARSE("row_height_minus1[ i ]", value, ps_bitstrm); in ihevcd_parse_pps()
1828 BITS_PARSE("loop_filter_across_tiles_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1846 BITS_PARSE("loop_filter_across_slices_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1849 BITS_PARSE("deblocking_filter_control_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1861 BITS_PARSE("deblocking_filter_override_enabled_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1864 BITS_PARSE("pic_disable_deblocking_filter_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1870 SEV_PARSE("pps_beta_offset_div2", value, ps_bitstrm); in ihevcd_parse_pps()
1873 SEV_PARSE("pps_tc_offset_div2", value, ps_bitstrm); in ihevcd_parse_pps()
1879 BITS_PARSE("pps_scaling_list_data_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1888 BITS_PARSE("lists_modification_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1890 UEV_PARSE("log2_parallel_merge_level_minus2", value, ps_bitstrm); in ihevcd_parse_pps()
1893 BITS_PARSE("slice_header_extension_present_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()
1896 BITS_PARSE("pps_extension_flag", value, ps_bitstrm, 1); in ihevcd_parse_pps()