Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-13vp9: add itxfm_add eob shortcuts to 10/12bpp functions.Ronald S. Bultje
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.
2015-10-07checkasm: add alacdsp testsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2015-10-04checkasm: Fix compilation with --disable-avcodecHenrik Gramner
2015-10-03checkasm: Remove use of deprecated av_set_cpu_flags_mask()Henrik Gramner
2015-09-28checkasm/vp9dsp: Fix iszero() to read the correct dataHenrik Gramner
2015-09-28checkasm: add vp9dsp.itxfm_add tests.Ronald S. Bultje
2015-09-28checkasm: Fix the function name sorting algorithmHenrik Gramner
The previous implementation was behaving incorrectly in some corner cases.
2015-09-27checkasm/x86: Correctly handle variadic functionsHenrik Gramner
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.
2015-09-26checkasm/vp9dsp: add const to suppress "discards const qualifier" warningsJames Almer
Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
2015-09-26checkasm/Makefile: add missing testclean targetJames Almer
Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
2015-09-26checkasm: Use a self-balancing treeHenrik Gramner
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.
2015-09-26checkasm: clip vp9 loopfilter test pixels inside allowed bitdepth range.Ronald S. Bultje
2015-09-26tests/checkasm: make randomize_buffers a function for easier debuggingRodger Combs
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-24tests/checkasm/vp9dsp: Revert first hunk of ↵Michael Niedermayer
bddcf758d3a68ac0bcc3bc4fc4aa7156e05245d4 The change was wrong, also add a comment explaining it Found-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-22vp9: fix loopfilter test code to address Hendrik's comments.Ronald S. Bultje
(I forgot to actually merge them into the patch I just pushed.)
2015-09-20tests/checkasm: fix stack smash in check_loopfilterRodger Combs
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-20tests/checkasm/vp9dsp: Add () to protect macro argumentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-20checkasm: add VP9 loopfilter tests.Ronald S. Bultje
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.
2015-09-20checkasm: add jpeg2000dsp rct_int testsJames Almer
Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
2015-09-17checkasm: add flacdsp decorrelate testsJames Almer
Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
2015-09-16tests/checkasm/vp9dsp: Use snprintf() for safeteyMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-16checkasm: v210: Fix array overwriteHenrik Gramner
2015-09-16checkasm: v210: s/Libav/FFmpeg/Henrik Gramner
2015-09-15checkasm: add vp9 intra pred tests.Ronald S. Bultje
2015-09-15checkasm: add vp9 MC tests.Ronald S. Bultje
2015-09-08Merge commit '3cdda78deb19b39dbbf8961ae0aec44dbb19bf6d'Hendrik Leppkes
* commit '3cdda78deb19b39dbbf8961ae0aec44dbb19bf6d': checkasm: add unit tests for v210enc Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-06checkasm: add unit tests for v210encHenrik Gramner
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-08-28checkasm: Fix floating point arguments on 64-bit WindowsHenrik Gramner
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-25checkasm: Fix floating point arguments on 64-bit WindowsHenrik Gramner
2015-08-20checkasm: Explicitly declare function prototypesHenrik Gramner
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>
2015-08-20checkasm: x86: properly save rdx/edx in checked_call()Henrik Gramner
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>
2015-08-19checkasm: x86: properly save rdx/edx in checked_call()Henrik Gramner
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.
2015-08-19checkasm: Explicitly declare function prototypesHenrik Gramner
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.
2015-08-11checkasm: Remove unnecessary includeHenrik Gramner
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-06checkasm: Remove unnecessary includeHenrik Gramner
2015-07-30Merge commit 'bf0cef5c3a114df452e5476167634dd8f51eb448'Michael Niedermayer
* commit 'bf0cef5c3a114df452e5476167634dd8f51eb448': checkasm: Include io.h for isatty, if available Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-30checkasm: Include io.h for isatty, if availableMartin Storsjö
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>
2015-07-27checkasm: Modify report formatHenrik Gramner
Makes it a bit more clear where each test belongs. Suggested by Anton Khirnov. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-27Merge commit '65c14801527068fcaf729eeffc142ffd4682a21a'Michael Niedermayer
* commit '65c14801527068fcaf729eeffc142ffd4682a21a': checkasm: Modify report format Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-26Merge commit '4d0d55cd623bcd504867f948849380f6b4060b4d'Michael Niedermayer
* commit '4d0d55cd623bcd504867f948849380f6b4060b4d': checkasm: Use LOCAL_ALIGNED See: f467fc02b475cd45b68aa5fb5f7c78286110ba86 See: 9e83ac6114de3d94eb992eff8ed810234069a7b2 Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-26checkasm: Use LOCAL_ALIGNEDMichael Niedermayer
Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-23tests/checkasm/h264pred: Use LOCAL_ALIGNED_16()Michael Niedermayer
Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-23tests/checkasm/h264qpel: Use LOCAL_ALIGNED_16()Michael Niedermayer
Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-22Merge commit 'e605bf3b590d295f215fcc9fd58eb11be55b68cb'Michael Niedermayer
* commit 'e605bf3b590d295f215fcc9fd58eb11be55b68cb': checkasm: remove empty array initializer list in h264pred test Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-22Merge commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5'Michael Niedermayer
* commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5': checkasm: Always link statically Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-22checkasm: remove empty array initializer list in h264pred testJanne Grunau
Fixes MSVC compilation.
2015-07-22checkasm: Always link staticallyLuca Barbato
Checkasm needs to use internal symbols that should not be made public.
2015-07-21tests/checkasm/Makefile: Fix checkasm with SDLMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-18Merge commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014'Michael Niedermayer
* commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014': checkasm: test all architectures with optimisations Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-18Merge commit '6cc4d3e9a982e926494f4b919d9733fe29774acf'Michael Niedermayer
* commit '6cc4d3e9a982e926494f4b919d9733fe29774acf': checkasm: exit with status 0 instead of 1 if there are no tests to perform Merged-by: Michael Niedermayer <michael@niedermayer.cc>