vaapi: Update idct_permutation location after dsputil/idctdsp split
authorDiego Biurrun <diego@biurrun.de>
Tue, 1 Jul 2014 14:27:50 +0000 (07:27 -0700)
committerDiego Biurrun <diego@biurrun.de>
Tue, 1 Jul 2014 14:36:22 +0000 (07:36 -0700)
libavcodec/vaapi_mpeg2.c
libavcodec/vaapi_mpeg4.c

index 03fb6702e6f92bba8073d59a3120ff36b4cb0dab..31e021847f83a0e7516e889d4bc5af4bef5842bc 100644 (file)
@@ -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];
index fc3a15e610d110ef74994f3ea43601af3cd71325..abdb6d977ff280bebc7749cf728ba0dd85aea68b 100644 (file)
@@ -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];
         }