libmix: override AVC's DPB size from VUI data

BZ: 1360

For some incorrectly coded clips, the reference frame count within SPS is smaller than the DPB length described in VUI data,
which is in fact not permitted by H.264 spec. Establishing DPB by SPS's reference frame count will cause the DPB length not
large enough, thus handling reference frames incorrectly and causing correction and mosaics in decoded pictures.

Enlarge DPB length when VUI's DPB length exceed SPS's reference frame count.

Change-Id: I27c0bec82aa19647c676c59a80a2aecdfe0a0f75
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
1 file changed
tree: 65470a9bb02cfddbf23bfb9696558b8222db6574
  1. Android.mk
  2. README
  3. mix_common/
  4. mix_vbp/
  5. mix_video/