libs: video-format: Refine the video format mapping.
authorHe Junyan <junyan.he@hotmail.com>
Thu, 5 Sep 2019 06:48:22 +0000 (14:48 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 6 Sep 2019 16:43:14 +0000 (16:43 +0000)
commit32bf6f1e092cedac39361c8ccff944e74f7d784e
tree2977d8bd2065099120753a3fae36aa5247b4eb09
parenta90daabb84f983d2fa05ff3159f7ad59aa648b55
libs: video-format: Refine the video format mapping.

Improve the mapping between va format and gst format. The new map
will be generated dynamically, based on the query result of image
format in VA driver. Also consider the ambiguity of RGB color
format in LSB mode.
gst-libs/gst/vaapi/gstvaapidisplay.c
gst-libs/gst/vaapi/video-format.c
gst-libs/gst/vaapi/video-format.h