GNOME Bugzilla – Bug 720730
vaapipostproc: add support for GstVideoCropMeta
Last modified: 2014-06-18 14:26:05 UTC
Add support for video cropping. If the sink buffer has GstVideoCropMeta, it needs to be applied into the resulting output buffer if pass-through mode is not used. By pass-through, I also include buffers that are propagated downstream as is but only changing rendering flags like top/bottom field flags. i.e. use gst_vaapi_filter_set_cropping_rectangle() if GstVideoCropMeta is present. This is for GStreamer >= 1.0. For older GStreamer 0.10, I have no special requirement, but supporting it looks simple too, since we have that information stored in the GstVaapiSurfaceProxy.
commit b3401dbb294eac4bd91d8d92c1f1ecafe72d8c59 Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Date: Wed Jun 18 16:16:34 2014 +0200 vaapipostproc: add support for crop regions in VPP mode. Apply video cropping regions stored in GstVideoCropMeta, or in older GstVaapiSurfaceProxy representation, to VPP pipelines. In non-VPP modes, the crop meta are already propagated to the output buffers. https://bugzilla.gnome.org/show_bug.cgi?id=720730