James Almer
5b10f484e2
checkasm: add float_dsp tests
...
Ported from libavutil/tests/float_dsp.c
Signed-off-by: James Almer <jamrial@gmail.com>
2017-06-14 19:20:10 -03:00
James Almer
37388b119c
checkasm: add a checkasm_checked_call function that doesn't issue emms
...
Meant for DSP functions returning a float or double, as they'd fail if emms
is called after every run on x86_32.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-06-14 19:18:56 -03:00
James Almer
7b3cb953f7
checkasm: add fixed_dsp tests
...
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2017-04-11 18:05:13 -03:00
Clément Bœsch
3d4039f964
Merge commit 'ed48a9d8143d2575a4458589cebde69ec326afd8'
...
* commit 'ed48a9d8143d2575a4458589cebde69ec326afd8':
checkasm: Add a test for HEVC add_residual
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-24 12:37:09 +01:00
James Almer
67b639b496
Merge commit 'c91d6a33f872574c95c8784277cf60ffcf6bff4f'
...
* commit 'c91d6a33f872574c95c8784277cf60ffcf6bff4f':
checkasm: aarch64: Add filler args to make sure all parameters are passed on the stack
Merged-by: James Almer <jamrial@gmail.com>
2017-03-23 17:38:20 -03:00
James Almer
a2d34cc51b
Merge commit 'f1b3e131385176c3c9d9783b25047856a0dcebf6'
...
* commit 'f1b3e131385176c3c9d9783b25047856a0dcebf6':
checkasm: aarch64: Clobber the stack before calling functions
Merged-by: James Almer <jamrial@gmail.com>
2017-03-23 17:36:53 -03:00
Clément Bœsch
7c2a7f9c11
Merge commit '22c3ab18646924ce24dc6017a9e882ff69689e40'
...
* commit '22c3ab18646924ce24dc6017a9e882ff69689e40':
checkasm: Add test for huffyuvdsp add_bytes
huffyuvdsp is renamed to llviddsp to be consistent with our codebase.
Note: af607b7e07
wasn't actually required for this test since this
commit is not actually testing huffyuvdsp.
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-22 16:31:38 +01:00
Clément Bœsch
8414755486
Merge commit 'e9ef6171396dc4106526aaa86b620c61ca3d1017'
...
* commit 'e9ef6171396dc4106526aaa86b620c61ca3d1017':
checkasm: add tests for audiodsp
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-20 19:10:56 +01:00
Clément Bœsch
c50b2164a6
Merge commit '2eb97af66af90ca3978229da151f0b8b3a5d9370'
...
* commit '2eb97af66af90ca3978229da151f0b8b3a5d9370':
checkasm: add a test for blockdsp
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-20 19:05:05 +01:00
Clément Bœsch
92cb9a3869
Merge commit '9064777dbb335ab4809ae09e3fdcc0245f925cdc'
...
* commit '9064777dbb335ab4809ae09e3fdcc0245f925cdc':
checkasm: add HEVC test for testing IDCT DC
Merged-by: Clément Bœsch <cboesch@gopro.com>
2017-02-02 11:40:58 +01:00
Hendrik Leppkes
47f75839e4
Merge commit 'f8d17d53957056c053a46f9320fa7ae6fe1479a5'
...
* commit 'f8d17d53957056c053a46f9320fa7ae6fe1479a5':
checkasm: Add tests for vp8dsp
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-11-14 15:29:08 +01:00
Alexandra Hájková
ed48a9d814
checkasm: Add a test for HEVC add_residual
2016-10-22 17:33:35 +02:00
Martin Storsjö
c91d6a33f8
checkasm: aarch64: Add filler args to make sure all parameters are passed on the stack
...
This, combined with clobbering the stack space prior to the call,
increases the chances of finding cases where 32 bit parameters
are erroneously treated as 64 bit.
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-16 23:26:33 +03:00
Martin Storsjö
f1b3e13138
checkasm: aarch64: Clobber the stack before calling functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-10-16 23:26:22 +03:00
Hendrik Leppkes
6fc74934de
Merge commit 'dc7501e524dc3270335749302c7aa449973625f3'
...
* commit 'dc7501e524dc3270335749302c7aa449973625f3':
checkasm: Issue emms after benchmarking functions
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-10-07 13:18:05 +02:00
Alexandra Hájková
22c3ab1864
checkasm: Add test for huffyuvdsp add_bytes
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-10-02 17:13:26 +02:00
Anton Khirnov
e9ef617139
checkasm: add tests for audiodsp
2016-09-22 09:47:52 +02:00
Anton Khirnov
2eb97af66a
checkasm: add a test for blockdsp
2016-09-22 09:47:52 +02:00
Ronald S. Bultje
e99ecda550
checkasm: add vp9 MC tests.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-08-03 11:07:01 +02:00
Alexandra Hájková
9064777dbb
checkasm: add HEVC test for testing IDCT DC
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-07-22 19:08:12 +02:00
Matthieu Bouron
a91c330a29
Merge commit '105998fb5ca3c343f5c8cb39ce3197f87a5e4d36'
...
* commit '105998fb5ca3c343f5c8cb39ce3197f87a5e4d36':
checkasm: Add tests for h264 idct
Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
2016-07-13 17:22:29 +02:00
Martin Storsjö
f8d17d5395
checkasm: Add tests for vp8dsp
...
The tests are inspired by similar tests for vp9 by
Ronald Bultje.
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-07-08 14:10:46 +03:00
Martin Storsjö
dc7501e524
checkasm: Issue emms after benchmarking functions
...
The functions may not clean up properly after using MMX
registers. For the normal testing calls, the checkasm_checked_call
functions will do the cleanup (and check that functions that
should clean up do it as well), but when benchmarking functions
that don't clean up, we don't currently properly clean up at all.
This causes issues if a benchmarked function is followed by testing
of a function that is supposed to not clobber the MMX/FPU state but
doesn't touch it at all.
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-06-21 22:09:29 +03:00
Martin Storsjö
105998fb5c
checkasm: Add tests for h264 idct
...
The tests are inspired by similar tests for vp9 by
Ronald Bultje.
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-06-17 21:37:56 +03:00
Ronald S. Bultje
5ce703a6bf
vf_colorspace: x86-64 SIMD (SSE2) optimizations.
2016-04-12 16:42:48 -04:00
Derek Buitenhuis
ca408cf557
Merge commit '7c82d31cbe9fc5d5a321ad49c14a472bd629b50f'
...
* commit '7c82d31cbe9fc5d5a321ad49c14a472bd629b50f':
checkasm: Use standard multiple inclusion guards
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:36:52 +00:00
Diego Biurrun
7c82d31cbe
checkasm: Use standard multiple inclusion guards
2016-02-18 15:35:44 +01:00
Timothy Gu
a953a2991e
checkasm: Add vf_blend tests
2016-02-14 10:46:56 -08:00
Timothy Gu
180f9a0958
all: Make header guard names consistent
2016-01-31 15:44:11 -08:00
foo86
4608996772
avcodec/dca: remove old decoder
...
Remove all files and functions which are not going to be reused,
and disable all functions and FATE tests temporarily which will be.
2016-01-31 17:09:38 +01:00
Ronald S. Bultje
8c9103c4af
checkasm: add videodsp emulated_edge_mc test.
2016-01-21 10:25:27 -05:00
Hendrik Leppkes
7e29903526
Merge commit 'fec76cd430f3c865183a6e5b4caec0743e055605'
...
* commit 'fec76cd430f3c865183a6e5b4caec0743e055605':
checkasm: Check register clobbering on aarch64
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-19 08:50:44 +01:00
Hendrik Leppkes
0b40e290e3
Merge commit '26ec75aec3576daea691dee53a78ec67c0dc4040'
...
* commit '26ec75aec3576daea691dee53a78ec67c0dc4040':
checkasm: Check register clobbering on arm
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-19 08:49:27 +01:00
Martin Storsjö
fec76cd430
checkasm: Check register clobbering on aarch64
...
This is disabled on iOS, since iOS uses a slightly different ABI
for vararg parameters.
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-01-07 09:33:24 +02:00
Martin Storsjö
26ec75aec3
checkasm: Check register clobbering on arm
...
Use two separate functions, depending on whether VFP/NEON is available.
This is set to require armv5te - it uses blx, which is only available
since armv5t, but we don't have a separate configure item for that.
(It also uses ldrd, which requires armv5te, but this could be avoided
if necessary.)
Signed-off-by: Martin Storsjö <martin@martin.st>
2016-01-07 09:33:24 +02:00
Hendrik Leppkes
f299d8d9f2
Merge commit '489e6add4478b0f5717dbf644234c6f3a3baf02c'
...
* commit '489e6add4478b0f5717dbf644234c6f3a3baf02c':
checkasm: add fmtconvert tests
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 12:50:13 +01:00
Hendrik Leppkes
eb50a3d440
Merge commit '568a4323fbde03665b2b23a98068d02b39121812'
...
* commit '568a4323fbde03665b2b23a98068d02b39121812':
checkasm: add synth_filter test
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 12:45:34 +01:00
Hendrik Leppkes
d882c0b9f9
Merge commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d'
...
* commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d':
checkasm: add tests for dcadsp
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 12:38:46 +01:00
Hendrik Leppkes
0c7ade547a
Merge commit '9d218d573f8088c606d873e80df572582e6773ef'
...
* commit '9d218d573f8088c606d873e80df572582e6773ef':
checkasm: add float comparison util functions
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 12:35:52 +01:00
Hendrik Leppkes
69ead86027
Merge commit '711781d7a1714ea4eb0217eb1ba04811978c43d1'
...
* commit '711781d7a1714ea4eb0217eb1ba04811978c43d1':
x86: checkasm: check for or handle missing cleanup after MMX instructions
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-02 11:55:44 +01:00
Janne Grunau
489e6add44
checkasm: add fmtconvert tests
2015-12-21 18:58:46 +01:00
Janne Grunau
568a4323fb
checkasm: add synth_filter test
2015-12-21 17:40:18 +01:00
Janne Grunau
e71b747e9d
checkasm: add tests for dcadsp
2015-12-21 17:40:18 +01:00
Janne Grunau
9d218d573f
checkasm: add float comparison util functions
2015-12-21 17:40:18 +01:00
Janne Grunau
711781d7a1
x86: checkasm: check for or handle missing cleanup after MMX instructions
...
Not every asm routine is expected clear the MMX state after returning.
It is however a requisite for testing floating point code in checkasm.
Annotate functions requiring cleanup with declare_func_emms() and issue
emms after the call. The remaining functions are checked for having a
cleared MMX state after return.
2015-12-21 17:40:18 +01:00
Anton Khirnov
0cef06df07
checkasm: add HEVC MC tests
2015-12-05 21:11:21 +01:00
Timothy Gu
3d20f8e7c0
Add pixblockdsp checkasm tests
2015-11-07 18:46:55 -08:00
James Almer
285e41c34c
checkasm: add alacdsp tests
...
Signed-off-by: James Almer <jamrial@gmail.com>
2015-10-06 20:25:49 -03:00
James Almer
784792788b
checkasm: add jpeg2000dsp rct_int tests
...
Reviewed-by: Henrik Gramner <henrik@gramner.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2015-09-20 00:49:35 -03:00
James Almer
763ffa2029
checkasm: add flacdsp decorrelate tests
...
Reviewed-by: Henrik Gramner <henrik@gramner.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2015-09-17 15:33:07 -03:00