gstreamer/sys/v4l2codecs
Nicolas Dufresne 1bef43f9d4 v4l2decoder: Track pending request
With the asynchronous slice decoding, we only queue up to 2 slices
per frames. That side effect is that now we are dequeuing bitstream
buffers in both decoding and presentation order. This would lead to
a bitstream buffer from a previous frame being dequeued instead of
the expected last slice buffer and lead to us trying to queue an
already queued bitstream buffer.

We now fix this by tracking pending requests. As request are executed
in decoding order, we marking a request done, we can effectively
dequeue bitstream buffer from all previous request, as they have been
executed already.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1395>
2020-07-02 12:21:51 -04:00
..
linux v4l2codecs: Update kernel headers 2020-05-19 17:51:11 +00:00
gstv4l2codecallocator.c v4l2codecs: allocator: use gst_clear_object 2020-04-20 12:23:32 +00:00
gstv4l2codecallocator.h v4l2codecs: allocator: Add method to wait for more buffers 2020-03-31 09:34:05 -04:00
gstv4l2codecdevice.c v4l2codecs: Fix compilation error on FreeBSD 2020-05-11 15:17:31 +00:00
gstv4l2codecdevice.h v4l2codecs: fix v4l2codecdevice get type 2020-04-10 21:05:19 +02:00
gstv4l2codech264dec.c v4l2slh264dec: Wait on previous pending request in slice mode 2020-07-02 12:21:51 -04:00
gstv4l2codech264dec.h v4l2codecs: Add skeleton of H264 decoder 2020-03-31 09:34:05 -04:00
gstv4l2codecpool.c v4l2codecs: Wait for buffers to come back 2020-03-31 09:34:05 -04:00
gstv4l2codecpool.h v4l2codec: Add initial GstVideoMeta support 2020-03-31 09:34:05 -04:00
gstv4l2codecvp8dec.c v4l2slh264dec: Request large enough bitstream buffer 2020-05-19 17:51:11 +00:00
gstv4l2codecvp8dec.h v4l2codecs: Add VP8 decoder 2020-04-28 22:53:11 +00:00
gstv4l2decoder.c v4l2decoder: Track pending request 2020-07-02 12:21:51 -04:00
gstv4l2decoder.h v4l2slh264dec: Request large enough bitstream buffer 2020-05-19 17:51:11 +00:00
gstv4l2format.c v4l2decoder: Add legacy non-multiplanar support 2020-05-19 17:51:11 +00:00
gstv4l2format.h v4l2format: Convert between V4L2 and GST video format 2020-03-31 09:34:05 -04:00
meson.build v4l2codecs: Fix compilation error on FreeBSD 2020-05-11 15:17:31 +00:00
plugin.c v4l2codecs: Add VP8 decoder 2020-04-28 22:53:11 +00:00