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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 #define HAS_INTERPOLATEROW_DSPR2 | 362 #define HAS_INTERPOLATEROW_DSPR2 |
363 #define HAS_MIRRORROW_DSPR2 | 363 #define HAS_MIRRORROW_DSPR2 |
364 #define HAS_MIRRORUVROW_DSPR2 | 364 #define HAS_MIRRORUVROW_DSPR2 |
365 #define HAS_SPLITUVROW_DSPR2 | 365 #define HAS_SPLITUVROW_DSPR2 |
366 #endif | 366 #endif |
367 #endif | 367 #endif |
368 | 368 |
369 #if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa) | 369 #if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa) |
370 #define HAS_MIRRORROW_MSA | 370 #define HAS_MIRRORROW_MSA |
371 #define HAS_ARGBMIRRORROW_MSA | 371 #define HAS_ARGBMIRRORROW_MSA |
| 372 #define HAS_I422TOYUY2ROW_MSA |
| 373 #define HAS_I422TOUYVYROW_MSA |
372 #endif | 374 #endif |
373 | 375 |
374 #if defined(_MSC_VER) && !defined(__CLR_VER) && !defined(__clang__) | 376 #if defined(_MSC_VER) && !defined(__CLR_VER) && !defined(__clang__) |
375 #if defined(VISUALC_HAS_AVX2) | 377 #if defined(VISUALC_HAS_AVX2) |
376 #define SIMD_ALIGNED(var) __declspec(align(32)) var | 378 #define SIMD_ALIGNED(var) __declspec(align(32)) var |
377 #else | 379 #else |
378 #define SIMD_ALIGNED(var) __declspec(align(16)) var | 380 #define SIMD_ALIGNED(var) __declspec(align(16)) var |
379 #endif | 381 #endif |
380 typedef __declspec(align(16)) int16 vec16[8]; | 382 typedef __declspec(align(16)) int16 vec16[8]; |
381 typedef __declspec(align(16)) int32 vec32[4]; | 383 typedef __declspec(align(16)) int32 vec32[4]; |
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1761 const uint8* src_v, | 1763 const uint8* src_v, |
1762 uint8* dst_uyvy, int width); | 1764 uint8* dst_uyvy, int width); |
1763 void I422ToYUY2Row_Any_NEON(const uint8* src_y, | 1765 void I422ToYUY2Row_Any_NEON(const uint8* src_y, |
1764 const uint8* src_u, | 1766 const uint8* src_u, |
1765 const uint8* src_v, | 1767 const uint8* src_v, |
1766 uint8* dst_yuy2, int width); | 1768 uint8* dst_yuy2, int width); |
1767 void I422ToUYVYRow_Any_NEON(const uint8* src_y, | 1769 void I422ToUYVYRow_Any_NEON(const uint8* src_y, |
1768 const uint8* src_u, | 1770 const uint8* src_u, |
1769 const uint8* src_v, | 1771 const uint8* src_v, |
1770 uint8* dst_uyvy, int width); | 1772 uint8* dst_uyvy, int width); |
| 1773 void I422ToYUY2Row_MSA(const uint8* src_y, |
| 1774 const uint8* src_u, |
| 1775 const uint8* src_v, |
| 1776 uint8* dst_yuy2, int width); |
| 1777 void I422ToUYVYRow_MSA(const uint8* src_y, |
| 1778 const uint8* src_u, |
| 1779 const uint8* src_v, |
| 1780 uint8* dst_uyvy, int width); |
| 1781 void I422ToYUY2Row_Any_MSA(const uint8* src_y, |
| 1782 const uint8* src_u, |
| 1783 const uint8* src_v, |
| 1784 uint8* dst_yuy2, int width); |
| 1785 void I422ToUYVYRow_Any_MSA(const uint8* src_y, |
| 1786 const uint8* src_u, |
| 1787 const uint8* src_v, |
| 1788 uint8* dst_uyvy, int width); |
1771 | 1789 |
1772 // Effects related row functions. | 1790 // Effects related row functions. |
1773 void ARGBAttenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width); | 1791 void ARGBAttenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width); |
1774 void ARGBAttenuateRow_SSSE3(const uint8* src_argb, uint8* dst_argb, int width); | 1792 void ARGBAttenuateRow_SSSE3(const uint8* src_argb, uint8* dst_argb, int width); |
1775 void ARGBAttenuateRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width); | 1793 void ARGBAttenuateRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width); |
1776 void ARGBAttenuateRow_NEON(const uint8* src_argb, uint8* dst_argb, int width); | 1794 void ARGBAttenuateRow_NEON(const uint8* src_argb, uint8* dst_argb, int width); |
1777 void ARGBAttenuateRow_Any_SSE2(const uint8* src_argb, uint8* dst_argb, | 1795 void ARGBAttenuateRow_Any_SSE2(const uint8* src_argb, uint8* dst_argb, |
1778 int width); | 1796 int width); |
1779 void ARGBAttenuateRow_Any_SSSE3(const uint8* src_argb, uint8* dst_argb, | 1797 void ARGBAttenuateRow_Any_SSSE3(const uint8* src_argb, uint8* dst_argb, |
1780 int width); | 1798 int width); |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1942 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, | 1960 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, |
1943 int width, | 1961 int width, |
1944 const uint8* luma, uint32 lumacoeff); | 1962 const uint8* luma, uint32 lumacoeff); |
1945 | 1963 |
1946 #ifdef __cplusplus | 1964 #ifdef __cplusplus |
1947 } // extern "C" | 1965 } // extern "C" |
1948 } // namespace libyuv | 1966 } // namespace libyuv |
1949 #endif | 1967 #endif |
1950 | 1968 |
1951 #endif // INCLUDE_LIBYUV_ROW_H_ | 1969 #endif // INCLUDE_LIBYUV_ROW_H_ |
OLD | NEW |