| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 #define HAS_SETROW_X86 | 133 #define HAS_SETROW_X86 |
| 134 #define HAS_SPLITUVROW_SSE2 | 134 #define HAS_SPLITUVROW_SSE2 |
| 135 #define HAS_UYVYTOARGBROW_SSSE3 | 135 #define HAS_UYVYTOARGBROW_SSSE3 |
| 136 #define HAS_UYVYTOUV422ROW_SSE2 | 136 #define HAS_UYVYTOUV422ROW_SSE2 |
| 137 #define HAS_UYVYTOUVROW_SSE2 | 137 #define HAS_UYVYTOUVROW_SSE2 |
| 138 #define HAS_UYVYTOYROW_SSE2 | 138 #define HAS_UYVYTOYROW_SSE2 |
| 139 #define HAS_YUY2TOARGBROW_SSSE3 | 139 #define HAS_YUY2TOARGBROW_SSSE3 |
| 140 #define HAS_YUY2TOUV422ROW_SSE2 | 140 #define HAS_YUY2TOUV422ROW_SSE2 |
| 141 #define HAS_YUY2TOUVROW_SSE2 | 141 #define HAS_YUY2TOUVROW_SSE2 |
| 142 #define HAS_YUY2TOYROW_SSE2 | 142 #define HAS_YUY2TOYROW_SSE2 |
| 143 #define HAS_HALFFLOATROW_SSE2 |
| 143 | 144 |
| 144 // Effects: | 145 // Effects: |
| 145 #define HAS_ARGBADDROW_SSE2 | 146 #define HAS_ARGBADDROW_SSE2 |
| 146 #define HAS_ARGBAFFINEROW_SSE2 | 147 #define HAS_ARGBAFFINEROW_SSE2 |
| 147 #define HAS_ARGBATTENUATEROW_SSSE3 | 148 #define HAS_ARGBATTENUATEROW_SSSE3 |
| 148 #define HAS_ARGBBLENDROW_SSSE3 | 149 #define HAS_ARGBBLENDROW_SSSE3 |
| 149 #define HAS_ARGBCOLORMATRIXROW_SSSE3 | 150 #define HAS_ARGBCOLORMATRIXROW_SSSE3 |
| 150 #define HAS_ARGBCOLORTABLEROW_X86 | 151 #define HAS_ARGBCOLORTABLEROW_X86 |
| 151 #define HAS_ARGBCOPYALPHAROW_SSE2 | 152 #define HAS_ARGBCOPYALPHAROW_SSE2 |
| 152 #define HAS_ARGBCOPYYTOALPHAROW_SSE2 | 153 #define HAS_ARGBCOPYYTOALPHAROW_SSE2 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 #define HAS_RGB565TOARGBROW_AVX2 | 256 #define HAS_RGB565TOARGBROW_AVX2 |
| 256 #endif | 257 #endif |
| 257 | 258 |
| 258 // The following are also available on x64 Visual C. | 259 // The following are also available on x64 Visual C. |
| 259 #if !defined(LIBYUV_DISABLE_X86) && defined(_MSC_VER) && defined(_M_X64) && \ | 260 #if !defined(LIBYUV_DISABLE_X86) && defined(_MSC_VER) && defined(_M_X64) && \ |
| 260 (!defined(__clang__) || defined(__SSSE3__)) | 261 (!defined(__clang__) || defined(__SSSE3__)) |
| 261 #define HAS_I422ALPHATOARGBROW_SSSE3 | 262 #define HAS_I422ALPHATOARGBROW_SSSE3 |
| 262 #define HAS_I422TOARGBROW_SSSE3 | 263 #define HAS_I422TOARGBROW_SSSE3 |
| 263 #endif | 264 #endif |
| 264 | 265 |
| 265 // The following are available on gcc x86 platforms: | |
| 266 // TODO(fbarchard): Port to Visual C. | |
| 267 #if !defined(LIBYUV_DISABLE_X86) && \ | |
| 268 (defined(__x86_64__) || (defined(__i386__) && !defined(_MSC_VER))) | |
| 269 #define HAS_HALFFLOATROW_SSE2 | |
| 270 #endif | |
| 271 | |
| 272 // The following are available on Neon platforms: | 266 // The following are available on Neon platforms: |
| 273 #if !defined(LIBYUV_DISABLE_NEON) && \ | 267 #if !defined(LIBYUV_DISABLE_NEON) && \ |
| 274 (defined(__aarch64__) || defined(__ARM_NEON__) || defined(LIBYUV_NEON)) | 268 (defined(__aarch64__) || defined(__ARM_NEON__) || defined(LIBYUV_NEON)) |
| 275 #define HAS_ABGRTOUVROW_NEON | 269 #define HAS_ABGRTOUVROW_NEON |
| 276 #define HAS_ABGRTOYROW_NEON | 270 #define HAS_ABGRTOYROW_NEON |
| 277 #define HAS_ARGB1555TOARGBROW_NEON | 271 #define HAS_ARGB1555TOARGBROW_NEON |
| 278 #define HAS_ARGB1555TOUVROW_NEON | 272 #define HAS_ARGB1555TOUVROW_NEON |
| 279 #define HAS_ARGB1555TOYROW_NEON | 273 #define HAS_ARGB1555TOYROW_NEON |
| 280 #define HAS_ARGB4444TOARGBROW_NEON | 274 #define HAS_ARGB4444TOARGBROW_NEON |
| 281 #define HAS_ARGB4444TOUVROW_NEON | 275 #define HAS_ARGB4444TOUVROW_NEON |
| (...skipping 1672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1954 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, | 1948 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, |
| 1955 int width, | 1949 int width, |
| 1956 const uint8* luma, uint32 lumacoeff); | 1950 const uint8* luma, uint32 lumacoeff); |
| 1957 | 1951 |
| 1958 #ifdef __cplusplus | 1952 #ifdef __cplusplus |
| 1959 } // extern "C" | 1953 } // extern "C" |
| 1960 } // namespace libyuv | 1954 } // namespace libyuv |
| 1961 #endif | 1955 #endif |
| 1962 | 1956 |
| 1963 #endif // INCLUDE_LIBYUV_ROW_H_ | 1957 #endif // INCLUDE_LIBYUV_ROW_H_ |
| OLD | NEW |