OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 #include <arm_neon.h> | 11 #include <arm_neon.h> |
12 #include "vp9/common/vp9_idct.h" | |
13 | 12 |
14 #include "./vpx_config.h" | 13 #include "./vpx_config.h" |
15 | 14 |
| 15 #include "vpx_ports/mem.h" |
| 16 #include "vp9/common/vp9_idct.h" |
| 17 |
16 static INLINE void LD_16x8( | 18 static INLINE void LD_16x8( |
17 uint8_t *d, | 19 uint8_t *d, |
18 int d_stride, | 20 int d_stride, |
19 uint8x16_t *q8u8, | 21 uint8x16_t *q8u8, |
20 uint8x16_t *q9u8, | 22 uint8x16_t *q9u8, |
21 uint8x16_t *q10u8, | 23 uint8x16_t *q10u8, |
22 uint8x16_t *q11u8, | 24 uint8x16_t *q11u8, |
23 uint8x16_t *q12u8, | 25 uint8x16_t *q12u8, |
24 uint8x16_t *q13u8, | 26 uint8x16_t *q13u8, |
25 uint8x16_t *q14u8, | 27 uint8x16_t *q14u8, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 SUB_DIFF_16x8(q0u8, &q8u8, &q9u8, &q10u8, &q11u8, | 156 SUB_DIFF_16x8(q0u8, &q8u8, &q9u8, &q10u8, &q11u8, |
155 &q12u8, &q13u8, &q14u8, &q15u8); | 157 &q12u8, &q13u8, &q14u8, &q15u8); |
156 ST_16x8(d, dest_stride, &q8u8, &q9u8, &q10u8, &q11u8, | 158 ST_16x8(d, dest_stride, &q8u8, &q9u8, &q10u8, &q11u8, |
157 &q12u8, &q13u8, &q14u8, &q15u8); | 159 &q12u8, &q13u8, &q14u8, &q15u8); |
158 d += dest_stride8; | 160 d += dest_stride8; |
159 } | 161 } |
160 } | 162 } |
161 } | 163 } |
162 return; | 164 return; |
163 } | 165 } |
OLD | NEW |