libs: factor out usages of vaGetConfigAttributes().
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 23 Jan 2014 17:41:24 +0000 (18:41 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 23 Jan 2014 17:51:59 +0000 (18:51 +0100)
commitdb7a3b8d3e179b055ca1b793d711e12ba6cee025
tree5651c4a6a49baf177d071568925bdeee564441fe
parent449727ea312e180e967e60fc01edc045b1987243
libs: factor out usages of vaGetConfigAttributes().

Add gst_vaapi_get_config_attribute() helper function that takes a
GstVaapiDisplay and the rest of the arguments with VA types. The aim
is to have thread-safe VA helpers by default.
gst-libs/gst/vaapi/Makefile.am
gst-libs/gst/vaapi/gstvaapicontext.c
gst-libs/gst/vaapi/gstvaapicontext.h
gst-libs/gst/vaapi/gstvaapiencoder.c
gst-libs/gst/vaapi/gstvaapiutils_core.c [new file with mode: 0644]
gst-libs/gst/vaapi/gstvaapiutils_core.h [new file with mode: 0644]