v4l2codecs: h264: Implement optional scaling matrix
authorEzequiel Garcia <ezequiel@collabora.com>
Fri, 14 Aug 2020 13:13:09 +0000 (10:13 -0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 2 Mar 2021 22:03:34 +0000 (22:03 +0000)
commit1c082b79e15f0439d1f135b89272d31eaa51db7b
treea406a86060e01e6d85e6c17560f86a8117140d4c
parent78756ecba9087817da6894d1fb134832cda557e7
v4l2codecs: h264: Implement optional scaling matrix

The new H.264 uAPI requires that all drivers support
scaling matrix only as an option, when a non-flat
scaling matrix is provided in the bitstream headers.

Take advantage of this and avoid passing the scaling
matrix if not needed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1624>
sys/v4l2codecs/gstv4l2codech264dec.c