| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2012 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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 #ifdef HAS_SPLITUVROW_MIPS_DSPR2 | 708 #ifdef HAS_SPLITUVROW_MIPS_DSPR2 |
| 709 ANY12(SplitUVRow_Any_MIPS_DSPR2, SplitUVRow_MIPS_DSPR2, 0, 2, 0, 15) | 709 ANY12(SplitUVRow_Any_MIPS_DSPR2, SplitUVRow_MIPS_DSPR2, 0, 2, 0, 15) |
| 710 #endif | 710 #endif |
| 711 #ifdef HAS_ARGBTOUV444ROW_SSSE3 | 711 #ifdef HAS_ARGBTOUV444ROW_SSSE3 |
| 712 ANY12(ARGBToUV444Row_Any_SSSE3, ARGBToUV444Row_SSSE3, 0, 4, 0, 15) | 712 ANY12(ARGBToUV444Row_Any_SSSE3, ARGBToUV444Row_SSSE3, 0, 4, 0, 15) |
| 713 #endif | 713 #endif |
| 714 #ifdef HAS_YUY2TOUV422ROW_AVX2 | 714 #ifdef HAS_YUY2TOUV422ROW_AVX2 |
| 715 ANY12(YUY2ToUV422Row_Any_AVX2, YUY2ToUV422Row_AVX2, 1, 4, 1, 31) | 715 ANY12(YUY2ToUV422Row_Any_AVX2, YUY2ToUV422Row_AVX2, 1, 4, 1, 31) |
| 716 ANY12(UYVYToUV422Row_Any_AVX2, UYVYToUV422Row_AVX2, 1, 4, 1, 31) | 716 ANY12(UYVYToUV422Row_Any_AVX2, UYVYToUV422Row_AVX2, 1, 4, 1, 31) |
| 717 #endif | 717 #endif |
| 718 #ifdef HAS_ARGBTOUV422ROW_SSSE3 | |
| 719 ANY12(ARGBToUV422Row_Any_SSSE3, ARGBToUV422Row_SSSE3, 0, 4, 1, 15) | |
| 720 #endif | |
| 721 #ifdef HAS_YUY2TOUV422ROW_SSE2 | 718 #ifdef HAS_YUY2TOUV422ROW_SSE2 |
| 722 ANY12(YUY2ToUV422Row_Any_SSE2, YUY2ToUV422Row_SSE2, 1, 4, 1, 15) | 719 ANY12(YUY2ToUV422Row_Any_SSE2, YUY2ToUV422Row_SSE2, 1, 4, 1, 15) |
| 723 ANY12(UYVYToUV422Row_Any_SSE2, UYVYToUV422Row_SSE2, 1, 4, 1, 15) | 720 ANY12(UYVYToUV422Row_Any_SSE2, UYVYToUV422Row_SSE2, 1, 4, 1, 15) |
| 724 #endif | 721 #endif |
| 725 #ifdef HAS_YUY2TOUV422ROW_NEON | 722 #ifdef HAS_YUY2TOUV422ROW_NEON |
| 726 ANY12(ARGBToUV444Row_Any_NEON, ARGBToUV444Row_NEON, 0, 4, 0, 7) | 723 ANY12(ARGBToUV444Row_Any_NEON, ARGBToUV444Row_NEON, 0, 4, 0, 7) |
| 727 ANY12(ARGBToUV422Row_Any_NEON, ARGBToUV422Row_NEON, 0, 4, 1, 15) | |
| 728 ANY12(ARGBToUV411Row_Any_NEON, ARGBToUV411Row_NEON, 0, 4, 2, 31) | 724 ANY12(ARGBToUV411Row_Any_NEON, ARGBToUV411Row_NEON, 0, 4, 2, 31) |
| 729 ANY12(YUY2ToUV422Row_Any_NEON, YUY2ToUV422Row_NEON, 1, 4, 1, 15) | 725 ANY12(YUY2ToUV422Row_Any_NEON, YUY2ToUV422Row_NEON, 1, 4, 1, 15) |
| 730 ANY12(UYVYToUV422Row_Any_NEON, UYVYToUV422Row_NEON, 1, 4, 1, 15) | 726 ANY12(UYVYToUV422Row_Any_NEON, UYVYToUV422Row_NEON, 1, 4, 1, 15) |
| 731 #endif | 727 #endif |
| 732 #undef ANY12 | 728 #undef ANY12 |
| 733 | 729 |
| 734 // Any 1 to 2 with source stride (2 rows of source). Outputs UV planes. | 730 // Any 1 to 2 with source stride (2 rows of source). Outputs UV planes. |
| 735 // 128 byte row allows for 32 avx ARGB pixels. | 731 // 128 byte row allows for 32 avx ARGB pixels. |
| 736 #define ANY12S(NAMEANY, ANY_SIMD, UVSHIFT, BPP, MASK) \ | 732 #define ANY12S(NAMEANY, ANY_SIMD, UVSHIFT, BPP, MASK) \ |
| 737 void NAMEANY(const uint8* src_ptr, int src_stride_ptr, \ | 733 void NAMEANY(const uint8* src_ptr, int src_stride_ptr, \ |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 #endif | 806 #endif |
| 811 #ifdef HAS_UYVYTOUVROW_NEON | 807 #ifdef HAS_UYVYTOUVROW_NEON |
| 812 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) | 808 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) |
| 813 #endif | 809 #endif |
| 814 #undef ANY12S | 810 #undef ANY12S |
| 815 | 811 |
| 816 #ifdef __cplusplus | 812 #ifdef __cplusplus |
| 817 } // extern "C" | 813 } // extern "C" |
| 818 } // namespace libyuv | 814 } // namespace libyuv |
| 819 #endif | 815 #endif |
| OLD | NEW |