decoder: hevc: Fix decoding of stream when it has temporal sublayers
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 6 Aug 2015 01:01:24 +0000 (04:01 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 6 Aug 2015 01:01:24 +0000 (04:01 +0300)
commit696b446f097a3a00e19307a1106c950a170b80a1
tree34796621bb7e57e7f0cd51b71c8d63b2c72bafa0
parent66f05af28830cd297387bda28f457fec8d2cd1f4
decoder: hevc: Fix decoding of stream when it has temporal sublayers

We are calculating the dpb size based on max_dec_pic_buffering.
But if there are more than one temporal sublayers, we are supposed
to use the max_dec_pic_buffering[max_sub_layers_minus] for dpb
size calculation (Assuming HighestTid as max_sub_layers_minus).

Sample streams: TSCL_A_VIDYO_5.bin, TSCL_B_VIDYO_4.bin

https://bugzilla.gnome.org/show_bug.cgi?id=753226

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_h265.c