diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-07-01 18:27:50 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-07-01 18:36:22 +0400 |
commit | d0449e754553b0c110b6cd75f6725b82144fbd2a (patch) | |
tree | c489ca96a4ea4ba52aa01bbd4e87c9453c20e19b /libavcodec | |
parent | 20f95f21f9b9595608ba668a6eca78f2d508be67 (diff) |
vaapi: Update idct_permutation location after dsputil/idctdsp split
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vaapi_mpeg2.c | 2 | ||||
-rw-r--r-- | libavcodec/vaapi_mpeg4.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vaapi_mpeg2.c b/libavcodec/vaapi_mpeg2.c index 03fb6702e6..31e021847f 100644 --- a/libavcodec/vaapi_mpeg2.c +++ b/libavcodec/vaapi_mpeg2.c @@ -90,7 +90,7 @@ static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint8_ iq_matrix->load_chroma_non_intra_quantiser_matrix = 1; for (i = 0; i < 64; i++) { - int n = s->dsp.idct_permutation[ff_zigzag_direct[i]]; + int n = s->idsp.idct_permutation[ff_zigzag_direct[i]]; iq_matrix->intra_quantiser_matrix[i] = s->intra_matrix[n]; iq_matrix->non_intra_quantiser_matrix[i] = s->inter_matrix[n]; iq_matrix->chroma_intra_quantiser_matrix[i] = s->chroma_intra_matrix[n]; diff --git a/libavcodec/vaapi_mpeg4.c b/libavcodec/vaapi_mpeg4.c index fc3a15e610..abdb6d977f 100644 --- a/libavcodec/vaapi_mpeg4.c +++ b/libavcodec/vaapi_mpeg4.c @@ -109,7 +109,7 @@ static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_ iq_matrix->load_non_intra_quant_mat = 1; for (i = 0; i < 64; i++) { - int n = s->dsp.idct_permutation[ff_zigzag_direct[i]]; + int n = s->idsp.idct_permutation[ff_zigzag_direct[i]]; iq_matrix->intra_quant_mat[i] = s->intra_matrix[n]; iq_matrix->non_intra_quant_mat[i] = s->inter_matrix[n]; } |