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_config.h" | 12 #include "vpx_config.h" |
13 #include "vp8/common/blockd.h" | 13 #include "vp8/common/blockd.h" |
14 | 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 | 15 #if HAVE_MEDIA |
20 extern void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ); | 16 extern void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ); |
21 #endif | |
22 | 17 |
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) | 18 void vp8_dequantize_b_v6(BLOCKD *d, short *DQC) |
36 { | 19 { |
37 short *DQ = d->dqcoeff; | 20 short *DQ = d->dqcoeff; |
38 short *Q = d->qcoeff; | 21 short *Q = d->qcoeff; |
39 | 22 |
40 vp8_dequantize_b_loop_v6(Q, DQC, DQ); | 23 vp8_dequantize_b_loop_v6(Q, DQC, DQ); |
41 } | 24 } |
42 #endif | 25 #endif |
OLD | NEW |