Lines Matching refs:sps
92 const H265RawSPS *sps = unit->content; in h265_metadata_guess_level() local
94 ptl = &sps->profile_tier_level; in h265_metadata_guess_level()
95 max_dec_pic_buffering = sps->sps_max_dec_pic_buffering_minus1[0] + 1; in h265_metadata_guess_level()
97 width = sps->pic_width_in_luma_samples; in h265_metadata_guess_level()
98 height = sps->pic_height_in_luma_samples; in h265_metadata_guess_level()
100 if (sps->vui.vui_hrd_parameters_present_flag) in h265_metadata_guess_level()
101 hrd = &sps->vui.hrd_parameters; in h265_metadata_guess_level()
189 H265RawSPS *sps) in h265_metadata_update_sps() argument
215 sps->vui.aspect_ratio_idc = 255; in h265_metadata_update_sps()
216 sps->vui.sar_width = num; in h265_metadata_update_sps()
217 sps->vui.sar_height = den; in h265_metadata_update_sps()
219 sps->vui.aspect_ratio_idc = i; in h265_metadata_update_sps()
221 sps->vui.aspect_ratio_info_present_flag = 1; in h265_metadata_update_sps()
239 SET_OR_INFER(sps->vui.video_format, ctx->video_format, in h265_metadata_update_sps()
240 sps->vui.video_signal_type_present_flag, 5); in h265_metadata_update_sps()
242 SET_OR_INFER(sps->vui.video_full_range_flag, in h265_metadata_update_sps()
244 sps->vui.video_signal_type_present_flag, 0); in h265_metadata_update_sps()
250 SET_OR_INFER(sps->vui.colour_primaries, in h265_metadata_update_sps()
252 sps->vui.colour_description_present_flag, 2); in h265_metadata_update_sps()
254 SET_OR_INFER(sps->vui.transfer_characteristics, in h265_metadata_update_sps()
256 sps->vui.colour_description_present_flag, 2); in h265_metadata_update_sps()
258 SET_OR_INFER(sps->vui.matrix_coefficients, in h265_metadata_update_sps()
260 sps->vui.colour_description_present_flag, 2); in h265_metadata_update_sps()
262 sps->vui.colour_description_present_flag = 1; in h265_metadata_update_sps()
264 sps->vui.video_signal_type_present_flag = 1; in h265_metadata_update_sps()
269 sps->vui.chroma_sample_loc_type_top_field = in h265_metadata_update_sps()
271 sps->vui.chroma_sample_loc_type_bottom_field = in h265_metadata_update_sps()
273 sps->vui.chroma_loc_info_present_flag = 1; in h265_metadata_update_sps()
283 sps->vui.vui_time_scale = num; in h265_metadata_update_sps()
284 sps->vui.vui_num_units_in_tick = den; in h265_metadata_update_sps()
286 sps->vui.vui_timing_info_present_flag = 1; in h265_metadata_update_sps()
290 sps->vui.vui_num_ticks_poc_diff_one_minus1 = in h265_metadata_update_sps()
292 sps->vui.vui_poc_proportional_to_timing_flag = 1; in h265_metadata_update_sps()
294 sps->vui.vui_poc_proportional_to_timing_flag = 0; in h265_metadata_update_sps()
298 if (sps->separate_colour_plane_flag || sps->chroma_format_idc == 0) { in h265_metadata_update_sps()
302 crop_unit_x = 1 + (sps->chroma_format_idc < 3); in h265_metadata_update_sps()
303 crop_unit_y = 1 + (sps->chroma_format_idc < 2); in h265_metadata_update_sps()
312 sps->conf_win_ ## border ## _offset = \ in h265_metadata_update_sps()
314 sps->conformance_window_flag = 1; \ in h265_metadata_update_sps()
324 sps->vui_parameters_present_flag = 1; in h265_metadata_update_sps()
326 h265_metadata_update_level(bsf, &sps->profile_tier_level.general_level_idc); in h265_metadata_update_sps()