vaapisink: add support for raw YUV buffers.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 20 Nov 2012 13:28:55 +0000 (14:28 +0100)
committerWei,changzhi <changzhix.wei@intel.com>
Wed, 17 Apr 2013 08:14:39 +0000 (16:14 +0800)
commit4c226335d8c7c721cf4efaf5639f7e49b0256b00
tree55dfa850b93066e2c8acf53ec7e264d7aa334455
parent2a63f107aaf27c8a7096209664a66231d5ee81aa
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]