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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 temp + 128 + SS(r, UVSHIFT) * BPP - BPP, BPP); \ | 749 temp + 128 + SS(r, UVSHIFT) * BPP - BPP, BPP); \ |
750 } \ | 750 } \ |
751 ANY_SIMD(temp, 128, temp + 256, temp + 384, MASK + 1); \ | 751 ANY_SIMD(temp, 128, temp + 256, temp + 384, MASK + 1); \ |
752 memcpy(dst_u + (n >> 1), temp + 256, SS(r, 1)); \ | 752 memcpy(dst_u + (n >> 1), temp + 256, SS(r, 1)); \ |
753 memcpy(dst_v + (n >> 1), temp + 384, SS(r, 1)); \ | 753 memcpy(dst_v + (n >> 1), temp + 384, SS(r, 1)); \ |
754 } | 754 } |
755 | 755 |
756 #ifdef HAS_ARGBTOUVROW_AVX2 | 756 #ifdef HAS_ARGBTOUVROW_AVX2 |
757 ANY12S(ARGBToUVRow_Any_AVX2, ARGBToUVRow_AVX2, 0, 4, 31) | 757 ANY12S(ARGBToUVRow_Any_AVX2, ARGBToUVRow_AVX2, 0, 4, 31) |
758 #endif | 758 #endif |
| 759 #ifdef HAS_ARGBTOUVJROW_AVX2 |
| 760 ANY12S(ARGBToUVJRow_Any_AVX2, ARGBToUVJRow_AVX2, 0, 4, 31) |
| 761 #endif |
759 #ifdef HAS_ARGBTOUVROW_SSSE3 | 762 #ifdef HAS_ARGBTOUVROW_SSSE3 |
760 ANY12S(ARGBToUVRow_Any_SSSE3, ARGBToUVRow_SSSE3, 0, 4, 15) | 763 ANY12S(ARGBToUVRow_Any_SSSE3, ARGBToUVRow_SSSE3, 0, 4, 15) |
761 ANY12S(ARGBToUVJRow_Any_SSSE3, ARGBToUVJRow_SSSE3, 0, 4, 15) | 764 ANY12S(ARGBToUVJRow_Any_SSSE3, ARGBToUVJRow_SSSE3, 0, 4, 15) |
762 ANY12S(BGRAToUVRow_Any_SSSE3, BGRAToUVRow_SSSE3, 0, 4, 15) | 765 ANY12S(BGRAToUVRow_Any_SSSE3, BGRAToUVRow_SSSE3, 0, 4, 15) |
763 ANY12S(ABGRToUVRow_Any_SSSE3, ABGRToUVRow_SSSE3, 0, 4, 15) | 766 ANY12S(ABGRToUVRow_Any_SSSE3, ABGRToUVRow_SSSE3, 0, 4, 15) |
764 ANY12S(RGBAToUVRow_Any_SSSE3, RGBAToUVRow_SSSE3, 0, 4, 15) | 767 ANY12S(RGBAToUVRow_Any_SSSE3, RGBAToUVRow_SSSE3, 0, 4, 15) |
765 #endif | 768 #endif |
766 #ifdef HAS_YUY2TOUVROW_AVX2 | 769 #ifdef HAS_YUY2TOUVROW_AVX2 |
767 ANY12S(YUY2ToUVRow_Any_AVX2, YUY2ToUVRow_AVX2, 1, 4, 31) | 770 ANY12S(YUY2ToUVRow_Any_AVX2, YUY2ToUVRow_AVX2, 1, 4, 31) |
768 ANY12S(UYVYToUVRow_Any_AVX2, UYVYToUVRow_AVX2, 1, 4, 31) | 771 ANY12S(UYVYToUVRow_Any_AVX2, UYVYToUVRow_AVX2, 1, 4, 31) |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 #endif | 809 #endif |
807 #ifdef HAS_UYVYTOUVROW_NEON | 810 #ifdef HAS_UYVYTOUVROW_NEON |
808 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) | 811 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) |
809 #endif | 812 #endif |
810 #undef ANY12S | 813 #undef ANY12S |
811 | 814 |
812 #ifdef __cplusplus | 815 #ifdef __cplusplus |
813 } // extern "C" | 816 } // extern "C" |
814 } // namespace libyuv | 817 } // namespace libyuv |
815 #endif | 818 #endif |
OLD | NEW |