codecs: h264decoder: Add support for output delay
authorSeungha Yang <seungha@centricular.com>
Tue, 29 Dec 2020 10:54:35 +0000 (19:54 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 29 Jan 2021 16:22:28 +0000 (16:22 +0000)
commit86e312c1b1270b5f92fc9024f2e04d3dae8f0be8
tree3f96859ef1af8292fb213c7421292555d6bf3704
parenta417a761fdce4e75b06d20ce5ca0ab0f80aeac81
codecs: h264decoder: Add support for output delay

Some decoding APIs support delayed output or a command for decoding
a frame doesn't need to be sequential to corresponding command for
getting decoded frame. For instance, subclass might be able to
request decoding for multiple frames and then get for one (oldest)
decoded frame or so.
If aforementioned case is supported by specific decoding API,
delayed output might show better throughput performance.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1925>
gst-libs/gst/codecs/gsth264decoder.c
gst-libs/gst/codecs/gsth264decoder.h