filter: fix semantics of deinterlacing flags.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Nov 2013 17:44:46 +0000 (18:44 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Nov 2013 22:08:02 +0000 (23:08 +0100)
commit06c7fde8e07958874214c33740f99912c646401d
tree1d2c4a2101b7d8ade370c1a937b24e06d0d7d5e0
parent152ffb52d2f85fc358f4c97ad061b4831611666a
filter: fix semantics of deinterlacing flags.

Fix deinterlacing flags to make more sense. The TFF (top-field-first)
flag is meant to specify the organization of reference frames used in
advanced deinterlacing modes. Introduce the more explicit flag TOPFIELD
to specify that the top-field of the supplied input surface is to be
used for deinterlacing. Conversely, if not set, this means that the
bottom field of the supplied input surface will be used instead.
gst-libs/gst/vaapi/gstvaapifilter.c
gst-libs/gst/vaapi/gstvaapifilter.h
gst-libs/gst/vaapi/gstvaapiutils.c
gst/vaapi/gstvaapipostproc.c
tests/test-filter.c