decoder: h264: simplify storage of decoded picture into DPB.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sun, 4 May 2014 12:49:28 +0000 (14:49 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 21 May 2014 17:59:52 +0000 (19:59 +0200)
commit1c46990ecd18cf33e5411205f37ffd1be6c9318b
tree4b07e16d7a974e910eaf96d95d77032b4751a957
parenta571350dee5ac24f69120adfc91f785e0eeb603a
decoder: h264: simplify storage of decoded picture into DPB.

Factor out process by which the decoded picture with the lowest POC
is found, and possibly output. Likewise, the storage and marking of
a reference decoded, or non-reference decoded picture, into the DPB
could also be simplified as they mostly share the same operations.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c