dxva2_hevc: properly fill the scaling list structure
authorHendrik Leppkes <h.leppkes@gmail.com>
Tue, 3 Feb 2015 21:39:45 +0000 (22:39 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 7 Feb 2015 13:33:29 +0000 (14:33 +0100)
commit8029af586fd5a5f2a0803001f9eff386e5545fe2
tree8dc0b812b33bf823d34938811ad3c281e3534470
parent9295d10ea9d138462b7f67d16bf95ae9ca76aca6
dxva2_hevc: properly fill the scaling list structure

The scaling list can be specified in either the SPS or PPS.
Additionally, compensate for the diagonal scan permutation applied
in the decoder.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/dxva2_hevc.c