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_ports/config.h"
     13 #include "vp8/decoder/dequantize.h"
     14 #include "vp8/common/idct.h"
     15 #include "vpx_mem/vpx_mem.h"
     16 
     17 #if HAVE_ARMV7
     18 extern void vp8_dequantize_b_loop_neon(short *Q, short *DQC, short *DQ);
     19 #endif
     20 
     21 #if HAVE_ARMV6
     22 extern void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ);
     23 #endif
     24 
     25 #if HAVE_ARMV7
     26 
     27 void vp8_dequantize_b_neon(BLOCKD *d)
     28 {
     29     int i;
     30     short *DQ  = d->dqcoeff;
     31     short *Q   = d->qcoeff;
     32     short *DQC = d->dequant;
     33 
     34     vp8_dequantize_b_loop_neon(Q, DQC, DQ);
     35 }
     36 #endif
     37 
     38 #if HAVE_ARMV6
     39 void vp8_dequantize_b_v6(BLOCKD *d)
     40 {
     41     int i;
     42     short *DQ  = d->dqcoeff;
     43     short *Q   = d->qcoeff;
     44     short *DQC = d->dequant;
     45 
     46     vp8_dequantize_b_loop_v6(Q, DQC, DQ);
     47 }
     48 #endif
     49