Lines Matching refs:ps_vps

830 WORD32 ihevce_generate_vps(bitstrm_t *ps_bitstrm, vps_t *ps_vps)  in ihevce_generate_vps()  argument
833 WORD8 i1_vps_max_sub_layers_minus1 = ps_vps->i1_vps_max_sub_layers - 1; in ihevce_generate_vps()
843 PUT_BITS(ps_bitstrm, ps_vps->i1_vps_id, 4, return_status); in ihevce_generate_vps()
844 ENTROPY_TRACE("video_parameter_set_id", ps_vps->i1_vps_id); in ihevce_generate_vps()
859 PUT_BITS(ps_bitstrm, ps_vps->i1_vps_temporal_id_nesting_flag, 1, return_status); in ihevce_generate_vps()
860 ENTROPY_TRACE("vps_temporal_id_nesting_flag", ps_vps->i1_vps_temporal_id_nesting_flag); in ihevce_generate_vps()
867 ihevce_generate_profile_tier_level(ps_bitstrm, &ps_vps->s_ptl, 1, i1_vps_max_sub_layers_minus1); in ihevce_generate_vps()
870 PUT_BITS(ps_bitstrm, ps_vps->i1_sub_layer_ordering_info_present_flag, 1, return_status); in ihevce_generate_vps()
873 ps_vps->i1_sub_layer_ordering_info_present_flag); in ihevce_generate_vps()
875 i = ps_vps->i1_sub_layer_ordering_info_present_flag ? 0 : i1_vps_max_sub_layers_minus1; in ihevce_generate_vps()
880 PUT_BITS_UEV(ps_bitstrm, ps_vps->ai1_vps_max_dec_pic_buffering[i], return_status); in ihevce_generate_vps()
882 "vps_max_dec_pic_buffering_minus1[i]", ps_vps->ai1_vps_max_dec_pic_buffering[i]); in ihevce_generate_vps()
885 PUT_BITS_UEV(ps_bitstrm, ps_vps->ai1_vps_max_num_reorder_pics[i], return_status); in ihevce_generate_vps()
886 ENTROPY_TRACE("ai1_vps_max_num_reorder_pics[i]", ps_vps->ai1_vps_max_num_reorder_pics[i]); in ihevce_generate_vps()
889 PUT_BITS_UEV(ps_bitstrm, ps_vps->ai1_vps_max_latency_increase[i], return_status); in ihevce_generate_vps()
890 ENTROPY_TRACE("ai1_vps_max_latency_increase[i]", ps_vps->ai1_vps_max_latency_increase[i]); in ihevce_generate_vps()
894 PUT_BITS(ps_bitstrm, ps_vps->i1_vps_max_nuh_reserved_zero_layer_id, 6, return_status); in ihevce_generate_vps()
895 ENTROPY_TRACE("vps_max_layer_id", ps_vps->i1_vps_max_nuh_reserved_zero_layer_id); in ihevce_generate_vps()
1993 vps_t *ps_vps, in ihevce_populate_vps() argument
2005 ps_vps->i1_vps_id = DEFAULT_VPS_ID; in ihevce_populate_vps()
2009 ps_vps->i1_vps_max_sub_layers = 1; in ihevce_populate_vps()
2012 ps_vps->i1_vps_max_sub_layers = 2; in ihevce_populate_vps()
2015 for(i = 0; i < ps_vps->i1_vps_max_sub_layers; i++) in ihevce_populate_vps()
2018 ps_vps->ai1_bit_rate_info_present_flag[i] = 0; in ihevce_populate_vps()
2019 ps_vps->ai1_pic_rate_info_present_flag[i] = 0; in ihevce_populate_vps()
2021 if(ps_vps->ai1_bit_rate_info_present_flag[i]) in ihevce_populate_vps()
2024 ps_vps->au2_avg_bit_rate[i] = 0; in ihevce_populate_vps()
2025 ps_vps->au2_max_bit_rate[i] = 0; in ihevce_populate_vps()
2028 if(ps_vps->ai1_pic_rate_info_present_flag[i]) in ihevce_populate_vps()
2035 ps_vps->i1_sub_layer_ordering_info_present_flag = VPS_SUB_LAYER_ORDERING_INFO_ABSENT; in ihevce_populate_vps()
2038 ps_vps->i1_vps_num_hrd_parameters = 0; in ihevce_populate_vps()
2040 if(ps_vps->i1_vps_max_sub_layers == 1) in ihevce_populate_vps()
2042 ps_vps->i1_vps_temporal_id_nesting_flag = 1; in ihevce_populate_vps()
2046 ps_vps->i1_vps_temporal_id_nesting_flag = 0; in ihevce_populate_vps()
2050 ps_vps->s_ptl.s_ptl_gen.i1_profile_space = 0; // BLU_RAY specific change is default in ihevce_populate_vps()
2053 ps_vps->s_ptl.s_ptl_gen.i1_profile_idc = ps_out_strm_params->i4_codec_profile; in ihevce_populate_vps()
2059 pi1_profile_compatiblity_flags = &ps_vps->s_ptl.s_ptl_gen.ai1_profile_compatibility_flag[0]; in ihevce_populate_vps()
2061 for(i = 0; i < ps_vps->i1_vps_max_sub_layers; i++) //TEMPORALA_SCALABILITY CHANGES in ihevce_populate_vps()
2063 ps_vps->ai1_vps_max_dec_pic_buffering[i] = in ihevce_populate_vps()
2066 ps_vps->ai1_vps_max_num_reorder_pics[i] = ps_coding_params->i4_max_temporal_layers in ihevce_populate_vps()
2069 ps_vps->ai1_vps_max_latency_increase[i] = 0; in ihevce_populate_vps()
2071 ps_vps->s_ptl.ai1_sub_layer_level_present_flag[i] = 1; //TEMPORALA_SCALABILITY CHANGES in ihevce_populate_vps()
2073 ps_vps->s_ptl.ai1_sub_layer_profile_present_flag[i] = 0; //TEMPORALA_SCALABILITY CHANGES in ihevce_populate_vps()
2075 ps_vps->s_ptl.as_ptl_sub[i].i1_profile_space = 0; // BLU_RAY specific change is default in ihevce_populate_vps()
2077 ps_vps->s_ptl.as_ptl_sub[i].i1_profile_idc = ps_out_strm_params->i4_codec_profile; in ihevce_populate_vps()
2080 ps_vps->s_ptl.as_ptl_sub[i].ai1_profile_compatibility_flag, in ihevce_populate_vps()
2084 ps_vps->s_ptl.as_ptl_sub[i] in ihevce_populate_vps()
2087 ps_vps->s_ptl.as_ptl_sub[i].u1_level_idc = in ihevce_populate_vps()
2098 ps_vps->s_ptl.as_ptl_sub[i].u1_level_idc = in ihevce_populate_vps()
2102 ps_vps->s_ptl.as_ptl_sub[i].i1_tier_flag = ps_out_strm_params->i4_codec_tier; in ihevce_populate_vps()
2106 ps_vps->s_ptl.as_ptl_sub[i].i1_general_progressive_source_flag = 1; in ihevce_populate_vps()
2108 ps_vps->s_ptl.as_ptl_sub[i].i1_general_interlaced_source_flag = 0; in ihevce_populate_vps()
2112 ps_vps->s_ptl.as_ptl_sub[i].i1_general_progressive_source_flag = 0; in ihevce_populate_vps()
2114 ps_vps->s_ptl.as_ptl_sub[i].i1_general_interlaced_source_flag = 1; in ihevce_populate_vps()
2118 ps_vps->s_ptl.as_ptl_sub[i].i1_general_progressive_source_flag = 0; in ihevce_populate_vps()
2120 ps_vps->s_ptl.as_ptl_sub[i].i1_general_interlaced_source_flag = 0; in ihevce_populate_vps()
2123 ps_vps->s_ptl.as_ptl_sub[i].i1_general_non_packed_constraint_flag = in ihevce_populate_vps()
2128 ps_vps->s_ptl.as_ptl_sub[i].i1_frame_only_constraint_flag = 1; in ihevce_populate_vps()
2132 ps_vps->s_ptl.as_ptl_sub[i].i1_frame_only_constraint_flag = in ihevce_populate_vps()
2141 ps_vps->s_ptl.s_ptl_gen.u1_level_idc = in ihevce_populate_vps()
2144 ps_vps->s_ptl.s_ptl_gen.i1_tier_flag = ps_out_strm_params->i4_codec_tier; in ihevce_populate_vps()
2148 ps_vps->s_ptl.s_ptl_gen.i1_general_progressive_source_flag = 1; in ihevce_populate_vps()
2150 ps_vps->s_ptl.s_ptl_gen.i1_general_interlaced_source_flag = 0; in ihevce_populate_vps()
2154 ps_vps->s_ptl.s_ptl_gen.i1_general_progressive_source_flag = 0; in ihevce_populate_vps()
2156 ps_vps->s_ptl.s_ptl_gen.i1_general_interlaced_source_flag = 1; in ihevce_populate_vps()
2160 ps_vps->s_ptl.s_ptl_gen.i1_general_progressive_source_flag = 0; in ihevce_populate_vps()
2162 ps_vps->s_ptl.s_ptl_gen.i1_general_interlaced_source_flag = 0; in ihevce_populate_vps()
2165 ps_vps->s_ptl.s_ptl_gen.i1_general_non_packed_constraint_flag = in ihevce_populate_vps()
2170 ps_vps->s_ptl.s_ptl_gen.i1_frame_only_constraint_flag = 1; in ihevce_populate_vps()
2174 ps_vps->s_ptl.s_ptl_gen.i1_frame_only_constraint_flag = DEFAULT_FRAME_ONLY_CONSTRAINT_FLAG; in ihevce_populate_vps()
2179 ps_vps->s_ptl.s_ptl_gen.i1_general_max_12bit_constraint_flag = 1; in ihevce_populate_vps()
2181 ps_vps->s_ptl.s_ptl_gen.i1_general_max_10bit_constraint_flag = 0; in ihevce_populate_vps()
2183 ps_vps->s_ptl.s_ptl_gen.i1_general_max_8bit_constraint_flag = 0; in ihevce_populate_vps()
2185 ps_vps->s_ptl.s_ptl_gen.i1_general_max_422chroma_constraint_flag = 1; in ihevce_populate_vps()
2187 ps_vps->s_ptl.s_ptl_gen.i1_general_max_420chroma_constraint_flag = 1; in ihevce_populate_vps()
2189 ps_vps->s_ptl.s_ptl_gen.i1_general_max_monochrome_constraint_flag = 0; in ihevce_populate_vps()
2191 ps_vps->s_ptl.s_ptl_gen.i1_general_intra_constraint_flag = 0; in ihevce_populate_vps()
2193 ps_vps->s_ptl.s_ptl_gen.i1_general_one_picture_only_constraint_flag = 0; in ihevce_populate_vps()
2195 ps_vps->s_ptl.s_ptl_gen.i1_general_lower_bit_rate_constraint_flag = 1; in ihevce_populate_vps()
2201 ps_vps->s_ptl.s_ptl_gen.i1_general_max_12bit_constraint_flag = 1; in ihevce_populate_vps()
2203 ps_vps->s_ptl.s_ptl_gen.i1_general_max_10bit_constraint_flag = 0; in ihevce_populate_vps()
2205 ps_vps->s_ptl.s_ptl_gen.i1_general_max_8bit_constraint_flag = 0; in ihevce_populate_vps()
2207 ps_vps->s_ptl.s_ptl_gen.i1_general_max_422chroma_constraint_flag = 1; in ihevce_populate_vps()
2209 ps_vps->s_ptl.s_ptl_gen.i1_general_max_420chroma_constraint_flag = 0; in ihevce_populate_vps()
2211 ps_vps->s_ptl.s_ptl_gen.i1_general_max_monochrome_constraint_flag = 0; in ihevce_populate_vps()
2213 ps_vps->s_ptl.s_ptl_gen.i1_general_intra_constraint_flag = 0; in ihevce_populate_vps()
2215 ps_vps->s_ptl.s_ptl_gen.i1_general_one_picture_only_constraint_flag = 0; in ihevce_populate_vps()
2217 ps_vps->s_ptl.s_ptl_gen.i1_general_lower_bit_rate_constraint_flag = 1; in ihevce_populate_vps()
2221 ps_vps->s_ptl.s_ptl_gen.i1_general_max_12bit_constraint_flag = 0; in ihevce_populate_vps()
2223 ps_vps->s_ptl.s_ptl_gen.i1_general_max_10bit_constraint_flag = 0; in ihevce_populate_vps()
2225 ps_vps->s_ptl.s_ptl_gen.i1_general_max_8bit_constraint_flag = 0; in ihevce_populate_vps()
2227 ps_vps->s_ptl.s_ptl_gen.i1_general_max_422chroma_constraint_flag = 0; in ihevce_populate_vps()
2229 ps_vps->s_ptl.s_ptl_gen.i1_general_max_420chroma_constraint_flag = 0; in ihevce_populate_vps()
2231 ps_vps->s_ptl.s_ptl_gen.i1_general_max_monochrome_constraint_flag = 0; in ihevce_populate_vps()
2233 ps_vps->s_ptl.s_ptl_gen.i1_general_intra_constraint_flag = 0; in ihevce_populate_vps()
2235 ps_vps->s_ptl.s_ptl_gen.i1_general_one_picture_only_constraint_flag = 0; in ihevce_populate_vps()
2237 ps_vps->s_ptl.s_ptl_gen.i1_general_lower_bit_rate_constraint_flag = 0; in ihevce_populate_vps()
2240 ps_vps->i1_vps_max_nuh_reserved_zero_layer_id = 0; in ihevce_populate_vps()
2278 vps_t *ps_vps, in ihevce_populate_sps() argument
2305 ps_sps->i1_vps_id = ps_vps->i1_vps_id; in ihevce_populate_sps()