There's a different version of the same function in the encoder, but they're not identical - the encoder version has got stricter alignment requirements. If someone can confirm that it is ok to use the function from the encoder, pixel_sad_neon.S in processing could be deleted, and the encoder version moved to codec/common instead.
Showing the changes to codec/processing/src/scenechangedetection/SceneChangeDetection.cpp (1 of 3 files). Show all
Unified · Split
| @@ -133,7 +133,7 @@ void CSceneChangeDetection::InitSadFuncs (SadFuncPtr& pfSad, int32_t iCpuFlag) · 132 unmodified lines | ||
| 133 | 133 | |
| 134 | 134 | #ifdef HAVE_NEON |
| 135 | 135 | if (iCpuFlag & WELS_CPU_NEON) { |
| 136 | − pfSad = WelsSampleSad8x8_neon; | |
| 136 | + pfSad = WelsProcessingSampleSad8x8_neon; | |
| 137 | 137 | } |
| 138 | 138 | #endif |
| 139 | 139 | } |