OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2013 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 #if !defined(LIBYUV_DISABLE_NEON) && !defined(__native_client__) && \ | 45 #if !defined(LIBYUV_DISABLE_NEON) && !defined(__native_client__) && \ |
46 (defined(__ARM_NEON__) || defined(LIBYUV_NEON) || defined(__aarch64__)) | 46 (defined(__ARM_NEON__) || defined(LIBYUV_NEON) || defined(__aarch64__)) |
47 #define HAS_TRANSPOSEWX8_NEON | 47 #define HAS_TRANSPOSEWX8_NEON |
48 #define HAS_TRANSPOSEUVWX8_NEON | 48 #define HAS_TRANSPOSEUVWX8_NEON |
49 #endif | 49 #endif |
50 | 50 |
51 #if !defined(LIBYUV_DISABLE_MIPS) && !defined(__native_client__) && \ | 51 #if !defined(LIBYUV_DISABLE_MIPS) && !defined(__native_client__) && \ |
52 defined(__mips__) && \ | 52 defined(__mips__) && \ |
53 defined(__mips_dsp) && (__mips_dsp_rev >= 2) | 53 defined(__mips_dsp) && (__mips_dsp_rev >= 2) |
54 #define HAS_TRANSPOSEWX8_MIPS_DSPR2 | 54 #define HAS_TRANSPOSEWX8_DSPR2 |
55 #define HAS_TRANSPOSEUVWX8_MIPS_DSPR2 | 55 #define HAS_TRANSPOSEUVWX8_DSPR2 |
56 #endif // defined(__mips__) | 56 #endif // defined(__mips__) |
57 | 57 |
58 void TransposeWxH_C(const uint8* src, int src_stride, | 58 void TransposeWxH_C(const uint8* src, int src_stride, |
59 uint8* dst, int dst_stride, int width, int height); | 59 uint8* dst, int dst_stride, int width, int height); |
60 | 60 |
61 void TransposeWx8_C(const uint8* src, int src_stride, | 61 void TransposeWx8_C(const uint8* src, int src_stride, |
62 uint8* dst, int dst_stride, int width); | 62 uint8* dst, int dst_stride, int width); |
63 void TransposeWx8_NEON(const uint8* src, int src_stride, | 63 void TransposeWx8_NEON(const uint8* src, int src_stride, |
64 uint8* dst, int dst_stride, int width); | 64 uint8* dst, int dst_stride, int width); |
65 void TransposeWx8_SSSE3(const uint8* src, int src_stride, | 65 void TransposeWx8_SSSE3(const uint8* src, int src_stride, |
66 uint8* dst, int dst_stride, int width); | 66 uint8* dst, int dst_stride, int width); |
67 void TransposeWx8_Fast_SSSE3(const uint8* src, int src_stride, | 67 void TransposeWx8_Fast_SSSE3(const uint8* src, int src_stride, |
68 uint8* dst, int dst_stride, int width); | 68 uint8* dst, int dst_stride, int width); |
69 void TransposeWx8_MIPS_DSPR2(const uint8* src, int src_stride, | 69 void TransposeWx8_DSPR2(const uint8* src, int src_stride, |
70 uint8* dst, int dst_stride, int width); | 70 uint8* dst, int dst_stride, int width); |
71 void TransposeWx8_Fast_MIPS_DSPR2(const uint8* src, int src_stride, | 71 void TransposeWx8_Fast_DSPR2(const uint8* src, int src_stride, |
72 uint8* dst, int dst_stride, int width); | 72 uint8* dst, int dst_stride, int width); |
73 | 73 |
74 void TransposeWx8_Any_NEON(const uint8* src, int src_stride, | 74 void TransposeWx8_Any_NEON(const uint8* src, int src_stride, |
75 uint8* dst, int dst_stride, int width); | 75 uint8* dst, int dst_stride, int width); |
76 void TransposeWx8_Any_SSSE3(const uint8* src, int src_stride, | 76 void TransposeWx8_Any_SSSE3(const uint8* src, int src_stride, |
77 uint8* dst, int dst_stride, int width); | 77 uint8* dst, int dst_stride, int width); |
78 void TransposeWx8_Fast_Any_SSSE3(const uint8* src, int src_stride, | 78 void TransposeWx8_Fast_Any_SSSE3(const uint8* src, int src_stride, |
79 uint8* dst, int dst_stride, int width); | 79 uint8* dst, int dst_stride, int width); |
80 void TransposeWx8_Any_MIPS_DSPR2(const uint8* src, int src_stride, | 80 void TransposeWx8_Any_DSPR2(const uint8* src, int src_stride, |
81 uint8* dst, int dst_stride, int width); | 81 uint8* dst, int dst_stride, int width); |
82 | 82 |
83 void TransposeUVWxH_C(const uint8* src, int src_stride, | 83 void TransposeUVWxH_C(const uint8* src, int src_stride, |
84 uint8* dst_a, int dst_stride_a, | 84 uint8* dst_a, int dst_stride_a, |
85 uint8* dst_b, int dst_stride_b, | 85 uint8* dst_b, int dst_stride_b, |
86 int width, int height); | 86 int width, int height); |
87 | 87 |
88 void TransposeUVWx8_C(const uint8* src, int src_stride, | 88 void TransposeUVWx8_C(const uint8* src, int src_stride, |
89 uint8* dst_a, int dst_stride_a, | 89 uint8* dst_a, int dst_stride_a, |
90 uint8* dst_b, int dst_stride_b, int width); | 90 uint8* dst_b, int dst_stride_b, int width); |
91 void TransposeUVWx8_SSE2(const uint8* src, int src_stride, | 91 void TransposeUVWx8_SSE2(const uint8* src, int src_stride, |
92 uint8* dst_a, int dst_stride_a, | 92 uint8* dst_a, int dst_stride_a, |
93 uint8* dst_b, int dst_stride_b, int width); | 93 uint8* dst_b, int dst_stride_b, int width); |
94 void TransposeUVWx8_NEON(const uint8* src, int src_stride, | 94 void TransposeUVWx8_NEON(const uint8* src, int src_stride, |
95 uint8* dst_a, int dst_stride_a, | 95 uint8* dst_a, int dst_stride_a, |
96 uint8* dst_b, int dst_stride_b, int width); | 96 uint8* dst_b, int dst_stride_b, int width); |
97 void TransposeUVWx8_MIPS_DSPR2(const uint8* src, int src_stride, | 97 void TransposeUVWx8_DSPR2(const uint8* src, int src_stride, |
98 uint8* dst_a, int dst_stride_a, | 98 uint8* dst_a, int dst_stride_a, |
99 uint8* dst_b, int dst_stride_b, int width); | 99 uint8* dst_b, int dst_stride_b, int width); |
100 | 100 |
101 void TransposeUVWx8_Any_SSE2(const uint8* src, int src_stride, | 101 void TransposeUVWx8_Any_SSE2(const uint8* src, int src_stride, |
102 uint8* dst_a, int dst_stride_a, | 102 uint8* dst_a, int dst_stride_a, |
103 uint8* dst_b, int dst_stride_b, int width); | 103 uint8* dst_b, int dst_stride_b, int width); |
104 void TransposeUVWx8_Any_NEON(const uint8* src, int src_stride, | 104 void TransposeUVWx8_Any_NEON(const uint8* src, int src_stride, |
105 uint8* dst_a, int dst_stride_a, | 105 uint8* dst_a, int dst_stride_a, |
106 uint8* dst_b, int dst_stride_b, int width); | 106 uint8* dst_b, int dst_stride_b, int width); |
107 void TransposeUVWx8_Any_MIPS_DSPR2(const uint8* src, int src_stride, | 107 void TransposeUVWx8_Any_DSPR2(const uint8* src, int src_stride, |
108 uint8* dst_a, int dst_stride_a, | 108 uint8* dst_a, int dst_stride_a, |
109 uint8* dst_b, int dst_stride_b, int width); | 109 uint8* dst_b, int dst_stride_b, int width); |
110 | 110 |
111 #ifdef __cplusplus | 111 #ifdef __cplusplus |
112 } // extern "C" | 112 } // extern "C" |
113 } // namespace libyuv | 113 } // namespace libyuv |
114 #endif | 114 #endif |
115 | 115 |
116 #endif // INCLUDE_LIBYUV_ROTATE_ROW_H_ NOLINT | 116 #endif // INCLUDE_LIBYUV_ROTATE_ROW_H_ NOLINT |
OLD | NEW |