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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 memcpy(dst_ptr + (n >> DUVSHIFT) * BPP, temp + 192, \ | 73 memcpy(dst_ptr + (n >> DUVSHIFT) * BPP, temp + 192, \ |
74 SS(r, DUVSHIFT) * BPP); \ | 74 SS(r, DUVSHIFT) * BPP); \ |
75 } | 75 } |
76 #ifdef HAS_I422TOYUY2ROW_SSE2 | 76 #ifdef HAS_I422TOYUY2ROW_SSE2 |
77 ANY31(I422ToYUY2Row_Any_SSE2, I422ToYUY2Row_SSE2, 1, 1, 4, 15) | 77 ANY31(I422ToYUY2Row_Any_SSE2, I422ToYUY2Row_SSE2, 1, 1, 4, 15) |
78 ANY31(I422ToUYVYRow_Any_SSE2, I422ToUYVYRow_SSE2, 1, 1, 4, 15) | 78 ANY31(I422ToUYVYRow_Any_SSE2, I422ToUYVYRow_SSE2, 1, 1, 4, 15) |
79 #endif | 79 #endif |
80 #ifdef HAS_I422TOYUY2ROW_NEON | 80 #ifdef HAS_I422TOYUY2ROW_NEON |
81 ANY31(I422ToYUY2Row_Any_NEON, I422ToYUY2Row_NEON, 1, 1, 4, 15) | 81 ANY31(I422ToYUY2Row_Any_NEON, I422ToYUY2Row_NEON, 1, 1, 4, 15) |
82 #endif | 82 #endif |
| 83 #ifdef HAS_I422TOYUY2ROW_MSA |
| 84 ANY31(I422ToYUY2Row_Any_MSA, I422ToYUY2Row_MSA, 1, 1, 4, 31) |
| 85 #endif |
83 #ifdef HAS_I422TOUYVYROW_NEON | 86 #ifdef HAS_I422TOUYVYROW_NEON |
84 ANY31(I422ToUYVYRow_Any_NEON, I422ToUYVYRow_NEON, 1, 1, 4, 15) | 87 ANY31(I422ToUYVYRow_Any_NEON, I422ToUYVYRow_NEON, 1, 1, 4, 15) |
85 #endif | 88 #endif |
| 89 #ifdef HAS_I422TOUYVYROW_MSA |
| 90 ANY31(I422ToUYVYRow_Any_MSA, I422ToUYVYRow_MSA, 1, 1, 4, 31) |
| 91 #endif |
86 #ifdef HAS_BLENDPLANEROW_AVX2 | 92 #ifdef HAS_BLENDPLANEROW_AVX2 |
87 ANY31(BlendPlaneRow_Any_AVX2, BlendPlaneRow_AVX2, 0, 0, 1, 31) | 93 ANY31(BlendPlaneRow_Any_AVX2, BlendPlaneRow_AVX2, 0, 0, 1, 31) |
88 #endif | 94 #endif |
89 #ifdef HAS_BLENDPLANEROW_SSSE3 | 95 #ifdef HAS_BLENDPLANEROW_SSSE3 |
90 ANY31(BlendPlaneRow_Any_SSSE3, BlendPlaneRow_SSSE3, 0, 0, 1, 7) | 96 ANY31(BlendPlaneRow_Any_SSSE3, BlendPlaneRow_SSSE3, 0, 0, 1, 7) |
91 #endif | 97 #endif |
92 #undef ANY31 | 98 #undef ANY31 |
93 | 99 |
94 // Note that odd width replication includes 444 due to implementation | 100 // Note that odd width replication includes 444 due to implementation |
95 // on arm that subsamples 444 to 422 internally. | 101 // on arm that subsamples 444 to 422 internally. |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 #endif | 827 #endif |
822 #ifdef HAS_UYVYTOUVROW_NEON | 828 #ifdef HAS_UYVYTOUVROW_NEON |
823 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) | 829 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) |
824 #endif | 830 #endif |
825 #undef ANY12S | 831 #undef ANY12S |
826 | 832 |
827 #ifdef __cplusplus | 833 #ifdef __cplusplus |
828 } // extern "C" | 834 } // extern "C" |
829 } // namespace libyuv | 835 } // namespace libyuv |
830 #endif | 836 #endif |
OLD | NEW |