Showing the changes to codec/processing/src/downsample/downsample.h (1 of 24 files). Show all
Unified · Split
| @@ -103,7 +103,20 @@ void GeneralBilinearAccurateDownsampler_sse2 (uint8_t* pDst, const int32_t kiDst · 102 unmodified lines | ||
| 103 | 103 | WELSVP_EXTERN_C_END |
| 104 | 104 | #endif |
| 105 | 105 | |
| 106 | +#ifdef HAVE_NEON | |
| 107 | +WELSVP_EXTERN_C_BEGIN | |
| 108 | +// iSrcWidth no limitation | |
| 109 | +HalveDownsampleFunc DyadicBilinearDownsampler_neon; | |
| 110 | +// iSrcWidth = x32 pixels | |
| 111 | +HalveDownsampleFunc DyadicBilinearDownsamplerWidthx32_neon; | |
| 112 | + | |
| 113 | +GeneralDownsampleFunc GeneralBilinearAccurateDownsamplerWrap_neon; | |
| 114 | + | |
| 115 | +void GeneralBilinearAccurateDownsampler_neon( uint8_t* pDst, const int32_t kiDstStride, const int32_t kiDstWidth, const int32_t kiDstHeight, | |
| 116 | + uint8_t* pSrc, const int32_t kiSrcStride, const uint32_t kuiScaleX, const uint32_t kuiScaleY); | |
| 106 | 117 | |
| 118 | +WELSVP_EXTERN_C_END | |
| 119 | +#endif | |
| 107 | 120 | |
| 108 | 121 | |
| 109 | 122 | class CDownsampling : public IStrategy { |