| 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 #define HAS_SCALEROWDOWN2_MSA | 110 #define HAS_SCALEROWDOWN2_MSA |
| 110 #define HAS_SCALEROWDOWN4_MSA | 111 #define HAS_SCALEROWDOWN4_MSA |
| 111 #define HAS_SCALEROWDOWN38_MSA | 112 #define HAS_SCALEROWDOWN38_MSA |
| 112 #define HAS_SCALEADDROW_MSA | 113 #define HAS_SCALEADDROW_MSA |
| 113 #endif | 114 #endif |
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 uint8* dst, | 840 uint8* dst, |
| 840 int dst_width); | 841 int dst_width); |
| 841 void ScaleRowDown38_2_Box_DSPR2(const uint8* src_ptr, | 842 void ScaleRowDown38_2_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); |
| 845 void ScaleRowDown38_3_Box_DSPR2(const uint8* src_ptr, | 846 void ScaleRowDown38_3_Box_DSPR2(const uint8* src_ptr, |
| 846 ptrdiff_t src_stride, | 847 ptrdiff_t src_stride, |
| 847 uint8* dst_ptr, | 848 uint8* dst_ptr, |
| 848 int dst_width); | 849 int dst_width); |
| 850 void ScaleAddRow_DSPR2(const uint8* src_ptr, uint16* dst_ptr, int src_width); |
| 851 void ScaleAddRow_Any_DSPR2(const uint8* src_ptr, |
| 852 uint16* dst_ptr, |
| 853 int src_width); |
| 849 | 854 |
| 850 void ScaleRowDown2_MSA(const uint8_t* src_ptr, | 855 void ScaleRowDown2_MSA(const uint8_t* src_ptr, |
| 851 ptrdiff_t src_stride, | 856 ptrdiff_t src_stride, |
| 852 uint8_t* dst, | 857 uint8_t* dst, |
| 853 int dst_width); | 858 int dst_width); |
| 854 void ScaleRowDown2Linear_MSA(const uint8_t* src_ptr, | 859 void ScaleRowDown2Linear_MSA(const uint8_t* src_ptr, |
| 855 ptrdiff_t src_stride, | 860 ptrdiff_t src_stride, |
| 856 uint8_t* dst, | 861 uint8_t* dst, |
| 857 int dst_width); | 862 int dst_width); |
| 858 void ScaleRowDown2Box_MSA(const uint8_t* src_ptr, | 863 void ScaleRowDown2Box_MSA(const uint8_t* src_ptr, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 878 void ScaleRowDown38_3_Box_MSA(const uint8_t* src_ptr, | 883 void ScaleRowDown38_3_Box_MSA(const uint8_t* src_ptr, |
| 879 ptrdiff_t src_stride, | 884 ptrdiff_t src_stride, |
| 880 uint8_t* dst_ptr, | 885 uint8_t* dst_ptr, |
| 881 int dst_width); | 886 int dst_width); |
| 882 void ScaleAddRow_MSA(const uint8_t* src_ptr, uint16_t* dst_ptr, int src_width); | 887 void ScaleAddRow_MSA(const uint8_t* src_ptr, uint16_t* dst_ptr, int src_width); |
| 883 void ScaleRowDown2_Any_MSA(const uint8_t* src_ptr, | 888 void ScaleRowDown2_Any_MSA(const uint8_t* src_ptr, |
| 884 ptrdiff_t src_stride, | 889 ptrdiff_t src_stride, |
| 885 uint8_t* dst, | 890 uint8_t* dst, |
| 886 int dst_width); | 891 int dst_width); |
| 887 void ScaleRowDown2Linear_Any_MSA(const uint8_t* src_ptr, | 892 void ScaleRowDown2Linear_Any_MSA(const uint8_t* src_ptr, |
| 888 ptrdiff_t src_stride, | 893 ptrdiff_t src_stride, |
| 889 uint8_t* dst, | 894 uint8_t* dst, |
| 890 int dst_width); | 895 int dst_width); |
| 891 void ScaleRowDown2Box_Any_MSA(const uint8_t* src_ptr, | 896 void ScaleRowDown2Box_Any_MSA(const uint8_t* src_ptr, |
| 892 ptrdiff_t src_stride, | 897 ptrdiff_t src_stride, |
| 893 uint8_t* dst, | 898 uint8_t* dst, |
| 894 int dst_width); | 899 int dst_width); |
| 895 void ScaleRowDown4_Any_MSA(const uint8_t* src_ptr, | 900 void ScaleRowDown4_Any_MSA(const uint8_t* src_ptr, |
| 896 ptrdiff_t src_stride, | 901 ptrdiff_t src_stride, |
| 897 uint8_t* dst, | 902 uint8_t* dst, |
| 898 int dst_width); | 903 int dst_width); |
| 899 void ScaleRowDown4Box_Any_MSA(const uint8_t* src_ptr, | 904 void ScaleRowDown4Box_Any_MSA(const uint8_t* src_ptr, |
| 900 ptrdiff_t src_stride, | 905 ptrdiff_t src_stride, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 915 void ScaleAddRow_Any_MSA(const uint8_t* src_ptr, | 920 void ScaleAddRow_Any_MSA(const uint8_t* src_ptr, |
| 916 uint16_t* dst_ptr, | 921 uint16_t* dst_ptr, |
| 917 int src_width); | 922 int src_width); |
| 918 | 923 |
| 919 #ifdef __cplusplus | 924 #ifdef __cplusplus |
| 920 } // extern "C" | 925 } // extern "C" |
| 921 } // namespace libyuv | 926 } // namespace libyuv |
| 922 #endif | 927 #endif |
| 923 | 928 |
| 924 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ | 929 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ |
| OLD | NEW |