decoder: h264: add MVC profiles compatibility logic.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 20 May 2014 16:08:15 +0000 (18:08 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 21 May 2014 18:04:35 +0000 (20:04 +0200)
commit5d76afb40d0eaea34331278dfc4b44120f6013cb
tree9c5352aa2d05b271b3747242da2c3d3e6414f3f6
parent8c5e89c29801e5c0b7d4bc2d2dc86f0dd1df3e5d
decoder: h264: add MVC profiles compatibility logic.

Add safe fallbacks for MVC profiles:
- all MultiView High profile streams with 2 views at most can be decoded
  with a Stereo High profile compliant decoder ;
- all Stereo High profile streams with only progressive views can be
  decoded with a MultiView High profile compliant decoder ;
- all drivers that support slice-level decoding could normally support
  MVC profiles when the DPB holds at most 16 frames.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c