videopool: add optional flags for surface pool allocation.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 27 Jan 2015 10:44:12 +0000 (11:44 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 27 Jan 2015 17:11:45 +0000 (18:11 +0100)
commit96ce1bc761b35d1dd49f99adc33c8c6ec451f37f
treea0a3c559a00ba5b809d18a89fd6dd8c72aa0d228
parente4e43cd842868c7acbcab80a73c319d9cea7dffa
videopool: add optional flags for surface pool allocation.

Reword surface pool allocation helpers so that to allow for a simple
form, e.g. gst_vaapi_surface_pool_new(format, width, height); and a
somewhat more elaborated/flexible form with optional allocation flags
and precise GstVideoInfo specification.

This is an API/ABI change, and SONAME version needs to be bumped.
gst-libs/gst/vaapi/gstvaapicontext.c
gst-libs/gst/vaapi/gstvaapisurfacepool.c
gst-libs/gst/vaapi/gstvaapisurfacepool.h
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
gst/vaapi/gstvaapipostproc.c
gst/vaapi/gstvaapiuploader.c
gst/vaapi/gstvaapivideobufferpool.c
gst/vaapi/gstvaapivideomemory.c
gst/vaapi/gstvaapivideomemory.h
tests/test-surfaces.c