| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2014 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 READYUV400 | 432 READYUV400 |
| 433 YUVTORGB(v22, v21, v20) | 433 YUVTORGB(v22, v21, v20) |
| 434 "subs %w2, %w2, #8 \n" | 434 "subs %w2, %w2, #8 \n" |
| 435 "movi v23.8b, #255 \n" | 435 "movi v23.8b, #255 \n" |
| 436 MEMACCESS(1) | 436 MEMACCESS(1) |
| 437 "st4 {v20.8b,v21.8b,v22.8b,v23.8b}, [%1], #32 \n" | 437 "st4 {v20.8b,v21.8b,v22.8b,v23.8b}, [%1], #32 \n" |
| 438 "b.gt 1b \n" | 438 "b.gt 1b \n" |
| 439 : "+r"(src_y), // %0 | 439 : "+r"(src_y), // %0 |
| 440 "+r"(dst_argb), // %1 | 440 "+r"(dst_argb), // %1 |
| 441 "+r"(width64) // %2 | 441 "+r"(width64) // %2 |
| 442 : [kUVToRB]"r"(&kYuvIConstants.kUVToRB), | 442 : [kUVToRB]"r"(&kYuvI601Constants.kUVToRB), |
| 443 [kUVToG]"r"(&kYuvIConstants.kUVToG), | 443 [kUVToG]"r"(&kYuvI601Constants.kUVToG), |
| 444 [kUVBiasBGR]"r"(&kYuvIConstants.kUVBiasBGR), | 444 [kUVBiasBGR]"r"(&kYuvI601Constants.kUVBiasBGR), |
| 445 [kYToRgb]"r"(&kYuvIConstants.kYToRgb) | 445 [kYToRgb]"r"(&kYuvI601Constants.kYToRgb) |
| 446 : "cc", "memory", "v0", "v1", "v2", "v3", "v4", "v5", "v6", "v7", "v20", | 446 : "cc", "memory", "v0", "v1", "v2", "v3", "v4", "v5", "v6", "v7", "v20", |
| 447 "v21", "v22", "v23", "v24", "v25", "v26", "v27", "v28", "v29", "v30" | 447 "v21", "v22", "v23", "v24", "v25", "v26", "v27", "v28", "v29", "v30" |
| 448 ); | 448 ); |
| 449 } | 449 } |
| 450 #endif // HAS_I400TOARGBROW_NEON | 450 #endif // HAS_I400TOARGBROW_NEON |
| 451 | 451 |
| 452 #ifdef HAS_J400TOARGBROW_NEON | 452 #ifdef HAS_J400TOARGBROW_NEON |
| 453 void J400ToARGBRow_NEON(const uint8* src_y, | 453 void J400ToARGBRow_NEON(const uint8* src_y, |
| 454 uint8* dst_argb, | 454 uint8* dst_argb, |
| 455 int width) { | 455 int width) { |
| (...skipping 2539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2995 : "cc", "memory", "v0", "v1", "v2", "v3" // Clobber List | 2995 : "cc", "memory", "v0", "v1", "v2", "v3" // Clobber List |
| 2996 ); | 2996 ); |
| 2997 } | 2997 } |
| 2998 #endif // HAS_SOBELYROW_NEON | 2998 #endif // HAS_SOBELYROW_NEON |
| 2999 #endif // !defined(LIBYUV_DISABLE_NEON) && defined(__aarch64__) | 2999 #endif // !defined(LIBYUV_DISABLE_NEON) && defined(__aarch64__) |
| 3000 | 3000 |
| 3001 #ifdef __cplusplus | 3001 #ifdef __cplusplus |
| 3002 } // extern "C" | 3002 } // extern "C" |
| 3003 } // namespace libyuv | 3003 } // namespace libyuv |
| 3004 #endif | 3004 #endif |
| OLD | NEW |