h264: introduce per-field POC in GstVaapiPictureH264.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 31 Oct 2012 10:52:03 +0000 (11:52 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 31 Oct 2012 14:05:54 +0000 (15:05 +0100)
commit3480fcc8d76f928df264e92de9d1efe4a5193390
treebcbd6b1885d28d96ed83b0cb7c8cc7e9f2e978c7
parent3c721e112348799b25d6812cee69c8833b02f8cc
h264: introduce per-field POC in GstVaapiPictureH264.

Use the POC member available in the GstVaapiPicture base class and
get rid of the dependency on the local VAPictureH264 TopFieldOrderCnt
and BottomFieldOrderCnt. Rather, use a simple field_poc[] array
initialized to INT_MAX, so that to simplify picture POC calculation
for non frame pictures.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c