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 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 #define HAS_SOBELXYROW_SSE2 | 180 #define HAS_SOBELXYROW_SSE2 |
181 #define HAS_SOBELYROW_SSE2 | 181 #define HAS_SOBELYROW_SSE2 |
182 #endif | 182 #endif |
183 | 183 |
184 // The following are available on x64 Visual C and clangcl. | 184 // The following are available on x64 Visual C and clangcl. |
185 // TODO(fbarchard): Port to gcc. | 185 // TODO(fbarchard): Port to gcc. |
186 #if !defined(LIBYUV_DISABLE_X86) && defined (_M_X64) && \ | 186 #if !defined(LIBYUV_DISABLE_X86) && defined (_M_X64) && \ |
187 (!defined(__clang__) || defined(__SSSE3__)) | 187 (!defined(__clang__) || defined(__SSSE3__)) |
188 #define HAS_I422TOARGBROW_SSSE3 | 188 #define HAS_I422TOARGBROW_SSSE3 |
189 #define HAS_I422TOABGRROW_SSSE3 | 189 #define HAS_I422TOABGRROW_SSSE3 |
| 190 #define HAS_I422ALPHATOARGBROW_SSSE3 |
| 191 #define HAS_I422ALPHATOABGRROW_SSSE3 |
190 #endif | 192 #endif |
191 | 193 |
192 // The following are available for AVX2 Visual C and clangcl 32 bit: | 194 // The following are available for AVX2 Visual C and clangcl 32 bit: |
193 // TODO(fbarchard): Port to gcc. | 195 // TODO(fbarchard): Port to gcc. |
194 #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && \ | 196 #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && \ |
195 (defined(VISUALC_HAS_AVX2) || defined(CLANG_HAS_AVX2)) | 197 (defined(VISUALC_HAS_AVX2) || defined(CLANG_HAS_AVX2)) |
196 #define HAS_ARGB1555TOARGBROW_AVX2 | 198 #define HAS_ARGB1555TOARGBROW_AVX2 |
197 #define HAS_ARGB4444TOARGBROW_AVX2 | 199 #define HAS_ARGB4444TOARGBROW_AVX2 |
198 #define HAS_ARGBTOARGB1555ROW_AVX2 | 200 #define HAS_ARGBTOARGB1555ROW_AVX2 |
199 #define HAS_ARGBTOARGB4444ROW_AVX2 | 201 #define HAS_ARGBTOARGB4444ROW_AVX2 |
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2113 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, | 2115 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, |
2114 int width, | 2116 int width, |
2115 const uint8* luma, uint32 lumacoeff); | 2117 const uint8* luma, uint32 lumacoeff); |
2116 | 2118 |
2117 #ifdef __cplusplus | 2119 #ifdef __cplusplus |
2118 } // extern "C" | 2120 } // extern "C" |
2119 } // namespace libyuv | 2121 } // namespace libyuv |
2120 #endif | 2122 #endif |
2121 | 2123 |
2122 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT | 2124 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT |
OLD | NEW |