decoder: h264: factor out DPB pruning for MVC.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 10 Jun 2014 16:30:21 +0000 (18:30 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 10 Jun 2014 16:33:59 +0000 (18:33 +0200)
commitc65aec1aa6ee943abac99f454f7d3914e3297a21
tree7ec97b33226638885f13f3f6f9753128bdaa50d9
parent63fde28dfd498062ab82afa77de40495419d6b72
decoder: h264: factor out DPB pruning for MVC.

Factor out the removal process of unused inter-view only reference
pictures from the DPB, prior to the possible insertion of the current
picture.

Ideally, the compiler could still opt for generating two loops. But
at least, the code is now clearer for maintenance.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c