Home
last modified time | relevance | path

Searched refs:max_dpb_size (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh265_profile_level.c204 int max_br, max_dpb_size; in ff_h265_guess_level() local
233 max_dpb_size = FFMIN(4 * profile->max_dpb_pic_buf, 16); in ff_h265_guess_level()
235 max_dpb_size = FFMIN(2 * profile->max_dpb_pic_buf, 16); in ff_h265_guess_level()
237 max_dpb_size = FFMIN(4 * profile->max_dpb_pic_buf / 3, 16); in ff_h265_guess_level()
239 max_dpb_size = profile->max_dpb_pic_buf; in ff_h265_guess_level()
240 if (max_dec_pic_buffering > max_dpb_size) in ff_h265_guess_level()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvh264dec.c111 gint max_dpb_size; member
140 const GstH264SPS * sps, gint max_dpb_size);
256 self->max_dpb_size = 0; in gst_d3d11_h264_dec_reset()
357 gint max_dpb_size) in gst_nv_h264_dec_new_sequence() argument
404 if (self->max_dpb_size < max_dpb_size) { in gst_nv_h264_dec_new_sequence()
406 self->max_dpb_size, max_dpb_size); in gst_nv_h264_dec_new_sequence()
437 self->max_dpb_size = max_dpb_size; in gst_nv_h264_dec_new_sequence()
443 max_dpb_size + 4)) { in gst_nv_h264_dec_new_sequence()
Dgstnvdec.c293 gint max_dpb_size; in calculate_num_decode_surface() local
302 max_dpb_size = MaxDpbPicBuf * 4; in calculate_num_decode_surface()
304 max_dpb_size = MaxDpbPicBuf * 2; in calculate_num_decode_surface()
306 max_dpb_size = (MaxDpbPicBuf * 4) / 3; in calculate_num_decode_surface()
308 max_dpb_size = MaxDpbPicBuf; in calculate_num_decode_surface()
310 max_dpb_size = MIN (max_dpb_size, 16); in calculate_num_decode_surface()
312 return max_dpb_size + 4; in calculate_num_decode_surface()
Dgstnvh265dec.c134 const GstH265SPS * sps, gint max_dpb_size);
309 gint max_dpb_size) in gst_nv_h265_dec_new_sequence() argument
390 max_dpb_size + 2)) { in gst_nv_h265_dec_new_sequence()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11h264dec.cpp106 gint max_dpb_size = 0; member
146 const GstH264SPS * sps, gint max_dpb_size);
267 inner->max_dpb_size = 0; in gst_d3d11_h264_dec_reset()
372 const GstH264SPS * sps, gint max_dpb_size) in gst_d3d11_h264_dec_new_sequence() argument
420 if (inner->max_dpb_size < max_dpb_size) { in gst_d3d11_h264_dec_new_sequence()
422 inner->max_dpb_size, max_dpb_size); in gst_d3d11_h264_dec_new_sequence()
454 inner->max_dpb_size = max_dpb_size; in gst_d3d11_h264_dec_new_sequence()
459 max_dpb_size + 4)) { in gst_d3d11_h264_dec_new_sequence()
Dgstd3d11h265dec.cpp117 const GstH265SPS * sps, gint max_dpb_size);
320 const GstH265SPS * sps, gint max_dpb_size) in gst_d3d11_h265_dec_new_sequence() argument
412 max_dpb_size + 4)) { in gst_d3d11_h265_dec_new_sequence()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/
Dgsth265decoder.c293 gint max_dpb_size; in gst_h265_decoder_process_sps() local
307 max_dpb_size = MaxDpbPicBuf * 4; in gst_h265_decoder_process_sps()
309 max_dpb_size = MaxDpbPicBuf * 2; in gst_h265_decoder_process_sps()
311 max_dpb_size = (MaxDpbPicBuf * 4) / 3; in gst_h265_decoder_process_sps()
313 max_dpb_size = MaxDpbPicBuf; in gst_h265_decoder_process_sps()
315 max_dpb_size = MIN (max_dpb_size, 16); in gst_h265_decoder_process_sps()
325 prev_max_dpb_size != max_dpb_size || in gst_h265_decoder_process_sps()
337 prev_max_dpb_size, max_dpb_size, priv->field_seq_flag, field_seq_flag, in gst_h265_decoder_process_sps()
343 ret = klass->new_sequence (self, sps, max_dpb_size); in gst_h265_decoder_process_sps()
360 gst_h265_dpb_set_max_num_pics (priv->dpb, max_dpb_size); in gst_h265_decoder_process_sps()
[all …]
Dgsth264decoder.c2327 gint max_dpb_size) in gst_h264_decoder_set_latency() argument
2361 frames_delay = max_dpb_size; in gst_h264_decoder_set_latency()
2380 max = gst_util_uint64_scale_int ((max_dpb_size + priv->preferred_output_delay) in gst_h264_decoder_set_latency()
2398 gint max_dpb_size; in gst_h264_decoder_process_sps() local
2453 max_dpb_size = MAX (max_dpb_frames, sps->num_ref_frames); in gst_h264_decoder_process_sps()
2454 if (max_dpb_size > GST_H264_DPB_MAX_SIZE) { in gst_h264_decoder_process_sps()
2455 GST_WARNING_OBJECT (self, "Too large calculated DPB size %d", max_dpb_size); in gst_h264_decoder_process_sps()
2456 max_dpb_size = GST_H264_DPB_MAX_SIZE; in gst_h264_decoder_process_sps()
2460 g_return_val_if_fail (max_dpb_size <= GST_H264_DPB_MAX_SIZE, GST_FLOW_ERROR); in gst_h264_decoder_process_sps()
2465 prev_max_dpb_size != max_dpb_size || prev_interlaced != interlaced) { in gst_h264_decoder_process_sps()
[all …]
Dgsth264decoder.h125 gint max_dpb_size);
Dgsth265decoder.h99 gint max_dpb_size);
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvah264dec.c608 _get_profile (GstVaH264Dec * self, const GstH264SPS * sps, gint max_dpb_size) in _get_profile() argument
647 if (max_dpb_size <= 16 /* && i965 driver */ ) { in _get_profile()
666 gint max_dpb_size) in gst_va_h264_dec_new_sequence() argument
678 if (self->dpb_size < max_dpb_size) in gst_va_h264_dec_new_sequence()
679 self->dpb_size = max_dpb_size; in gst_va_h264_dec_new_sequence()
694 profile = _get_profile (self, sps, max_dpb_size); in gst_va_h264_dec_new_sequence()
Dgstvah265dec.c988 _get_profile (GstVaH265Dec * self, const GstH265SPS * sps, gint max_dpb_size) in _get_profile() argument
1047 gint max_dpb_size) in gst_va_h265_dec_new_sequence() argument
1058 if (self->dpb_size < max_dpb_size) in gst_va_h265_dec_new_sequence()
1059 self->dpb_size = max_dpb_size; in gst_va_h265_dec_new_sequence()
1074 profile = _get_profile (self, sps, max_dpb_size); in gst_va_h265_dec_new_sequence()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2codech264dec.c832 const GstH264SPS * sps, gint max_dpb_size) in gst_v4l2_codec_h264_dec_new_sequence() argument
844 if (self->min_pool_size < max_dpb_size) { in gst_v4l2_codec_h264_dec_new_sequence()
845 self->min_pool_size = max_dpb_size; in gst_v4l2_codec_h264_dec_new_sequence()
/third_party/gstreamer/gstplugins_bad/
DChangeLog13694 - max_dpb_size is now 6
13697 - max_dpb_size should be updated to 1, but it didn't happen (BUG)
13700 because we didn't update max_dpb_size at 2).
28306 h265decoder: Pass max_dpb_size to new_sequence vfunc
28312 d3d11h264dec: Make use of max_dpb_size passed by baseclass
28437 codecs: Pass the max_dpb_size to new_segment virtual
28439 pre-allocate the needed buffers. Pass the max_dpb_size as this is needed to