videodecoder: add API to receive subframes
authorStéphane Cerveau <scerveau@collabora.com>
Tue, 24 Sep 2019 15:14:10 +0000 (17:14 +0200)
committerStéphane Cerveau <scerveau@collabora.com>
Thu, 8 Jul 2021 11:19:21 +0000 (13:19 +0200)
commit63de6d564ea73aba9d301372b15aca17212335f0
treeaf3854106d2cf06c5aee2e5564cbd6f6d88c931b
parentaa34710bb6975f0ab7f25cb17c4f93366f8f01e1
videodecoder: add API to receive subframes

A video decoder can now receive subframes and start decoding
instead of waiting for the full frame to be complete.
Subframe support will reduce latency as described in the
video encoder base class.

A unit test illustrating this API is available in
tests/check/libs/videodecoder.c.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/454>
gst-libs/gst/video/gstvideodecoder.c
gst-libs/gst/video/gstvideodecoder.h
gst-libs/gst/video/gstvideoutils.h
tests/check/libs/videodecoder.c