decoder: add support for video cropping.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 15 Feb 2013 16:42:12 +0000 (18:42 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 8 Jul 2013 16:52:56 +0000 (18:52 +0200)
commite66e72e7e3d714309db64727eb1cc1f8b337c5a1
treec97644894e057f3fb63b412916550fc46b2b234b
parent746631c64c1b5282e98b483bc672d4714c21dc4b
decoder: add support for video cropping.

Add gst_vaapi_picture_set_crop_rect() helper function to copy the video
cropping information from raw bitstreams to each picture being decoded.
Also add helper function to surface proxy to propagate that information
outside of libgstvaapi. e.g. plug-in elements or standalone applications.

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_objects.c
gst-libs/gst/vaapi/gstvaapidecoder_objects.h
gst-libs/gst/vaapi/gstvaapisurfaceproxy.c
gst-libs/gst/vaapi/gstvaapisurfaceproxy.h
gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h