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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // The following are available for AVX2 Visual C and clangcl 32 bit: | 234 // The following are available for AVX2 Visual C and clangcl 32 bit: |
235 // TODO(fbarchard): Port to gcc. | 235 // TODO(fbarchard): Port to gcc. |
236 #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && \ | 236 #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && \ |
237 (defined(VISUALC_HAS_AVX2) || defined(CLANG_HAS_AVX2)) | 237 (defined(VISUALC_HAS_AVX2) || defined(CLANG_HAS_AVX2)) |
238 #define HAS_ARGB1555TOARGBROW_AVX2 | 238 #define HAS_ARGB1555TOARGBROW_AVX2 |
239 #define HAS_ARGB4444TOARGBROW_AVX2 | 239 #define HAS_ARGB4444TOARGBROW_AVX2 |
240 #define HAS_ARGBTOARGB1555ROW_AVX2 | 240 #define HAS_ARGBTOARGB1555ROW_AVX2 |
241 #define HAS_ARGBTOARGB4444ROW_AVX2 | 241 #define HAS_ARGBTOARGB4444ROW_AVX2 |
242 #define HAS_ARGBTORGB565ROW_AVX2 | 242 #define HAS_ARGBTORGB565ROW_AVX2 |
243 #define HAS_I411TOARGBROW_AVX2 | 243 #define HAS_I411TOARGBROW_AVX2 |
244 #define HAS_I422TOARGB1555ROW_AVX2 | 244 // #define HAS_I422TOARGB1555ROW_AVX2 |
245 #define HAS_I422TOARGB4444ROW_AVX2 | 245 // #define HAS_I422TOARGB4444ROW_AVX2 |
246 #define HAS_I422TORGB565ROW_AVX2 | 246 // #define HAS_I422TORGB565ROW_AVX2 |
247 #define HAS_I444TOARGBROW_AVX2 | 247 #define HAS_I444TOARGBROW_AVX2 |
248 #define HAS_J400TOARGBROW_AVX2 | 248 #define HAS_J400TOARGBROW_AVX2 |
249 #define HAS_NV12TORGB565ROW_AVX2 | 249 #define HAS_NV12TORGB565ROW_AVX2 |
250 #define HAS_RGB565TOARGBROW_AVX2 | 250 #define HAS_RGB565TOARGBROW_AVX2 |
251 #endif | 251 #endif |
252 | 252 |
253 // The following are also available on x64 Visual C. | 253 // The following are also available on x64 Visual C. |
254 #if !defined(LIBYUV_DISABLE_X86) && defined (_M_X64) && \ | 254 #if !defined(LIBYUV_DISABLE_X86) && defined (_M_X64) && \ |
255 (!defined(__clang__) || defined(__SSSE3__)) | 255 (!defined(__clang__) || defined(__SSSE3__)) |
256 #define HAS_I422ALPHATOARGBROW_SSSE3 | 256 #define HAS_I422ALPHATOARGBROW_SSSE3 |
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, | 1915 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, |
1916 int width, | 1916 int width, |
1917 const uint8* luma, uint32 lumacoeff); | 1917 const uint8* luma, uint32 lumacoeff); |
1918 | 1918 |
1919 #ifdef __cplusplus | 1919 #ifdef __cplusplus |
1920 } // extern "C" | 1920 } // extern "C" |
1921 } // namespace libyuv | 1921 } // namespace libyuv |
1922 #endif | 1922 #endif |
1923 | 1923 |
1924 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT | 1924 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT |
OLD | NEW |