OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2012 The LibYuv 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 ANY31C(I422ToRGBARow_Any_NEON, I422ToRGBARow_NEON, 1, 0, 4, 7) | 165 ANY31C(I422ToRGBARow_Any_NEON, I422ToRGBARow_NEON, 1, 0, 4, 7) |
166 ANY31C(I422ToRGB24Row_Any_NEON, I422ToRGB24Row_NEON, 1, 0, 3, 7) | 166 ANY31C(I422ToRGB24Row_Any_NEON, I422ToRGB24Row_NEON, 1, 0, 3, 7) |
167 ANY31C(I422ToARGB4444Row_Any_NEON, I422ToARGB4444Row_NEON, 1, 0, 2, 7) | 167 ANY31C(I422ToARGB4444Row_Any_NEON, I422ToARGB4444Row_NEON, 1, 0, 2, 7) |
168 ANY31C(I422ToARGB1555Row_Any_NEON, I422ToARGB1555Row_NEON, 1, 0, 2, 7) | 168 ANY31C(I422ToARGB1555Row_Any_NEON, I422ToARGB1555Row_NEON, 1, 0, 2, 7) |
169 ANY31C(I422ToRGB565Row_Any_NEON, I422ToRGB565Row_NEON, 1, 0, 2, 7) | 169 ANY31C(I422ToRGB565Row_Any_NEON, I422ToRGB565Row_NEON, 1, 0, 2, 7) |
170 #endif | 170 #endif |
171 #ifdef HAS_I422TOARGBROW_MSA | 171 #ifdef HAS_I422TOARGBROW_MSA |
172 ANY31C(I422ToARGBRow_Any_MSA, I422ToARGBRow_MSA, 1, 0, 4, 7) | 172 ANY31C(I422ToARGBRow_Any_MSA, I422ToARGBRow_MSA, 1, 0, 4, 7) |
173 ANY31C(I422ToRGBARow_Any_MSA, I422ToRGBARow_MSA, 1, 0, 4, 7) | 173 ANY31C(I422ToRGBARow_Any_MSA, I422ToRGBARow_MSA, 1, 0, 4, 7) |
174 ANY31C(I422ToRGB24Row_Any_MSA, I422ToRGB24Row_MSA, 1, 0, 3, 15) | 174 ANY31C(I422ToRGB24Row_Any_MSA, I422ToRGB24Row_MSA, 1, 0, 3, 15) |
| 175 ANY31C(I422ToARGB4444Row_Any_MSA, I422ToARGB4444Row_MSA, 1, 0, 2, 7) |
| 176 ANY31C(I422ToARGB1555Row_Any_MSA, I422ToARGB1555Row_MSA, 1, 0, 2, 7) |
| 177 ANY31C(I422ToRGB565Row_Any_MSA, I422ToRGB565Row_MSA, 1, 0, 2, 7) |
175 #endif | 178 #endif |
176 #undef ANY31C | 179 #undef ANY31C |
177 | 180 |
178 // Any 2 planes to 1. | 181 // Any 2 planes to 1. |
179 #define ANY21(NAMEANY, ANY_SIMD, UVSHIFT, SBPP, SBPP2, BPP, MASK) \ | 182 #define ANY21(NAMEANY, ANY_SIMD, UVSHIFT, SBPP, SBPP2, BPP, MASK) \ |
180 void NAMEANY(const uint8* y_buf, const uint8* uv_buf, \ | 183 void NAMEANY(const uint8* y_buf, const uint8* uv_buf, \ |
181 uint8* dst_ptr, int width) { \ | 184 uint8* dst_ptr, int width) { \ |
182 SIMD_ALIGNED(uint8 temp[64 * 3]); \ | 185 SIMD_ALIGNED(uint8 temp[64 * 3]); \ |
183 memset(temp, 0, 64 * 2); /* for msan */ \ | 186 memset(temp, 0, 64 * 2); /* for msan */ \ |
184 int r = width & MASK; \ | 187 int r = width & MASK; \ |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 #endif | 870 #endif |
868 #ifdef HAS_UYVYTOUVROW_MSA | 871 #ifdef HAS_UYVYTOUVROW_MSA |
869 ANY12S(UYVYToUVRow_Any_MSA, UYVYToUVRow_MSA, 1, 4, 31) | 872 ANY12S(UYVYToUVRow_Any_MSA, UYVYToUVRow_MSA, 1, 4, 31) |
870 #endif | 873 #endif |
871 #undef ANY12S | 874 #undef ANY12S |
872 | 875 |
873 #ifdef __cplusplus | 876 #ifdef __cplusplus |
874 } // extern "C" | 877 } // extern "C" |
875 } // namespace libyuv | 878 } // namespace libyuv |
876 #endif | 879 #endif |
OLD | NEW |