va: Improve the default mapping between rt_format and video format.
authorHe Junyan <junyan.he@intel.com>
Wed, 16 Jun 2021 08:56:14 +0000 (16:56 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Jun 2021 14:12:59 +0000 (14:12 +0000)
commit8d7e6bfb86824f8d71cee192ac18026790b78171
tree83d4118676f1813fe5698008b978fd83cb489e8a
parent0849583210f0454600e1fec12809dfb164b425a4
va: Improve the default mapping between rt_format and video format.

We add 12 bits entries into this default mapping. And the old mapping
is not precise. For example, the NV12 should not be used as the default
mapping for VA_RT_FORMAT_YUV422 and VA_RT_FORMAT_YUV444, it is even not
a 422 or 444 format.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2332>
sys/va/gstvabasedec.c