decoder: h264: improve DPB bumping process for MVC.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 3 Jun 2014 15:36:38 +0000 (17:36 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 10 Jun 2014 16:33:59 +0000 (18:33 +0200)
commit42ab3e066988109d89c2b1210bb6f02bcb44e97d
treecfa82e91a0d2967bedd0ac542b30ee73abc04867
parente8fe78824bc65a2b1f5166d2aa34099af6aaec4b
decoder: h264: improve DPB bumping process for MVC.

While invoking the DPB bumping process in presence of many views,
it could be necessary to output previous pictures that are ready,
in a whole. i.e. emitting all view components from the very first
view order index zero to the very last one in its original access
unit; and not starting from the view order index of the picture
that caused the DPB bumping process to be invoked.

As a reminder, the maximum number of frames in DPB for MultiView
High profile with more than 2 views is not necessarily a multiple
of the number of views.

This fixes decoding of MVCNV-4.264.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c