vaapipostproc: add mirror support
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Mon, 13 May 2019 23:39:33 +0000 (16:39 -0700)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 29 May 2019 09:06:27 +0000 (09:06 +0000)
commit3ccf3f3334b4aab1fd9eafe772a93873869376dc
tree4e89dc4ce31c5caeb6934fcd795ef05fa54b7187
parent38d25c65c34aef67f90e50f0e35d01f1a72cf6a9
vaapipostproc: add mirror support

Adds vpp mirroring support to vaapipostproc.  Use
property video-direction.  Valid values are identity,
horiz or vert.  Default is identity (no mirror).

Closes #89

v2: Use GstVideoOrientationMethod enum
v3: Don't warn for VA_MIRROR_NONE.
    Use GST_TYPE_VIDEO_ORIENTATION_METHOD type.
v4: Query VAAPI caps when setting mirror value
    instead of during per-frame processing.
v5: Return TRUE in warning cases when setting mirror value.
gst-libs/gst/vaapi/gstvaapifilter.c
gst-libs/gst/vaapi/gstvaapifilter.h
gst-libs/gst/vaapi/gstvaapiutils.c
gst-libs/gst/vaapi/gstvaapiutils.h
gst/vaapi/gstvaapipostproc.c
gst/vaapi/gstvaapipostproc.h