va: vpp: Improve the color properties setting.
authorHe Junyan <junyan.he@intel.com>
Thu, 8 Jul 2021 08:49:27 +0000 (16:49 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 8 Jul 2021 13:36:05 +0000 (13:36 +0000)
commitcbb1096c52a7b0631ca89348b198f62a7ef81a8b
tree03ae5c404816b8e0cd2af0884fc4b86e51c9f47c
parentf57370c4db96827b061932aa958415c1eb62c100
va: vpp: Improve the color properties setting.

The current setting of color properties are not very correct and
we will get some kind of "unknown Color Standard for YUV format"
warnings printed out by drivers. The video-color already provides
some standard APIs for us, and we can use them directly.
We also change the logic to: Finding the exactly match or explicit
standard first. If not found, we continue to find the most similar
one.

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