Showing the changes to codec/processing (1 of 14 files). Show all
Unified · Split
| @@ -243,13 +243,15 @@ void GeneralBilinearAccurateDownsamplerWrap_neon (uint8_t* pDst, const int32_t k · 242 unmodified lines | ||
| 243 | 243 | #endif |
| 244 | 244 | |
| 245 | 245 | #ifdef HAVE_NEON_AARCH64 |
| 246 | −void GeneralBilinearAccurateDownsamplerWrap_AArch64_neon (uint8_t* pDst, const int32_t kiDstStride, const int32_t kiDstWidth, const int32_t kiDstHeight, | |
| 247 | − uint8_t* pSrc, const int32_t kiSrcStride, const int32_t kiSrcWidth, const int32_t kiSrcHeight) { | |
| 246 | +void GeneralBilinearAccurateDownsamplerWrap_AArch64_neon (uint8_t* pDst, const int32_t kiDstStride, | |
| 247 | + const int32_t kiDstWidth, const int32_t kiDstHeight, | |
| 248 | + uint8_t* pSrc, const int32_t kiSrcStride, const int32_t kiSrcWidth, const int32_t kiSrcHeight) { | |
| 248 | 249 | const int32_t kiScaleBit = 15; |
| 249 | 250 | const uint32_t kuiScale = (1 << kiScaleBit); |
| 250 | 251 | uint32_t uiScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kuiScale); |
| 251 | 252 | uint32_t uiScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kuiScale); |
| 252 | − GeneralBilinearAccurateDownsampler_AArch64_neon (pDst, kiDstStride, kiDstWidth, kiDstHeight, pSrc, kiSrcStride, uiScalex, uiScaley); | |
| 253 | + GeneralBilinearAccurateDownsampler_AArch64_neon (pDst, kiDstStride, kiDstWidth, kiDstHeight, pSrc, kiSrcStride, | |
| 254 | + uiScalex, uiScaley); | |
| 253 | 255 | } |
| 254 | 256 | #endif |
| 255 | 257 | WELSVP_NAMESPACE_END |