| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 | 11 |
| 12 #include "vpx_ports/config.h" | 12 #include "vpx_ports/config.h" |
| 13 #include "vp8/decoder/dequantize.h" | 13 #include "vp8/decoder/dequantize.h" |
| 14 #include "vp8/common/idct.h" | 14 #include "vp8/common/idct.h" |
| 15 #include "vpx_mem/vpx_mem.h" | 15 #include "vpx_mem/vpx_mem.h" |
| 16 | 16 |
| 17 #if HAVE_ARMV7 | 17 #if HAVE_ARMV7 |
| 18 extern void vp8_dequantize_b_loop_neon(short *Q, short *DQC, short *DQ); | 18 extern void vp8_dequantize_b_loop_neon(short *Q, short *DQC, short *DQ); |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 #if HAVE_ARMV6 | 21 #if HAVE_ARMV6 |
| 22 extern void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ); | 22 extern void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ); |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 #if HAVE_ARMV7 | 25 #if HAVE_ARMV7 |
| 26 | 26 |
| 27 void vp8_dequantize_b_neon(BLOCKD *d) | 27 void vp8_dequantize_b_neon(BLOCKD *d) |
| 28 { | 28 { |
| 29 int i; | |
| 30 short *DQ = d->dqcoeff; | 29 short *DQ = d->dqcoeff; |
| 31 short *Q = d->qcoeff; | 30 short *Q = d->qcoeff; |
| 32 short *DQC = d->dequant; | 31 short *DQC = d->dequant; |
| 33 | 32 |
| 34 vp8_dequantize_b_loop_neon(Q, DQC, DQ); | 33 vp8_dequantize_b_loop_neon(Q, DQC, DQ); |
| 35 } | 34 } |
| 36 #endif | 35 #endif |
| 37 | 36 |
| 38 #if HAVE_ARMV6 | 37 #if HAVE_ARMV6 |
| 39 void vp8_dequantize_b_v6(BLOCKD *d) | 38 void vp8_dequantize_b_v6(BLOCKD *d) |
| 40 { | 39 { |
| 41 int i; | |
| 42 short *DQ = d->dqcoeff; | 40 short *DQ = d->dqcoeff; |
| 43 short *Q = d->qcoeff; | 41 short *Q = d->qcoeff; |
| 44 short *DQC = d->dequant; | 42 short *DQC = d->dequant; |
| 45 | 43 |
| 46 vp8_dequantize_b_loop_v6(Q, DQC, DQ); | 44 vp8_dequantize_b_loop_v6(Q, DQC, DQ); |
| 47 } | 45 } |
| 48 #endif | 46 #endif |
| OLD | NEW |