surface: allow creation with explicit pixel format.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 9 Jul 2013 17:08:37 +0000 (19:08 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 10 Jul 2013 15:03:47 +0000 (17:03 +0200)
commita1b27c920b6c03d7770ece1ab6ec77a31a95559f
tree5e3bc25ecdbf6658523b34a16af98a3a0be861dd
parente3da054e482b85a80c4e323db1195237f8dd32ce
surface: allow creation with explicit pixel format.

Make it possible to create VA surfaces with a specific pixel format.
This is a new capability brought in by VA-API >= 0.34.0. If that
capability is not built-in (e.g. using VA-API < 0.34.0), then
gst_vaapi_surface_new_with_format() will return NULL.
docs/reference/libs/libs-sections.txt
gst-libs/gst/vaapi/gstvaapisurface.c
gst-libs/gst/vaapi/gstvaapisurface.h
gst-libs/gst/vaapi/gstvaapisurface_priv.h