| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 } \ | 108 } \ |
| 109 ANY_SIMD(temp, temp + 64, temp + 128, temp + 192, \ | 109 ANY_SIMD(temp, temp + 64, temp + 128, temp + 192, \ |
| 110 yuvconstants, MASK + 1); \ | 110 yuvconstants, MASK + 1); \ |
| 111 memcpy(dst_ptr + (n >> DUVSHIFT) * BPP, temp + 192, \ | 111 memcpy(dst_ptr + (n >> DUVSHIFT) * BPP, temp + 192, \ |
| 112 SS(r, DUVSHIFT) * BPP); \ | 112 SS(r, DUVSHIFT) * BPP); \ |
| 113 } | 113 } |
| 114 | 114 |
| 115 #ifdef HAS_I422TOARGBROW_SSSE3 | 115 #ifdef HAS_I422TOARGBROW_SSSE3 |
| 116 ANY31C(I422ToARGBRow_Any_SSSE3, I422ToARGBRow_SSSE3, 1, 0, 4, 7) | 116 ANY31C(I422ToARGBRow_Any_SSSE3, I422ToARGBRow_SSSE3, 1, 0, 4, 7) |
| 117 #endif | 117 #endif |
| 118 #ifdef HAS_I411TOARGBROW_SSSE3 |
| 119 ANY31C(I411ToARGBRow_Any_SSSE3, I411ToARGBRow_SSSE3, 2, 0, 4, 7) |
| 120 #endif |
| 118 #ifdef HAS_I444TOARGBROW_SSSE3 | 121 #ifdef HAS_I444TOARGBROW_SSSE3 |
| 119 ANY31C(I444ToARGBRow_Any_SSSE3, I444ToARGBRow_SSSE3, 0, 0, 4, 7) | 122 ANY31C(I444ToARGBRow_Any_SSSE3, I444ToARGBRow_SSSE3, 0, 0, 4, 7) |
| 120 ANY31C(I411ToARGBRow_Any_SSSE3, I411ToARGBRow_SSSE3, 2, 0, 4, 7) | |
| 121 ANY31C(I422ToRGBARow_Any_SSSE3, I422ToRGBARow_SSSE3, 1, 0, 4, 7) | 123 ANY31C(I422ToRGBARow_Any_SSSE3, I422ToRGBARow_SSSE3, 1, 0, 4, 7) |
| 122 ANY31C(I422ToARGB4444Row_Any_SSSE3, I422ToARGB4444Row_SSSE3, 1, 0, 2, 7) | 124 ANY31C(I422ToARGB4444Row_Any_SSSE3, I422ToARGB4444Row_SSSE3, 1, 0, 2, 7) |
| 123 ANY31C(I422ToARGB1555Row_Any_SSSE3, I422ToARGB1555Row_SSSE3, 1, 0, 2, 7) | 125 ANY31C(I422ToARGB1555Row_Any_SSSE3, I422ToARGB1555Row_SSSE3, 1, 0, 2, 7) |
| 124 ANY31C(I422ToRGB565Row_Any_SSSE3, I422ToRGB565Row_SSSE3, 1, 0, 2, 7) | 126 ANY31C(I422ToRGB565Row_Any_SSSE3, I422ToRGB565Row_SSSE3, 1, 0, 2, 7) |
| 125 ANY31C(I422ToRGB24Row_Any_SSSE3, I422ToRGB24Row_SSSE3, 1, 0, 3, 7) | 127 ANY31C(I422ToRGB24Row_Any_SSSE3, I422ToRGB24Row_SSSE3, 1, 0, 3, 7) |
| 126 #endif // HAS_I444TOARGBROW_SSSE3 | 128 #endif // HAS_I444TOARGBROW_SSSE3 |
| 127 #ifdef HAS_I422TORGB24ROW_AVX2 | 129 #ifdef HAS_I422TORGB24ROW_AVX2 |
| 128 ANY31C(I422ToRGB24Row_Any_AVX2, I422ToRGB24Row_AVX2, 1, 0, 3, 15) | 130 ANY31C(I422ToRGB24Row_Any_AVX2, I422ToRGB24Row_AVX2, 1, 0, 3, 15) |
| 129 #endif | 131 #endif |
| 130 #ifdef HAS_I422TOARGBROW_AVX2 | 132 #ifdef HAS_I422TOARGBROW_AVX2 |
| (...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 #endif | 807 #endif |
| 806 #ifdef HAS_UYVYTOUVROW_NEON | 808 #ifdef HAS_UYVYTOUVROW_NEON |
| 807 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) | 809 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) |
| 808 #endif | 810 #endif |
| 809 #undef ANY12S | 811 #undef ANY12S |
| 810 | 812 |
| 811 #ifdef __cplusplus | 813 #ifdef __cplusplus |
| 812 } // extern "C" | 814 } // extern "C" |
| 813 } // namespace libyuv | 815 } // namespace libyuv |
| 814 #endif | 816 #endif |
| OLD | NEW |