Home | History | Annotate | Download | only in arm
      1 /*
      2  *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
      3  *
      4  *  Use of this source code is governed by a BSD-style license
      5  *  that can be found in the LICENSE file in the root of the source
      6  *  tree. An additional intellectual property rights grant can be found
      7  *  in the file PATENTS.  All contributing project authors may
      8  *  be found in the AUTHORS file in the root of the source tree.
      9  */
     10 
     11 
     12 #include "vpx_config.h"
     13 #include "vp8/common/blockd.h"
     14 
     15 #if HAVE_NEON
     16 extern void vp8_dequantize_b_loop_neon(short *Q, short *DQC, short *DQ);
     17 #endif
     18 
     19 #if HAVE_MEDIA
     20 extern void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ);
     21 #endif
     22 
     23 #if HAVE_NEON
     24 
     25 void vp8_dequantize_b_neon(BLOCKD *d, short *DQC)
     26 {
     27     short *DQ  = d->dqcoeff;
     28     short *Q   = d->qcoeff;
     29 
     30     vp8_dequantize_b_loop_neon(Q, DQC, DQ);
     31 }
     32 #endif
     33 
     34 #if HAVE_MEDIA
     35 void vp8_dequantize_b_v6(BLOCKD *d, short *DQC)
     36 {
     37     short *DQ  = d->dqcoeff;
     38     short *Q   = d->qcoeff;
     39 
     40     vp8_dequantize_b_loop_v6(Q, DQC, DQ);
     41 }
     42 #endif
     43