]> git.sesse.net Git - ffmpeg/commit
swscale: fix NEON hscale init
authorJosh de Kock <josh@itanimul.li>
Thu, 7 May 2020 11:01:16 +0000 (12:01 +0100)
committerJosh de Kock <josh@itanimul.li>
Fri, 15 May 2020 09:29:30 +0000 (10:29 +0100)
commit718c8f9aa59751bb490e2688acf2b5cb68fd5ad1
treee5ca264d26bdcbaf9a920c5145c16010ec5e3d78
parentb18fd2b95b2fea10f0b5381333a1b4c032f010bc
swscale: 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).

Signed-off-by: Josh de Kock <josh@itanimul.li>
libswscale/aarch64/swscale.c