| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2013 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 // The following are available on Neon platforms: | 45 // The following are available on Neon platforms: |
| 46 #if !defined(LIBYUV_DISABLE_NEON) && !defined(__native_client__) && \ | 46 #if !defined(LIBYUV_DISABLE_NEON) && !defined(__native_client__) && \ |
| 47 (defined(__ARM_NEON__) || defined(LIBYUV_NEON)) | 47 (defined(__ARM_NEON__) || defined(LIBYUV_NEON)) |
| 48 #define HAS_SCALEROWDOWN2_NEON | 48 #define HAS_SCALEROWDOWN2_NEON |
| 49 #define HAS_SCALEROWDOWN4_NEON | 49 #define HAS_SCALEROWDOWN4_NEON |
| 50 #define HAS_SCALEROWDOWN34_NEON | 50 #define HAS_SCALEROWDOWN34_NEON |
| 51 #define HAS_SCALEROWDOWN38_NEON | 51 #define HAS_SCALEROWDOWN38_NEON |
| 52 #define HAS_SCALEARGBROWDOWNEVEN_NEON | 52 #define HAS_SCALEARGBROWDOWNEVEN_NEON |
| 53 #define HAS_SCALEARGBROWDOWN2_NEON | 53 #define HAS_SCALEARGBROWDOWN2_NEON |
| 54 #elif !defined(LIBYUV_DISABLE_NEON) && !defined(__native_client__) && \ |
| 55 (defined(__aarch64__) || defined(LIBYUV_NEON)) |
| 56 /* #define HAS_SCALEROWDOWN2_NEON */ |
| 57 /* #define HAS_SCALEROWDOWN4_NEON */ |
| 58 /* #define HAS_SCALEROWDOWN34_NEON */ |
| 59 /* #define HAS_SCALEROWDOWN38_NEON */ |
| 60 /* #define HAS_SCALEARGBROWDOWNEVEN_NEON */ |
| 61 /* #define HAS_SCALEARGBROWDOWN2_NEON */ |
| 54 #endif | 62 #endif |
| 55 | 63 |
| 56 // The following are available on Mips platforms: | 64 // The following are available on Mips platforms: |
| 57 #if !defined(LIBYUV_DISABLE_MIPS) && !defined(__native_client__) && \ | 65 #if !defined(LIBYUV_DISABLE_MIPS) && !defined(__native_client__) && \ |
| 58 defined(__mips__) && defined(__mips_dsp) && (__mips_dsp_rev >= 2) | 66 defined(__mips__) && defined(__mips_dsp) && (__mips_dsp_rev >= 2) |
| 59 #define HAS_SCALEROWDOWN2_MIPS_DSPR2 | 67 #define HAS_SCALEROWDOWN2_MIPS_DSPR2 |
| 60 #define HAS_SCALEROWDOWN4_MIPS_DSPR2 | 68 #define HAS_SCALEROWDOWN4_MIPS_DSPR2 |
| 61 #define HAS_SCALEROWDOWN34_MIPS_DSPR2 | 69 #define HAS_SCALEROWDOWN34_MIPS_DSPR2 |
| 62 #define HAS_SCALEROWDOWN38_MIPS_DSPR2 | 70 #define HAS_SCALEROWDOWN38_MIPS_DSPR2 |
| 63 #endif | 71 #endif |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 void ScaleRowDown38_3_Box_MIPS_DSPR2(const uint8* src_ptr, | 340 void ScaleRowDown38_3_Box_MIPS_DSPR2(const uint8* src_ptr, |
| 333 ptrdiff_t src_stride, | 341 ptrdiff_t src_stride, |
| 334 uint8* dst_ptr, int dst_width); | 342 uint8* dst_ptr, int dst_width); |
| 335 | 343 |
| 336 #ifdef __cplusplus | 344 #ifdef __cplusplus |
| 337 } // extern "C" | 345 } // extern "C" |
| 338 } // namespace libyuv | 346 } // namespace libyuv |
| 339 #endif | 347 #endif |
| 340 | 348 |
| 341 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ NOLINT | 349 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ NOLINT |
| OLD | NEW |