gstreamer/gst-libs/gst
Víctor Manuel Jáquez Leal 9ff332e15d codecs: h264decoder: update max_dpb_frames only if VUI is present
There are some streams, with HRD, where the the calculated
max_dpb_frames is zero (max_dpb_mbs is less than size mb). In order to
get the dbp size it is required to rely on the VUI parameters if they
are present.

According to the spec Annex E.2.1

**max_dec_frame_buffering** specifies the required size of the HRD
decoded picture buffer (DPB) in units of frame buffers.  It is a
requirement of bitstream conformance that the coded video sequence
shall not require a decoded picture buffer with size of more than
Max(1, max_dec_frame_buffering) frame buffers to enable the output of
decoded pictures at the output times specified by dpb_output_delay of
the picture timing SEI messages. The value of max_dec_frame_buffering
shall be greater than or equal to max_num_ref_frames. An upper bound
for the value of max_dec_frame_buffering is specified by the level
limits in clauses A.3.1, A.3.2, G.10.2.1, and H.10.2.

When the max_dec_frame_buffering syntax element is not present, the
value of max_dec_frame_buffering shall be inferred as follows:

– If profile_idc is equal to 44, 86, 100, 110, 122, or 244 and
constraint_set3_flag is equal to 1, the value of
max_dec_frame_buffering shall be inferred to be equal to 0.

– Otherwise (profile_idc is not equal to 44, 86, 100, 110, 122, or 244
or constraint_set3_flag is equal to 0), the value of
max_dec_frame_buffering shall be inferred to be equal to MaxDpbFrames.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1381>
2020-06-27 14:05:25 +02:00
..
adaptivedemux adaptivedemux: Handle live duration queries 2020-06-08 08:44:27 +00:00
audio openmpt: Namespace enum GType names 2020-06-23 13:02:57 -04:00
basecamerabinsrc docs: Unmark wrongly marked plugin API types 2020-06-23 13:02:57 -04:00
codecparsers nalutils: Improve slightly the error trace 2020-06-20 19:47:49 +00:00
codecs codecs: h264decoder: update max_dpb_frames only if VUI is present 2020-06-27 14:05:25 +02:00
insertbin Remove autotools build system 2019-10-14 13:54:27 +01:00
interfaces photography: Add additional settings relevant to Android 2019-11-18 23:10:04 +00:00
isoff Remove autotools build system 2019-10-14 13:54:27 +01:00
mpegts tsdemux: Add support for AC4 2020-03-09 21:54:09 +00:00
opencv docs: generate documentation for libgstopencv 2020-06-23 12:10:17 -04:00
player remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
sctp Remove autotools build system 2019-10-14 13:54:27 +01:00
transcoder remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
uridownloader remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
vulkan docs: mark more types as plugin API 2020-06-23 12:10:17 -04:00
wayland build: Fix build on systems with wayland-client headers in non-default location 2020-03-04 07:10:39 +00:00
webrtc webrtc: Add Since: 1.18 markers to the new datachannel library API 2020-06-03 10:32:00 +03:00
gettext.h Fix FSF address 2012-11-04 00:09:59 +00:00
glib-compat-private.h Update GLib dependency to 2.40.0 2015-10-02 22:24:19 +03:00
gst-i18n-plugin.h Fix FSF address 2012-11-04 00:09:59 +00:00
meson.build Move CODEC base classes into it's own library 2020-03-05 03:06:16 +00:00