decoder: rework picture field flags.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 28 Mar 2012 14:07:44 +0000 (16:07 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 28 Mar 2012 16:24:39 +0000 (18:24 +0200)
commitc27385aa8d74ffb33bc9a2bfe10103a2b80d25ba
treebea384d712ab6053768845ceef4faca9336775c9
parente8756ae4270d5fdc476bdd75d505371deb995ee8
decoder: rework picture field flags.

Add top-field-first (TFF) and interlaced flags to GstVaapiPicture so they
could be propagated to the surface proxy when it is pushed for rendering.
Besides, top and bottom fields are now expressed with picture structure flags
from GstVaapiSurfaceRenderFlags.
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
gst-libs/gst/vaapi/gstvaapidecoder_objects.c
gst-libs/gst/vaapi/gstvaapidecoder_objects.h