mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-31 11:53:24 +00:00
Fix dxva2 decoding for some H264 samples.
This commit is contained in:
parent
596762f058
commit
bf7dc6b29d
@ -158,9 +158,10 @@ static void fill_scaling_lists(const H264Context *h, DXVA_Qmatrix_H264 *qm)
|
||||
for (j = 0; j < 16; j++)
|
||||
qm->bScalingLists4x4[i][j] = h->pps.scaling_matrix4[i][zigzag_scan[j]];
|
||||
|
||||
for (i = 0; i < 2; i++)
|
||||
for (j = 0; j < 64; j++)
|
||||
qm->bScalingLists8x8[i][j] = h->pps.scaling_matrix8[i][ff_zigzag_direct[j]];
|
||||
for (j = 0; j < 64; j++) {
|
||||
qm->bScalingLists8x8[0][j] = h->pps.scaling_matrix8[0][ff_zigzag_direct[j]];
|
||||
qm->bScalingLists8x8[1][j] = h->pps.scaling_matrix8[3][ff_zigzag_direct[j]];
|
||||
}
|
||||
}
|
||||
|
||||
static int is_slice_short(struct dxva_context *ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user