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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 #define HAS_SCALEARGBFILTERCOLS_NEON | 94 #define HAS_SCALEARGBFILTERCOLS_NEON |
95 #endif | 95 #endif |
96 | 96 |
97 // The following are available on Mips platforms: | 97 // The following are available on Mips platforms: |
98 #if !defined(LIBYUV_DISABLE_MIPS) && !defined(__native_client__) && \ | 98 #if !defined(LIBYUV_DISABLE_MIPS) && !defined(__native_client__) && \ |
99 defined(__mips__) && defined(__mips_dsp) && (__mips_dsp_rev >= 2) | 99 defined(__mips__) && defined(__mips_dsp) && (__mips_dsp_rev >= 2) |
100 #define HAS_SCALEROWDOWN2_DSPR2 | 100 #define HAS_SCALEROWDOWN2_DSPR2 |
101 #define HAS_SCALEROWDOWN4_DSPR2 | 101 #define HAS_SCALEROWDOWN4_DSPR2 |
102 #define HAS_SCALEROWDOWN34_DSPR2 | 102 #define HAS_SCALEROWDOWN34_DSPR2 |
103 #define HAS_SCALEROWDOWN38_DSPR2 | 103 #define HAS_SCALEROWDOWN38_DSPR2 |
| 104 #define HAS_SCALEADDROW_DSPR2 |
104 #endif | 105 #endif |
105 | 106 |
106 #if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa) | 107 #if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa) |
107 #define HAS_SCALEARGBROWDOWN2_MSA | 108 #define HAS_SCALEARGBROWDOWN2_MSA |
108 #define HAS_SCALEARGBROWDOWNEVEN_MSA | 109 #define HAS_SCALEARGBROWDOWNEVEN_MSA |
109 #endif | 110 #endif |
110 | 111 |
111 // Scale ARGB vertically with bilinear interpolation. | 112 // Scale ARGB vertically with bilinear interpolation. |
112 void ScalePlaneVertical(int src_height, | 113 void ScalePlaneVertical(int src_height, |
113 int dst_width, | 114 int dst_width, |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 uint8* dst, | 836 uint8* dst, |
836 int dst_width); | 837 int dst_width); |
837 void ScaleRowDown38_2_Box_DSPR2(const uint8* src_ptr, | 838 void ScaleRowDown38_2_Box_DSPR2(const uint8* src_ptr, |
838 ptrdiff_t src_stride, | 839 ptrdiff_t src_stride, |
839 uint8* dst_ptr, | 840 uint8* dst_ptr, |
840 int dst_width); | 841 int dst_width); |
841 void ScaleRowDown38_3_Box_DSPR2(const uint8* src_ptr, | 842 void ScaleRowDown38_3_Box_DSPR2(const uint8* src_ptr, |
842 ptrdiff_t src_stride, | 843 ptrdiff_t src_stride, |
843 uint8* dst_ptr, | 844 uint8* dst_ptr, |
844 int dst_width); | 845 int dst_width); |
| 846 void ScaleAddRow_DSPR2(const uint8* src_ptr, uint16* dst_ptr, int src_width); |
| 847 void ScaleAddRow_Any_DSPR2(const uint8* src_ptr, uint16* dst_ptr, |
| 848 int src_width); |
845 | 849 |
846 #ifdef __cplusplus | 850 #ifdef __cplusplus |
847 } // extern "C" | 851 } // extern "C" |
848 } // namespace libyuv | 852 } // namespace libyuv |
849 #endif | 853 #endif |
850 | 854 |
851 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ | 855 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ |
OLD | NEW |