summaryrefslogtreecommitdiff
path: root/tests/checkasm
Commit message (Collapse)AuthorAge
* vp9: add itxfm_add eob shortcuts to 10/12bpp functions.Ronald S. Bultje2015-10-13
| | | | | | | | These aren't quite as helpful as the ones in 8bpp, since over there, we can use pmulhrsw, but here the coefficients have too many bits to be able to take advantage of pmulhrsw. However, we can still skip cols for which all coefs are 0, and instead just zero the input data for the row itx. This helps a few % on overall decoding speed.
* checkasm: add alacdsp testsJames Almer2015-10-06
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: Fix compilation with --disable-avcodecHenrik Gramner2015-10-04
|
* checkasm: Remove use of deprecated av_set_cpu_flags_mask()Henrik Gramner2015-10-03
|
* checkasm/vp9dsp: Fix iszero() to read the correct dataHenrik Gramner2015-09-28
|
* checkasm: add vp9dsp.itxfm_add tests.Ronald S. Bultje2015-09-28
|
* checkasm: Fix the function name sorting algorithmHenrik Gramner2015-09-28
| | | | The previous implementation was behaving incorrectly in some corner cases.
* checkasm/x86: Correctly handle variadic functionsHenrik Gramner2015-09-27
| | | | | | | | The System V ABI on x86-64 specifies that the al register contains an upper bound of the number of arguments passed in vector registers when calling variadic functions, so we aren't allowed to clobber it. checkasm_fail_func() is a variadic function so also zero al before calling it.
* checkasm/vp9dsp: add const to suppress "discards const qualifier" warningsJames Almer2015-09-26
| | | | | Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/Makefile: add missing testclean targetJames Almer2015-09-26
| | | | | Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: Use a self-balancing treeHenrik Gramner2015-09-26
| | | | | | | | | | | | Tested functions are internally kept in a binary search tree for efficient lookups. The downside of the current implementation is that the tree quickly becomes unbalanced which causes an unneccessary amount of comparisons between nodes. Improve this by changing the tree into a self-balancing left-leaning red-black tree with a worst case lookup/insertion time complexity of O(log n). Significantly reduces the recursion depth and makes the tests run around 10% faster overall. The relative performance improvement compared to the existing non-balanced tree will also most likely increase as more tests are added.
* checkasm: clip vp9 loopfilter test pixels inside allowed bitdepth range.Ronald S. Bultje2015-09-26
|
* tests/checkasm: make randomize_buffers a function for easier debuggingRodger Combs2015-09-26
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/checkasm/vp9dsp: Revert first hunk of ↵Michael Niedermayer2015-09-24
| | | | | | | | | bddcf758d3a68ac0bcc3bc4fc4aa7156e05245d4 The change was wrong, also add a comment explaining it Found-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vp9: fix loopfilter test code to address Hendrik's comments.Ronald S. Bultje2015-09-21
| | | | (I forgot to actually merge them into the patch I just pushed.)
* tests/checkasm: fix stack smash in check_loopfilterRodger Combs2015-09-20
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/checkasm/vp9dsp: Add () to protect macro argumentsMichael Niedermayer2015-09-20
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm: add VP9 loopfilter tests.Ronald S. Bultje2015-09-20
| | | | | | | The randomize_buffer() implementation assures that "most of the time", we'll do a good mix of wide16/wide8/hev/regular/no filters for complete code coverage. However, this is not mathematically assured because that would make the code either much more complex, or much less random.
* checkasm: add jpeg2000dsp rct_int testsJames Almer2015-09-20
| | | | | Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add flacdsp decorrelate testsJames Almer2015-09-17
| | | | | Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* tests/checkasm/vp9dsp: Use snprintf() for safeteyMichael Niedermayer2015-09-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm: v210: Fix array overwriteHenrik Gramner2015-09-16
|
* checkasm: v210: s/Libav/FFmpeg/Henrik Gramner2015-09-16
|
* checkasm: add vp9 intra pred tests.Ronald S. Bultje2015-09-15
|
* checkasm: add vp9 MC tests.Ronald S. Bultje2015-09-15
|
* Merge commit '3cdda78deb19b39dbbf8961ae0aec44dbb19bf6d'Hendrik Leppkes2015-09-08
|\ | | | | | | | | | | | | * commit '3cdda78deb19b39dbbf8961ae0aec44dbb19bf6d': checkasm: add unit tests for v210enc Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add unit tests for v210encHenrik Gramner2015-09-06
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * checkasm: Fix floating point arguments on 64-bit WindowsHenrik Gramner2015-08-28
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: Explicitly declare function prototypesHenrik Gramner2015-08-20
| | | | | | | | | | | | | | | | | | | | | | | | Now we no longer have to rely on function pointers intentionally declared without specified argument types. This makes it easier to support functions with floating point parameters or return values as well as functions returning 64-bit values on 32-bit architectures. It also avoids having to explicitly cast strides to ptrdiff_t for example. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: x86: properly save rdx/edx in checked_call()Henrik Gramner2015-08-20
| | | | | | | | | | | | | | | | | | | | | | If the return value doesn't fit in a single register rdx/edx can in some cases be used in addition to rax/eax. Doesn't affect any of the existing checkasm tests but might be useful later. Also comment the relevant code a bit better. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: Remove unnecessary includeHenrik Gramner2015-08-11
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | checkasm: Fix floating point arguments on 64-bit WindowsHenrik Gramner2015-08-25
| |
* | checkasm: x86: properly save rdx/edx in checked_call()Henrik Gramner2015-08-19
| | | | | | | | | | | | | | | | | | If the return value doesn't fit in a single register rdx/edx can in some cases be used in addition to rax/eax. Doesn't affect any of the existing checkasm tests but might be useful later. Also comment the relevant code a bit better.
* | checkasm: Explicitly declare function prototypesHenrik Gramner2015-08-19
| | | | | | | | | | | | | | | | | | | | Now we no longer have to rely on function pointers intentionally declared without specified argument types. This makes it easier to support functions with floating point parameters or return values as well as functions returning 64-bit values on 32-bit architectures. It also avoids having to explicitly cast strides to ptrdiff_t for example.
* | checkasm: Remove unnecessary includeHenrik Gramner2015-08-05
| |
* | Merge commit 'bf0cef5c3a114df452e5476167634dd8f51eb448'Michael Niedermayer2015-07-30
|\| | | | | | | | | | | | | * commit 'bf0cef5c3a114df452e5476167634dd8f51eb448': checkasm: Include io.h for isatty, if available Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Include io.h for isatty, if availableMartin Storsjö2015-07-30
| | | | | | | | | | | | | | | | configure does check for isatty, and checkasm properly checks HAVE_ISATTY, but on some platforms (e.g. WinRT), io.h needs to be included for isatty to be available. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '65c14801527068fcaf729eeffc142ffd4682a21a'Michael Niedermayer2015-07-27
|\| | | | | | | | | | | | | * commit '65c14801527068fcaf729eeffc142ffd4682a21a': checkasm: Modify report format Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Modify report formatHenrik Gramner2015-07-27
| | | | | | | | | | | | | | | | Makes it a bit more clear where each test belongs. Suggested by Anton Khirnov. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '4d0d55cd623bcd504867f948849380f6b4060b4d'Michael Niedermayer2015-07-26
|\| | | | | | | | | | | | | | | | | * commit '4d0d55cd623bcd504867f948849380f6b4060b4d': checkasm: Use LOCAL_ALIGNED See: f467fc02b475cd45b68aa5fb5f7c78286110ba86 See: 9e83ac6114de3d94eb992eff8ed810234069a7b2 Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Use LOCAL_ALIGNEDMichael Niedermayer2015-07-26
| | | | | | | | | | | | Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
* | tests/checkasm/h264pred: Use LOCAL_ALIGNED_16()Michael Niedermayer2015-07-23
| | | | | | | | | | | | Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/checkasm/h264qpel: Use LOCAL_ALIGNED_16()Michael Niedermayer2015-07-23
| | | | | | | | | | | | Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'e605bf3b590d295f215fcc9fd58eb11be55b68cb'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit 'e605bf3b590d295f215fcc9fd58eb11be55b68cb': checkasm: remove empty array initializer list in h264pred test Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: remove empty array initializer list in h264pred testJanne Grunau2015-07-22
| | | | | | | | Fixes MSVC compilation.
* | Merge commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5': checkasm: Always link statically Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Always link staticallyLuca Barbato2015-07-21
| | | | | | | | Checkasm needs to use internal symbols that should not be made public.
* | tests/checkasm/Makefile: Fix checkasm with SDLMichael Niedermayer2015-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014'Michael Niedermayer2015-07-18
|\| | | | | | | | | | | | | * commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014': checkasm: test all architectures with optimisations Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: test all architectures with optimisationsJanne Grunau2015-07-18
| |