| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 #define HAS_ARGBTORGB565DITHERROW_AVX2 | 198 #define HAS_ARGBTORGB565DITHERROW_AVX2 |
| 199 #define HAS_ARGBTORGB565DITHERROW_SSE2 | 199 #define HAS_ARGBTORGB565DITHERROW_SSE2 |
| 200 #define HAS_ARGBTORGB565ROW_AVX2 | 200 #define HAS_ARGBTORGB565ROW_AVX2 |
| 201 #define HAS_I411TOARGBROW_AVX2 | 201 #define HAS_I411TOARGBROW_AVX2 |
| 202 #define HAS_I422TOARGB1555ROW_AVX2 | 202 #define HAS_I422TOARGB1555ROW_AVX2 |
| 203 #define HAS_I422TOARGB4444ROW_AVX2 | 203 #define HAS_I422TOARGB4444ROW_AVX2 |
| 204 #define HAS_I422TORGB565ROW_AVX2 | 204 #define HAS_I422TORGB565ROW_AVX2 |
| 205 #define HAS_I444TOARGBROW_AVX2 | 205 #define HAS_I444TOARGBROW_AVX2 |
| 206 #define HAS_I444TOABGRROW_AVX2 | 206 #define HAS_I444TOABGRROW_AVX2 |
| 207 #define HAS_J400TOARGBROW_AVX2 | 207 #define HAS_J400TOARGBROW_AVX2 |
| 208 #define HAS_NV12TOARGBROW_AVX2 | 208 #define HAS_RGB565TOARGBROW_AVX2 |
| 209 #define HAS_NV12TORGB565ROW_AVX2 | 209 #define HAS_NV12TORGB565ROW_AVX2 |
| 210 #define HAS_RGB565TOARGBROW_AVX2 | |
| 211 #endif | 210 #endif |
| 212 | 211 |
| 213 // The following are available on all x86 platforms, but | 212 // The following are available on all x86 platforms, but |
| 214 // require VS2012, clang 3.4 or gcc 4.7. | 213 // require VS2012, clang 3.4 or gcc 4.7. |
| 215 // The code supports NaCL but requires a new compiler and validator. | 214 // The code supports NaCL but requires a new compiler and validator. |
| 216 #if !defined(LIBYUV_DISABLE_X86) && (defined(VISUALC_HAS_AVX2) || \ | 215 #if !defined(LIBYUV_DISABLE_X86) && (defined(VISUALC_HAS_AVX2) || \ |
| 217 defined(CLANG_HAS_AVX2) || defined(GCC_HAS_AVX2)) | 216 defined(CLANG_HAS_AVX2) || defined(GCC_HAS_AVX2)) |
| 218 #define HAS_ARGBCOPYALPHAROW_AVX2 | 217 #define HAS_ARGBCOPYALPHAROW_AVX2 |
| 219 #define HAS_ARGBCOPYYTOALPHAROW_AVX2 | 218 #define HAS_ARGBCOPYYTOALPHAROW_AVX2 |
| 220 #define HAS_ARGBMIRRORROW_AVX2 | 219 #define HAS_ARGBMIRRORROW_AVX2 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 240 #define HAS_MIRRORROW_AVX2 | 239 #define HAS_MIRRORROW_AVX2 |
| 241 #define HAS_SPLITUVROW_AVX2 | 240 #define HAS_SPLITUVROW_AVX2 |
| 242 #define HAS_UYVYTOARGBROW_AVX2 | 241 #define HAS_UYVYTOARGBROW_AVX2 |
| 243 #define HAS_UYVYTOUV422ROW_AVX2 | 242 #define HAS_UYVYTOUV422ROW_AVX2 |
| 244 #define HAS_UYVYTOUVROW_AVX2 | 243 #define HAS_UYVYTOUVROW_AVX2 |
| 245 #define HAS_UYVYTOYROW_AVX2 | 244 #define HAS_UYVYTOYROW_AVX2 |
| 246 #define HAS_YUY2TOARGBROW_AVX2 | 245 #define HAS_YUY2TOARGBROW_AVX2 |
| 247 #define HAS_YUY2TOUV422ROW_AVX2 | 246 #define HAS_YUY2TOUV422ROW_AVX2 |
| 248 #define HAS_YUY2TOUVROW_AVX2 | 247 #define HAS_YUY2TOUVROW_AVX2 |
| 249 #define HAS_YUY2TOYROW_AVX2 | 248 #define HAS_YUY2TOYROW_AVX2 |
| 249 #define HAS_NV12TOARGBROW_AVX2 |
| 250 | 250 |
| 251 // Effects: | 251 // Effects: |
| 252 #define HAS_ARGBADDROW_AVX2 | 252 #define HAS_ARGBADDROW_AVX2 |
| 253 #define HAS_ARGBATTENUATEROW_AVX2 | 253 #define HAS_ARGBATTENUATEROW_AVX2 |
| 254 #define HAS_ARGBMULTIPLYROW_AVX2 | 254 #define HAS_ARGBMULTIPLYROW_AVX2 |
| 255 #define HAS_ARGBSUBTRACTROW_AVX2 | 255 #define HAS_ARGBSUBTRACTROW_AVX2 |
| 256 #define HAS_ARGBUNATTENUATEROW_AVX2 | 256 #define HAS_ARGBUNATTENUATEROW_AVX2 |
| 257 #endif | 257 #endif |
| 258 | 258 |
| 259 // The following are disabled when SSSE3 is available: | 259 // The following are disabled when SSSE3 is available: |
| (...skipping 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2038 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, | 2038 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, |
| 2039 int width, | 2039 int width, |
| 2040 const uint8* luma, uint32 lumacoeff); | 2040 const uint8* luma, uint32 lumacoeff); |
| 2041 | 2041 |
| 2042 #ifdef __cplusplus | 2042 #ifdef __cplusplus |
| 2043 } // extern "C" | 2043 } // extern "C" |
| 2044 } // namespace libyuv | 2044 } // namespace libyuv |
| 2045 #endif | 2045 #endif |
| 2046 | 2046 |
| 2047 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT | 2047 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT |
| OLD | NEW |