James Almer
d52ceed9fd
tests/checkasm/sw_scale: use memset() to fill dither
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Alan Kelly
ee18edb13a
checkasm/sw_scale: properly initialize src_pixer and filter_coeff buffers
Fixes valgrind uninitialised value warnings.
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
1371647fc3
checkasm/sw_scale: use av_free() instead of free()
Fixes crashes on Win64
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Alan Kelly
554c2bc708
swscale: move yuv2yuvX_sse3 to yasm, unrolls main loop
And other small optimizations for ~20% speedup.
4 years ago
Anton Khirnov
c8c2dfbc37
lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h
That is a more appropriate place for it.
5 years ago
Andreas Rheinhardt
57e570b508
checkasm/sw_scale: Fix stack-buffer-overflow
A buffer whose size is not a multiple of four has been initialized using
consecutive writes of 32bits. This results in a stack-buffer-overflow
reported by ASAN in the checkasm-sw_scale FATE-test.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
5 years ago
Martin Storsjö
9c326af1d0
checkasm: swscale: Fix running the hscale test on 32 bit x86
This function doesn't call emms.
Signed-off-by: Martin Storsjö <martin@martin.st>
5 years ago
Josh de Kock
5913cd4e6c
checkasm: add hscale test
This tests the hscale 8bpp to 14/18bpp functions with different filter
sizes.
Signed-off-by: Josh de Kock <josh@itanimul.li>
5 years ago