James Almer
b6054e57cb
checkasm/blockdsp: use smallest allowed aligned buffers for fill_block_tab tests
...
The requirement is either 8 or 16 bytes alignment, not 32.
This should help finding bugs in asm implementations.
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
James Almer
febd9271fc
checkasm/blockdsp: don't randomize the buffers for fill_block_tab
...
It ignores and overwrites the previous values.
Fixes running the test under ubsan.
Signed-off-by: James Almer <jamrial@gmail.com>
10 months ago
sunyuechi
b369c4d569
checkasm/blockdsp: add fill_block test
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 months ago
Andreas Rheinhardt
18afaa20f1
checkasm/blockdsp: Be strict about MMX
...
There is no MMX code for blockdsp after commit
ee551a21dd
, so use declare_func
instead of declare_func_emms() to also test that we are not
in MMX mode after return.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Andreas Rheinhardt
fd72d8aea3
avcodec/blockdsp: Remove unused AVCodecContext parameter
...
Possible since be95df12bb
.
Reviewed-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Anton Khirnov
c8c2dfbc37
lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h
...
That is a more appropriate place for it.
4 years ago
Martin Vignali
cbbec68847
libavcodec/blockdsp : add AVX version
...
Also modify the required alignment, to 32 instead of 16
for several codecs
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Diego Biurrun
dcc39ee10e
lavc: Remove deprecated XvMC support hacks
...
Deprecated in 11/2013.
8 years ago
Anton Khirnov
2eb97af66a
checkasm: add a test for blockdsp
9 years ago