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>
Fri, 16 Nov 2012 15:50:30 +0000 (16:50 +0100)
commite93579fdc75d68d9e321255b9e4dd61501fd8793
tree38e390304298fbc995955169f2df90f1f7266cc1
parent4394b4a3dacbf5a82edb980d021b919ae0c74ad2
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