Commit 35818b8a authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Luca Barbato

dxva2_hevc: fix 32x32 scaling lists

Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 5c720657
...@@ -209,12 +209,12 @@ static void fill_scaling_lists(AVDXVAContext *ctx, const HEVCContext *h, DXVA_Qm ...@@ -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]; qm->ucScalingLists2[i][j] = sl->sl[2][i][pos];
if (i < 2) 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]; qm->ucScalingListDCCoefSizeID2[i] = sl->sl_dc[0][i];
if (i < 2) if (i < 2)
qm->ucScalingListDCCoefSizeID3[i] = sl->sl_dc[1][i]; qm->ucScalingListDCCoefSizeID3[i] = sl->sl_dc[1][i * 3];
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment