[FFmpeg-cvslog] dxva2_hevc: fix 32x32 scaling lists
Hendrik Leppkes
git at videolan.org
Fri May 29 01:56:31 CEST 2015
ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Thu May 28 18:20:24 2015 +0200| [b7a0b303d982eebd61ff07389bdef3f8b04c2c65] | committer: Michael Niedermayer
dxva2_hevc: fix 32x32 scaling lists
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b7a0b303d982eebd61ff07389bdef3f8b04c2c65
---
libavcodec/dxva2_hevc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/dxva2_hevc.c b/libavcodec/dxva2_hevc.c
index dae990d..71aab54 100644
--- a/libavcodec/dxva2_hevc.c
+++ b/libavcodec/dxva2_hevc.c
@@ -209,12 +209,12 @@ static void fill_scaling_lists(AVDXVAContext *ctx, const HEVCContext *h, DXVA_Qm
qm->ucScalingLists2[i][j] = sl->sl[2][i][pos];
if (i < 2)
- qm->ucScalingLists3[i][j] = sl->sl[3][i][pos];
+ qm->ucScalingLists3[i][j] = sl->sl[3][i * 3][pos];
}
qm->ucScalingListDCCoefSizeID2[i] = sl->sl_dc[0][i];
if (i < 2)
- qm->ucScalingListDCCoefSizeID3[i] = sl->sl_dc[1][i];
+ qm->ucScalingListDCCoefSizeID3[i] = sl->sl_dc[1][i * 3];
}
}
More information about the ffmpeg-cvslog
mailing list