]> git.sesse.net Git - ffmpeg/commit
swscale: arm: fix NEON hscale init
authorJosh de Kock <josh@itanimul.li>
Thu, 7 May 2020 11:01:16 +0000 (12:01 +0100)
committerMartin Storsjö <martin@martin.st>
Fri, 15 May 2020 20:33:46 +0000 (23:33 +0300)
commit70b14cc8d6869f67dd8ebce473a00ea5fa0ea70c
treef2e2c758f4126a32adc60890e94d13382354c6c6
parent1187cbf0ffd7a74f9055def89ff88d5e36a9dbcd
swscale: arm: fix NEON hscale init

The NEON hscale function only supports X8 filter sizes and should only
be selected when these are being used. At the moment filterAlign is
set to 8 but in the future when extra NEON assembly for specific sizes is
added they will need to have checks here too.

The immediate usecase for this change is making the hscale checkasm
test easier and without NEON specific edge-cases (x86 already has these
guards).

This applies the same fix from 718c8f9aa59751bb490e2688acf2b5cb68fd5ad1
on the 32 bit arm version of the function, fixing fate-checkasm-sw_scale
there.

Signed-off-by: Martin Storsjö <martin@martin.st>
libswscale/arm/swscale.c