h264: introduce per-field POC in GstVaapiPictureH264.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 31 Oct 2012 10:52:03 +0000 (11:52 +0100)
committerWind Yuan <feng.yuan@intel.com>
Fri, 16 Nov 2012 07:03:33 +0000 (15:03 +0800)
commite7ac87cc96e0d099b393174cf73134688141b95d
tree87453a5a119ed6d7cc1cef9f5fe057fe980a18e9
parent9b6626c713b43b55219c899663ee3eef625e67a1
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