Nicolas Dufresne
5ece17ecbd
v4l2slvp8dec: Flip the meaning of segment_feature_mode
...
In section 9.3.4 a), segment_feature_mode have 0 for absolute and 1 for delta,
while in 19.2, it says the opposite. But the reference code, which usually
rules over the text state that 1 means absolute:
if (hdr->update_data)
{
hdr->abs = bool_get_bit(bool);
And uses it with that meaning to decide weither to override the existing value
or just add the detla. This fixes multiple decoding issues.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1245 >
2020-05-05 17:57:08 +00:00
Nicolas Dufresne
11c62eb015
v4l2slvp8dec: Copy header version
...
This field was not copied.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1245 >
2020-05-05 17:57:08 +00:00
Nicolas Dufresne
8c56822936
v4l2slvp8dec: Add debugging for reference frames
...
This simply trace the frame number of the references used for decoding.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1245 >
2020-05-05 17:57:08 +00:00
Nicolas Dufresne
a449815f95
v4l2slvp8dec: Ensure width/height is always set
...
Our parser strictly read the bitstream. As it's known from DXVA that always
having a valid width/height might be needed, use the cached width/height
instead of the value from the parser. This didn't impact Hantro driver.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1245 >
2020-05-05 17:57:08 +00:00
Nicolas Dufresne
ffd74fb5ec
v4l2slvp8dec: Fix debug category name
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1245 >
2020-05-05 17:57:08 +00:00
Nicolas Dufresne
bf9f82c8c3
v4l2codecs: Factor out plugin registration
...
This introduce a common place for generic functions and factor out the plugin
registration code. This code is nearly identical between implementation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1216 >
2020-04-28 22:53:11 +00:00
Nicolas Dufresne
72c0b3e5ae
v4l2codecs: Add VP8 decoder
...
This is derived from the H264 decoder, some boiler plate will be factored out
in the following commits.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1216 >
2020-04-28 22:53:11 +00:00