diff options
author | James Almer <jamrial@gmail.com> | 2024-11-02 20:06:24 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-11-06 17:44:25 -0300 |
commit | 271aea60a4cd211d92923c53b72cd074c3030897 (patch) | |
tree | 3aaae6511cffd9cad210d38541fbb023ab86730f /libswscale/utils.c | |
parent | c8438546ff165acadf65bf66e5a43589898c4503 (diff) | |
download | ffmpeg-271aea60a4cd211d92923c53b72cd074c3030897.tar.gz |
fate/pixfmts: extend the high bit depth test
Also test 8bit formats, and try bitdepth conversion paths.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 8603f78dc9..5c21f9de4a 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -698,7 +698,7 @@ static av_cold int initFilter(int16_t **outFilter, int32_t **filterPos, filterAlign = 1; } - if (HAVE_MMX && cpu_flags & AV_CPU_FLAG_MMX) { + if (HAVE_MMX && cpu_flags & AV_CPU_FLAG_MMX || have_neon(cpu_flags)) { // special case for unscaled vertical filtering if (minFilterSize == 1 && filterAlign == 2) filterAlign = 1; |