Showing the changes to codec/processing/src/adaptivequantization (2 of 8 files). Show all
Unified · Split
| @@ -235,6 +235,11 @@ void CAdaptiveQuantization::WelsInitVarFunc (PVarFunc& pfVar, int32_t iCpuFlag) · 234 unmodified lines | |||
| 235 | pfVar = SampleVariance16x16_neon; | 235 | pfVar = SampleVariance16x16_neon; |
| 236 | } | 236 | } |
| 237 | #endif | 237 | #endif |
| 238 | #ifdef HAVE_NEON_AARCH64 | ||
| 239 | if (iCpuFlag & WELS_CPU_NEON) { | ||
| 240 | pfVar = SampleVariance16x16_AArch64_neon; | ||
| 241 | } | ||
| 242 | #endif | ||
| 238 | } | 243 | } |
| 239 | 244 | ||
| 240 | void SampleVariance16x16_c (uint8_t* pRefY, int32_t iRefStride, uint8_t* pSrcY, int32_t iSrcStride, | 245 | void SampleVariance16x16_c (uint8_t* pRefY, int32_t iRefStride, uint8_t* pSrcY, int32_t iSrcStride, |
| @@ -68,6 +68,12 @@ VarFunc SampleVariance16x16_neon; · 67 unmodified lines | |||
| 68 | WELSVP_EXTERN_C_END | 68 | WELSVP_EXTERN_C_END |
| 69 | #endif | 69 | #endif |
| 70 | 70 | ||
| 71 | #ifdef HAVE_NEON_AARCH64 | ||
| 72 | WELSVP_EXTERN_C_BEGIN | ||
| 73 | VarFunc SampleVariance16x16_AArch64_neon; | ||
| 74 | WELSVP_EXTERN_C_END | ||
| 75 | #endif | ||
| 76 | |||
| 71 | class CAdaptiveQuantization : public IStrategy { | 77 | class CAdaptiveQuantization : public IStrategy { |
| 72 | public: | 78 | public: |
| 73 | CAdaptiveQuantization (int32_t iCpuFlag); | 79 | CAdaptiveQuantization (int32_t iCpuFlag); |