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 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 vst1q_u8(d, *q12u8); | 108 vst1q_u8(d, *q12u8); |
109 d += d_stride; | 109 d += d_stride; |
110 vst1q_u8(d, *q13u8); | 110 vst1q_u8(d, *q13u8); |
111 d += d_stride; | 111 d += d_stride; |
112 vst1q_u8(d, *q14u8); | 112 vst1q_u8(d, *q14u8); |
113 d += d_stride; | 113 d += d_stride; |
114 vst1q_u8(d, *q15u8); | 114 vst1q_u8(d, *q15u8); |
115 return; | 115 return; |
116 } | 116 } |
117 | 117 |
118 void vp9_idct32x32_1_add_neon( | 118 void vpx_idct32x32_1_add_neon( |
119 int16_t *input, | 119 int16_t *input, |
120 uint8_t *dest, | 120 uint8_t *dest, |
121 int dest_stride) { | 121 int dest_stride) { |
122 uint8x16_t q0u8, q8u8, q9u8, q10u8, q11u8, q12u8, q13u8, q14u8, q15u8; | 122 uint8x16_t q0u8, q8u8, q9u8, q10u8, q11u8, q12u8, q13u8, q14u8, q15u8; |
123 int i, j, dest_stride8; | 123 int i, j, dest_stride8; |
124 uint8_t *d; | 124 uint8_t *d; |
125 int16_t a1, cospi_16_64 = 11585; | 125 int16_t a1, cospi_16_64 = 11585; |
126 int16_t out = dct_const_round_shift(input[0] * cospi_16_64); | 126 int16_t out = dct_const_round_shift(input[0] * cospi_16_64); |
127 | 127 |
128 out = dct_const_round_shift(out * cospi_16_64); | 128 out = dct_const_round_shift(out * cospi_16_64); |
(...skipping 27 matching lines...) Expand all Loading... |
156 SUB_DIFF_16x8(q0u8, &q8u8, &q9u8, &q10u8, &q11u8, | 156 SUB_DIFF_16x8(q0u8, &q8u8, &q9u8, &q10u8, &q11u8, |
157 &q12u8, &q13u8, &q14u8, &q15u8); | 157 &q12u8, &q13u8, &q14u8, &q15u8); |
158 ST_16x8(d, dest_stride, &q8u8, &q9u8, &q10u8, &q11u8, | 158 ST_16x8(d, dest_stride, &q8u8, &q9u8, &q10u8, &q11u8, |
159 &q12u8, &q13u8, &q14u8, &q15u8); | 159 &q12u8, &q13u8, &q14u8, &q15u8); |
160 d += dest_stride8; | 160 d += dest_stride8; |
161 } | 161 } |
162 } | 162 } |
163 } | 163 } |
164 return; | 164 return; |
165 } | 165 } |
OLD | NEW |