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