OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2011 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 |
11 #include "libyuv/row.h" | 11 #include "libyuv/row.h" |
12 | 12 |
| 13 #include <stdio.h> |
| 14 |
13 #ifdef __cplusplus | 15 #ifdef __cplusplus |
14 namespace libyuv { | 16 namespace libyuv { |
15 extern "C" { | 17 extern "C" { |
16 #endif | 18 #endif |
17 | 19 |
18 // This module is for GCC Neon | 20 // This module is for GCC Neon |
19 #if !defined(LIBYUV_DISABLE_NEON) && defined(__ARM_NEON__) && \ | 21 #if !defined(LIBYUV_DISABLE_NEON) && defined(__ARM_NEON__) && \ |
20 !defined(__aarch64__) | 22 !defined(__aarch64__) |
21 | 23 |
22 // Read 8 Y, 4 U and 4 V from 422 | 24 // Read 8 Y, 4 U and 4 V from 422 |
(...skipping 2811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2834 "r"(6) // %5 | 2836 "r"(6) // %5 |
2835 : "cc", "memory", "q0", "q1" // Clobber List | 2837 : "cc", "memory", "q0", "q1" // Clobber List |
2836 ); | 2838 ); |
2837 } | 2839 } |
2838 #endif // defined(__ARM_NEON__) && !defined(__aarch64__) | 2840 #endif // defined(__ARM_NEON__) && !defined(__aarch64__) |
2839 | 2841 |
2840 #ifdef __cplusplus | 2842 #ifdef __cplusplus |
2841 } // extern "C" | 2843 } // extern "C" |
2842 } // namespace libyuv | 2844 } // namespace libyuv |
2843 #endif | 2845 #endif |
OLD | NEW |