context: add support for non-YUV 4:2:0 formats.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 25 Apr 2014 11:45:31 +0000 (13:45 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 25 Apr 2014 17:24:07 +0000 (19:24 +0200)
commit519f0e6b8adb76ffeaac51bd98f694e294484290
tree1239d1c1da842aae471ed60ffb04ec0e2da31e21
parentf2b0d02168e73feaae0023ccf864cea4805a0b88
context: add support for non-YUV 4:2:0 formats.

Don't force allocation of VA surfaces in YUV 4:2:0 format. Rather, allow
for the upper layer to specify the desired chroma type. If the chroma
type field is not set (or yields zero), then YUV 4:2:0 format is used
by default.
gst-libs/gst/vaapi/gstvaapicontext.c
gst-libs/gst/vaapi/gstvaapicontext.h