Home
last modified time | relevance | path

Searched refs:sps (Results 1 – 25 of 144) sorted by relevance

123456

/third_party/ffmpeg/libavcodec/
Dh264_ps.c108 SPS *sps) in decode_hrd_parameters() argument
125 sps->initial_cpb_removal_delay_length = get_bits(gb, 5) + 1; in decode_hrd_parameters()
126 sps->cpb_removal_delay_length = get_bits(gb, 5) + 1; in decode_hrd_parameters()
127 sps->dpb_output_delay_length = get_bits(gb, 5) + 1; in decode_hrd_parameters()
128 sps->time_offset_length = get_bits(gb, 5); in decode_hrd_parameters()
129 sps->cpb_cnt = cpb_count; in decode_hrd_parameters()
134 SPS *sps) in decode_vui_parameters() argument
144 sps->sar.num = get_bits(gb, 16); in decode_vui_parameters()
145 sps->sar.den = get_bits(gb, 16); in decode_vui_parameters()
147 sps->sar = ff_h264_pixel_aspect[aspect_ratio_idc]; in decode_vui_parameters()
[all …]
Dhevc_ps.c92 if (s->sps == (const HEVCSPS*)s->sps_list[id]->data) in remove_sps()
93 s->sps = NULL; in remove_sps()
100 av_assert0(!(s->sps_list[id] && s->sps == (HEVCSPS*)s->sps_list[id]->data)); in remove_sps()
120 ShortTermRPS *rps, const HEVCSPS *sps, int is_slice_header) in ff_hevc_decode_short_term_rps() argument
129 if (rps != sps->st_rps && sps->nb_st_rps) in ff_hevc_decode_short_term_rps()
141 if (delta_idx > sps->nb_st_rps) { in ff_hevc_decode_short_term_rps()
144 delta_idx, sps->nb_st_rps); in ff_hevc_decode_short_term_rps()
147 rps_ridx = &sps->st_rps[sps->nb_st_rps - delta_idx]; in ff_hevc_decode_short_term_rps()
150 rps_ridx = &sps->st_rps[rps - sps->st_rps - 1]; in ff_hevc_decode_short_term_rps()
589 int apply_defdispwin, HEVCSPS *sps) in decode_vui() argument
[all …]
Dnvdec_hevc.c46 &s->ps.pps->scaling_list : &s->ps.sps->scaling_list; in fill_scaling_lists()
75 const HEVCSPS *sps = s->ps.sps; in nvdec_hevc_start_frame() local
93 .PicWidthInMbs = sps->width / 16, in nvdec_hevc_start_frame()
94 .FrameHeightInMbs = sps->height / 16, in nvdec_hevc_start_frame()
100 .pic_width_in_luma_samples = sps->width, in nvdec_hevc_start_frame()
101 .pic_height_in_luma_samples = sps->height, in nvdec_hevc_start_frame()
102 .log2_min_luma_coding_block_size_minus3 = sps->log2_min_cb_size - 3, in nvdec_hevc_start_frame()
103 … .log2_diff_max_min_luma_coding_block_size = sps->log2_diff_max_min_coding_block_size, in nvdec_hevc_start_frame()
104 .log2_min_transform_block_size_minus2 = sps->log2_min_tb_size - 2, in nvdec_hevc_start_frame()
105 … .log2_diff_max_min_transform_block_size = sps->log2_max_trafo_size - sps->log2_min_tb_size, in nvdec_hevc_start_frame()
[all …]
Dvaapi_encode_h264.c287 H264RawSPS *sps = &priv->raw_sps; in vaapi_encode_h264_init_sequence_params() local
292 memset(sps, 0, sizeof(*sps)); in vaapi_encode_h264_init_sequence_params()
295 sps->nal_unit_header.nal_ref_idc = 3; in vaapi_encode_h264_init_sequence_params()
296 sps->nal_unit_header.nal_unit_type = H264_NAL_SPS; in vaapi_encode_h264_init_sequence_params()
298 sps->profile_idc = avctx->profile & 0xff; in vaapi_encode_h264_init_sequence_params()
302 sps->constraint_set1_flag = 1; in vaapi_encode_h264_init_sequence_params()
305 sps->constraint_set3_flag = ctx->gop_size == 1; in vaapi_encode_h264_init_sequence_params()
309 sps->constraint_set4_flag = 1; in vaapi_encode_h264_init_sequence_params()
310 sps->constraint_set5_flag = ctx->b_per_p == 0; in vaapi_encode_h264_init_sequence_params()
319 sps->level_idc = avctx->level; in vaapi_encode_h264_init_sequence_params()
[all …]
Dh265_metadata_bsf.c92 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()
[all …]
Dcbs_h264_syntax_template.c112 H264RawVUI *current, H264RawSPS *sps) in FUNC()
205 if ((sps->profile_idc == 44 || sps->profile_idc == 86 || in FUNC()
206 sps->profile_idc == 100 || sps->profile_idc == 110 || in FUNC()
207 sps->profile_idc == 122 || sps->profile_idc == 244) && in FUNC()
208 sps->constraint_set3_flag) { in FUNC()
222 H264RawSPS *sps) in FUNC()
246 if ((sps->profile_idc == 44 || sps->profile_idc == 86 || in FUNC()
247 sps->profile_idc == 100 || sps->profile_idc == 110 || in FUNC()
248 sps->profile_idc == 122 || sps->profile_idc == 244) && in FUNC()
249 sps->constraint_set3_flag) { in FUNC()
[all …]
Dvdpau_hevc.c47 const HEVCSPS *sps = h->ps.sps; in vdpau_hevc_start_frame() local
51 &pps->scaling_list : &sps->scaling_list; in vdpau_hevc_start_frame()
56 info->chroma_format_idc = sps->chroma_format_idc; in vdpau_hevc_start_frame()
57 info->separate_colour_plane_flag = sps->separate_colour_plane_flag; in vdpau_hevc_start_frame()
58 info->pic_width_in_luma_samples = sps->width; in vdpau_hevc_start_frame()
59 info->pic_height_in_luma_samples = sps->height; in vdpau_hevc_start_frame()
60 info->bit_depth_luma_minus8 = sps->bit_depth - 8; in vdpau_hevc_start_frame()
61 info->bit_depth_chroma_minus8 = sps->bit_depth - 8; in vdpau_hevc_start_frame()
62 info->log2_max_pic_order_cnt_lsb_minus4 = sps->log2_max_poc_lsb - 4; in vdpau_hevc_start_frame()
65 …info->sps_max_dec_pic_buffering_minus1 = sps->temporal_layer[sps->max_sub_layers - 1].max_dec_pic_… in vdpau_hevc_start_frame()
[all …]
Dhevcdec.c88 static int pic_arrays_init(HEVCContext *s, const HEVCSPS *sps) in pic_arrays_init() argument
90 int log2_min_cb_size = sps->log2_min_cb_size; in pic_arrays_init()
91 int width = sps->width; in pic_arrays_init()
92 int height = sps->height; in pic_arrays_init()
95 int ctb_count = sps->ctb_width * sps->ctb_height; in pic_arrays_init()
96 int min_pu_size = sps->min_pu_width * sps->min_pu_height; in pic_arrays_init()
106 s->skip_flag = av_malloc_array(sps->min_cb_height, sps->min_cb_width); in pic_arrays_init()
107 s->tab_ct_depth = av_malloc_array(sps->min_cb_height, sps->min_cb_width); in pic_arrays_init()
111 s->cbf_luma = av_malloc_array(sps->min_tb_width, sps->min_tb_height); in pic_arrays_init()
113 s->is_pcm = av_malloc_array(sps->min_pu_width + 1, sps->min_pu_height + 1); in pic_arrays_init()
[all …]
Dh264_metadata_bsf.c138 H264RawSPS *sps) in h264_metadata_update_sps() argument
164 sps->vui.aspect_ratio_idc = 255; in h264_metadata_update_sps()
165 sps->vui.sar_width = num; in h264_metadata_update_sps()
166 sps->vui.sar_height = den; in h264_metadata_update_sps()
168 sps->vui.aspect_ratio_idc = i; in h264_metadata_update_sps()
170 sps->vui.aspect_ratio_info_present_flag = 1; in h264_metadata_update_sps()
176 sps->vui.field = ctx->field; \ in h264_metadata_update_sps()
183 sps->vui.overscan_info_present_flag = 1; in h264_metadata_update_sps()
204 sps->vui.colour_description_present_flag = 1; in h264_metadata_update_sps()
206 sps->vui.video_signal_type_present_flag = 1; in h264_metadata_update_sps()
[all …]
Dhevc_filter.c63 if (s->ps.sps->chroma_format_idc == 1) { in chroma_tc()
81 int ctb_size_mask = (1 << s->ps.sps->log2_ctb_size) - 1; in get_qPy_pred()
82 int MinCuQpDeltaSizeMask = (1 << (s->ps.sps->log2_ctb_size - in get_qPy_pred()
86 int min_cb_width = s->ps.sps->min_cb_width; in get_qPy_pred()
87 int x_cb = xQgBase >> s->ps.sps->log2_min_cb_size; in get_qPy_pred()
88 int y_cb = yQgBase >> s->ps.sps->log2_min_cb_size; in get_qPy_pred()
115 av_assert2(qPy_a >= -s->ps.sps->qp_bd_offset && qPy_a < 52); in get_qPy_pred()
116 av_assert2(qPy_b >= -s->ps.sps->qp_bd_offset && qPy_b < 52); in get_qPy_pred()
126 int off = s->ps.sps->qp_bd_offset; in ff_hevc_set_qPy()
135 int log2_min_cb_size = s->ps.sps->log2_min_cb_size; in get_qPy()
[all …]
Ddxva2_hevc.c61 const HEVCSPS *sps = h->ps.sps; in fill_picture_parameters() local
67 pp->PicWidthInMinCbsY = sps->min_cb_width; in fill_picture_parameters()
68 pp->PicHeightInMinCbsY = sps->min_cb_height; in fill_picture_parameters()
70 pp->wFormatAndSequenceInfoFlags = (sps->chroma_format_idc << 0) | in fill_picture_parameters()
71 (sps->separate_colour_plane_flag << 2) | in fill_picture_parameters()
72 ((sps->bit_depth - 8) << 3) | in fill_picture_parameters()
73 ((sps->bit_depth - 8) << 6) | in fill_picture_parameters()
74 ((sps->log2_max_poc_lsb - 4) << 9) | in fill_picture_parameters()
81 …pp->sps_max_dec_pic_buffering_minus1 = sps->temporal_layer[sps->max_sub_layers - 1].max_de… in fill_picture_parameters()
82 pp->log2_min_luma_coding_block_size_minus3 = sps->log2_min_cb_size - 3; in fill_picture_parameters()
[all …]
Dvaapi_hevc.c123 const HEVCSPS *sps = h->ps.sps; in vaapi_hevc_start_frame() local
134 .pic_width_in_luma_samples = sps->width, in vaapi_hevc_start_frame()
135 .pic_height_in_luma_samples = sps->height, in vaapi_hevc_start_frame()
136 .log2_min_luma_coding_block_size_minus3 = sps->log2_min_cb_size - 3, in vaapi_hevc_start_frame()
137 ….sps_max_dec_pic_buffering_minus1 = sps->temporal_layer[sps->max_sub_layers - 1].max_d… in vaapi_hevc_start_frame()
138 .log2_diff_max_min_luma_coding_block_size = sps->log2_diff_max_min_coding_block_size, in vaapi_hevc_start_frame()
139 .log2_min_transform_block_size_minus2 = sps->log2_min_tb_size - 2, in vaapi_hevc_start_frame()
140 … .log2_diff_max_min_transform_block_size = sps->log2_max_trafo_size - sps->log2_min_tb_size, in vaapi_hevc_start_frame()
141 .max_transform_hierarchy_depth_inter = sps->max_transform_hierarchy_depth_inter, in vaapi_hevc_start_frame()
142 .max_transform_hierarchy_depth_intra = sps->max_transform_hierarchy_depth_intra, in vaapi_hevc_start_frame()
[all …]
Dvaapi_encode_h265.c247 H265RawSPS *sps = &priv->raw_sps; in vaapi_encode_h265_init_sequence_params() local
250 H265RawVUI *vui = &sps->vui; in vaapi_encode_h265_init_sequence_params()
258 memset(sps, 0, sizeof(*sps)); in vaapi_encode_h265_init_sequence_params()
371 sps->nal_unit_header = (H265RawNALUnitHeader) { in vaapi_encode_h265_init_sequence_params()
377 sps->sps_video_parameter_set_id = vps->vps_video_parameter_set_id; in vaapi_encode_h265_init_sequence_params()
379 sps->sps_max_sub_layers_minus1 = vps->vps_max_sub_layers_minus1; in vaapi_encode_h265_init_sequence_params()
380 sps->sps_temporal_id_nesting_flag = vps->vps_temporal_id_nesting_flag; in vaapi_encode_h265_init_sequence_params()
382 sps->profile_tier_level = vps->profile_tier_level; in vaapi_encode_h265_init_sequence_params()
384 sps->sps_seq_parameter_set_id = 0; in vaapi_encode_h265_init_sequence_params()
386 sps->chroma_format_idc = chroma_format; in vaapi_encode_h265_init_sequence_params()
[all …]
Dnvdec_h264.c52 const SPS *sps = h->ps.sps; in nvdec_h264_start_frame() local
80 .log2_max_frame_num_minus4 = sps->log2_max_frame_num - 4, in nvdec_h264_start_frame()
81 .pic_order_cnt_type = sps->poc_type, in nvdec_h264_start_frame()
82 .log2_max_pic_order_cnt_lsb_minus4 = FFMAX(sps->log2_max_poc_lsb - 4, 0), in nvdec_h264_start_frame()
83 .delta_pic_order_always_zero_flag = sps->delta_pic_order_always_zero_flag, in nvdec_h264_start_frame()
84 .frame_mbs_only_flag = sps->frame_mbs_only_flag, in nvdec_h264_start_frame()
85 .direct_8x8_inference_flag = sps->direct_8x8_inference_flag, in nvdec_h264_start_frame()
86 .num_ref_frames = sps->ref_frame_count, in nvdec_h264_start_frame()
87 .residual_colour_transform_flag = sps->residual_color_transform_flag, in nvdec_h264_start_frame()
88 .bit_depth_luma_minus8 = sps->bit_depth_luma - 8, in nvdec_h264_start_frame()
[all …]
Dh264_parser.c207 ff_h264_pred_weight_table(gb, p->ps.sps, ref_count, slice_type_nos, in scan_mmco_reset()
277 const SPS *sps; in parse_nal_units() local
365 p->ps.sps = NULL; in parse_nal_units()
370 p->ps.sps = p->ps.pps->sps; in parse_nal_units()
371 sps = p->ps.sps; in parse_nal_units()
374 …if (p->ps.sps->ref_frame_count <= 1 && p->ps.pps->ref_count[0] <= 1 && s->pict_type == AV_PICTURE_… in parse_nal_units()
377 p->poc.frame_num = get_bits(&nal.gb, sps->log2_max_frame_num); in parse_nal_units()
379 s->coded_width = 16 * sps->mb_width; in parse_nal_units()
380 s->coded_height = 16 * sps->mb_height; in parse_nal_units()
381 s->width = s->coded_width - (sps->crop_right + sps->crop_left); in parse_nal_units()
[all …]
/third_party/ffmpeg/libavformat/
Davc.c112 uint8_t *sps, *pps, *sps_ext; in ff_isom_write_avcc() local
178 sps_size = avio_get_dyn_buf(sps_pb, &sps); in ff_isom_write_avcc()
188 avio_w8(pb, sps[3]); /* profile */ in ff_isom_write_avcc()
189 avio_w8(pb, sps[4]); /* profile compat */ in ff_isom_write_avcc()
190 avio_w8(pb, sps[5]); /* level */ in ff_isom_write_avcc()
194 avio_write(pb, sps, sps_size); in ff_isom_write_avcc()
198 if (sps[3] != 66 && sps[3] != 77 && sps[3] != 88) { in ff_isom_write_avcc()
200 ret = ff_avc_decode_sps(&seq, sps + 3, sps_size - 3); in ff_isom_write_avcc()
334 int ff_avc_decode_sps(H264SPS *sps, const uint8_t *buf, int buf_size) in ff_avc_decode_sps() argument
351 memset(sps, 0, sizeof(*sps)); in ff_avc_decode_sps()
[all …]
/third_party/mesa3d/src/gallium/frontends/omx/
Dvid_dec_h264_common.c59 templat.level = priv->picture.h264.pps->sps->level_idc; in vid_dec_h264_BeginFrame()
70 priv->picture.h264.num_ref_frames = priv->picture.h264.pps->sps->max_num_ref_frames; in vid_dec_h264_BeginFrame()
192 if (id >= ARRAY_SIZE(priv->codec_data.h264.sps)) in seq_parameter_set_id()
195 return &priv->codec_data.h264.sps[id]; in seq_parameter_set_id()
200 struct pipe_h264_sps *sps; in seq_parameter_set() local
231 sps = seq_parameter_set_id(priv, rbsp); in seq_parameter_set()
232 if (!sps) in seq_parameter_set()
235 memset(sps, 0, sizeof(*sps)); in seq_parameter_set()
236 memset(sps->ScalingList4x4, 16, sizeof(sps->ScalingList4x4)); in seq_parameter_set()
237 memset(sps->ScalingList8x8, 16, sizeof(sps->ScalingList8x8)); in seq_parameter_set()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgsth264parser.c177 GstH264SPS *sps; in gst_h264_parser_get_sps() local
179 sps = &nalparser->sps[sps_id]; in gst_h264_parser_get_sps()
181 if (sps->valid) in gst_h264_parser_get_sps()
182 return sps; in gst_h264_parser_get_sps()
420 gst_h264_parse_vui_parameters (GstH264SPS * sps, NalReader * nr) in gst_h264_parse_vui_parameters() argument
422 GstH264VUIParams *vui = &sps->vui_parameters; in gst_h264_parse_vui_parameters()
862 GstH264SPS *sps; in gst_h264_parser_parse_buffering_period() local
868 sps = gst_h264_parser_get_sps (nalparser, sps_id); in gst_h264_parser_parse_buffering_period()
869 if (!sps) { in gst_h264_parser_parse_buffering_period()
874 per->sps = sps; in gst_h264_parser_parse_buffering_period()
[all …]
Dgsth265parser.c209 GstH265SPS *sps; in gst_h265_parser_get_sps() local
211 sps = &parser->sps[sps_id]; in gst_h265_parser_get_sps()
213 if (sps->valid) in gst_h265_parser_get_sps()
214 return sps; in gst_h265_parser_get_sps()
494 gst_h265_parse_vui_parameters (GstH265SPS * sps, NalReader * nr) in gst_h265_parse_vui_parameters() argument
496 GstH265VUIParams *vui = &sps->vui_params; in gst_h265_parse_vui_parameters()
512 if (sps && sps->profile_tier_level.progressive_source_flag in gst_h265_parse_vui_parameters()
513 && sps->profile_tier_level.interlaced_source_flag) in gst_h265_parse_vui_parameters()
584 sps->max_sub_layers_minus1)) in gst_h265_parse_vui_parameters()
771 stRPS, NalReader * nr, guint8 stRpsIdx, GstH265SPS * sps) in gst_h265_parser_parse_short_term_ref_pic_sets() argument
[all …]
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_h265.c214 struct vl_rbsp *rbsp, struct pipe_h265_sps *sps) in scaling_list_data() argument
223 (uint8_t (*)[6][64])sps->ScalingList8x8, in scaling_list_data()
224 (uint8_t (*)[6][64])sps->ScalingList16x16, in scaling_list_data()
225 (uint8_t (*)[6][64])sps->ScalingList32x32 in scaling_list_data()
228 (uint8_t (*)[6])sps->ScalingListDCCoeff16x16, in scaling_list_data()
229 (uint8_t (*)[6])sps->ScalingListDCCoeff32x32 in scaling_list_data()
284 memcpy(sps->ScalingList4x4[i], scaling_list4x4[i], 16); in scaling_list_data()
290 struct ref_pic_set *rps, struct pipe_h265_sps *sps, in st_ref_pic_set() argument
307 if (idx == sps->num_short_term_ref_pic_sets) in st_ref_pic_set()
400 if (id >= ARRAY_SIZE(priv->codec_data.h265.sps)) in seq_parameter_set_id()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_video_encoder_bitstream_builder_h264.cpp225 d3d12_video_bitstream_builder_h264::print_sps(const H264_SPS &sps) in print_sps() argument
238 debug_printf("profile_idc: %d\n", sps.profile_idc); in print_sps()
239 debug_printf("constraint_set3_flag: %d\n", sps.constraint_set3_flag); in print_sps()
240 debug_printf("level_idc: %d\n", sps.level_idc); in print_sps()
241 debug_printf("seq_parameter_set_id: %d\n", sps.seq_parameter_set_id); in print_sps()
242 debug_printf("bit_depth_luma_minus8: %d\n", sps.bit_depth_luma_minus8); in print_sps()
243 debug_printf("bit_depth_chroma_minus8: %d\n", sps.bit_depth_chroma_minus8); in print_sps()
244 debug_printf("log2_max_frame_num_minus4: %d\n", sps.log2_max_frame_num_minus4); in print_sps()
245 debug_printf("pic_order_cnt_type: %d\n", sps.pic_order_cnt_type); in print_sps()
246 debug_printf("log2_max_pic_order_cnt_lsb_minus4: %d\n", sps.log2_max_pic_order_cnt_lsb_minus4); in print_sps()
[all …]
/third_party/mesa3d/src/gallium/frontends/va/
Dpicture_hevc.c37 context->desc.h265.pps->sps->chroma_format_idc = hevc->pic_fields.bits.chroma_format_idc; in vlVaHandlePictureParameterBufferHEVC()
38 context->desc.h265.pps->sps->separate_colour_plane_flag = in vlVaHandlePictureParameterBufferHEVC()
40 context->desc.h265.pps->sps->pic_width_in_luma_samples = hevc->pic_width_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC()
41 context->desc.h265.pps->sps->pic_height_in_luma_samples = hevc->pic_height_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC()
42 context->desc.h265.pps->sps->bit_depth_luma_minus8 = hevc->bit_depth_luma_minus8; in vlVaHandlePictureParameterBufferHEVC()
43 context->desc.h265.pps->sps->bit_depth_chroma_minus8 = hevc->bit_depth_chroma_minus8; in vlVaHandlePictureParameterBufferHEVC()
44 context->desc.h265.pps->sps->log2_max_pic_order_cnt_lsb_minus4 = in vlVaHandlePictureParameterBufferHEVC()
46 context->desc.h265.pps->sps->sps_max_dec_pic_buffering_minus1 = in vlVaHandlePictureParameterBufferHEVC()
48 context->desc.h265.pps->sps->log2_min_luma_coding_block_size_minus3 = in vlVaHandlePictureParameterBufferHEVC()
50 context->desc.h265.pps->sps->log2_diff_max_min_luma_coding_block_size = in vlVaHandlePictureParameterBufferHEVC()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvah264dec.c249 GstH264SPS *sps; in _fill_pred_weight_table() local
254 sps = pps->sequence; in _fill_pred_weight_table()
281 slice_param->chroma_weight_l0_flag = sps->chroma_array_type != 0; in _fill_pred_weight_table()
304 slice_param->chroma_weight_l1_flag = sps->chroma_array_type != 0; in _fill_pred_weight_table()
379 GstH264SPS *sps; in gst_va_h264_dec_start_picture() local
390 sps = pps->sequence; in gst_va_h264_dec_start_picture()
396 .picture_width_in_mbs_minus1 = sps->pic_width_in_mbs_minus1, in gst_va_h264_dec_start_picture()
398 ((sps->pic_height_in_map_units_minus1 + 1) << in gst_va_h264_dec_start_picture()
399 !sps->frame_mbs_only_flag) -1, in gst_va_h264_dec_start_picture()
400 .bit_depth_luma_minus8 = sps->bit_depth_luma_minus8, in gst_va_h264_dec_start_picture()
[all …]
Dgstvah265dec.c365 if (pps->sps->chroma_array_type != 0) in _fill_pred_weight_table()
567 GstH265SPS * sps, GstH265PPS * pps) in _fill_picture_range_ext_parameter() argument
571 GstH265SPSExtensionParams *sps_ext = &sps->sps_extnsion_params; in _fill_picture_range_ext_parameter()
605 GstH265SPS * sps, GstH265PPS * pps) in _fill_screen_content_ext_parameter() argument
609 const GstH265SPSSccExtensionParams *sps_scc = &sps->sps_scc_extension_params; in _fill_screen_content_ext_parameter()
632 num_comps = sps->chroma_format_idc ? 3 : 1; in _fill_screen_content_ext_parameter()
657 GstH265SPS *sps; in gst_va_h265_dec_start_picture() local
670 sps = pps->sps; in gst_va_h265_dec_start_picture()
674 .pic_width_in_luma_samples = sps->pic_width_in_luma_samples, in gst_va_h265_dec_start_picture()
675 .pic_height_in_luma_samples = sps->pic_height_in_luma_samples, in gst_va_h265_dec_start_picture()
[all …]
/third_party/mesa3d/src/gallium/frontends/vdpau/
Ddecode.c357 picture->pps->sps->mb_adaptive_frame_field_flag = picture_info->mb_adaptive_frame_field_flag; in vlVdpDecoderRenderH264()
358 picture->pps->sps->frame_mbs_only_flag = picture_info->frame_mbs_only_flag; in vlVdpDecoderRenderH264()
359 picture->pps->sps->log2_max_frame_num_minus4 = picture_info->log2_max_frame_num_minus4; in vlVdpDecoderRenderH264()
360 picture->pps->sps->pic_order_cnt_type = picture_info->pic_order_cnt_type; in vlVdpDecoderRenderH264()
361 …picture->pps->sps->log2_max_pic_order_cnt_lsb_minus4 = picture_info->log2_max_pic_order_cnt_lsb_mi… in vlVdpDecoderRenderH264()
362 …picture->pps->sps->delta_pic_order_always_zero_flag = picture_info->delta_pic_order_always_zero_fl… in vlVdpDecoderRenderH264()
363 picture->pps->sps->direct_8x8_inference_flag = picture_info->direct_8x8_inference_flag; in vlVdpDecoderRenderH264()
364 picture->pps->sps->level_idc = level_idc; in vlVdpDecoderRenderH264()
365 …picture->pps->sps->MinLumaBiPredSize8x8 = (level_idc >= 31); /* See section A.3.3.2 of H264 spec *… in vlVdpDecoderRenderH264()
420 picture->pps->sps->chroma_format_idc = picture_info->chroma_format_idc; in vlVdpDecoderRenderH265()
[all …]

123456