vaapisink: add support for raw YUV buffers.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 20 Nov 2012 13:28:55 +0000 (14:28 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 20 Nov 2012 15:04:51 +0000 (16:04 +0100)
commit499e0dd981fb5ef770d25fe98d791e764f1089c9
tree2fbd0d2957c3ff4e807b2dced464716841116d2f
parentc38c0853ebf2979f1321892d42217afb1b9b88fa
vaapisink: add support for raw YUV buffers.

Add new GstVaapiUploader helper to upload raw YUV buffers to VA surfaces.
It is up to the caller to negotiate source caps (for images) and output
caps (for surfaces). gst_vaapi_uploader_has_direct_rendering() is available
to help decide between the creation of a GstVaapiVideoBuffer or a regular
GstBuffer on sink pads.

Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
NEWS
gst/vaapi/Makefile.am
gst/vaapi/gstvaapisink.c
gst/vaapi/gstvaapisink.h
gst/vaapi/gstvaapiuploader.c [new file with mode: 0644]
gst/vaapi/gstvaapiuploader.h [new file with mode: 0644]