decoder: h264: decode current picture earlier.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 30 Jun 2014 14:12:52 +0000 (16:12 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 30 Jun 2014 17:13:25 +0000 (19:13 +0200)
commit8bdef56cd42d920bcfd81ebe3273d15e02d15c13
tree070aa8e0eef829549be0ae35c69de7704310204d
parentf48b1e0cd6eb42d9260bb50318b44cdc2fbb8629
decoder: h264: decode current picture earlier.

Slightly optimize decoding process by submitting the current VA surface
for decoding earlier to the hardware, and perform the reference picture
marking process and DPB update process afterwards.

This is a minor optimization to let the video decode engine kick in work
earlier, thus improving parallel resources utilization.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c