summaryrefslogtreecommitdiff
path: root/libavutil/tests
Commit message (Collapse)AuthorAge
* avutil/avstring: improve av_strreplace implementSteven Liu2017-04-11
| | | | | | | | Use AVBprint to implement av_strreplace add av_strreplace test case TEST_STRREPLACE Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avutil/float_dsp: add test for vector_dmac_scalarJames Almer2017-04-10
|
* avutil/tests/dict: Check return of av_dict_parse_string()Michael Niedermayer2017-03-30
| | | | | | Fixes: CID1396402 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests/lfg: Remove debugging start/stop timerMichael Niedermayer2017-03-08
| | | | | | Fixes code with qemu ARM Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests/lfg.c: added proper normality testThomas Turner2017-03-08
| | | | | | | | | | | | | | | | | | | | The Chen-Shapiro(CS) test was used to test normality for Lagged Fibonacci PRNG. Normality Hypothesis Test: The null hypothesis formally tests if the population the sample represents is normally-distributed. For CS, when the normality hypothesis is True, the distribution of QH will have a mean close to 1. Information on CS can be found here: http://www.stata-journal.com/sjpdf.html?articlenum=st0264 http://www.originlab.com/doc/Origin-Help/NormalityTest-Algorithm Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* add locale month names to av_small_strptimeMicah Galizia2017-02-26
| | | | | Signed-off-by: Micah Galizia <micahgalizia@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests: add aes_ctr, audio_fifo and imgutils to .gitignoreMatthieu Bouron2017-01-17
|
* avutil/tests/audio_fifo.c: pass by reference for efficiency and change ↵Thomas Turner2017-01-13
| | | | | | | datatype to const Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests: added selftest for aes_ctr.cThomas Turner2017-01-02
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests: improved code coverage for atomicThomas Turner2017-01-01
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests/audio_fifo.c: Memory leak and tab space fixesThomas Turner2016-12-31
| | | | | | | | | | | Prevents memory leak when read_samples_from_audio_fifo() is called more than once by deallocating before reallocating more memory. Fixes space indentation for contents in ERROR(). Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests/audio_fifo.c: use av_malloc() family of functionsThomas Turner2016-12-31
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests/audio_fifo.c: Corrected test error messagesThomas Turner2016-12-28
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audio_fifo: fix buffer allocation for non planar formatsJames Almer2016-12-23
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/tests/random_seed: eliminate gotoMichael Niedermayer2016-12-23
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests: Improved code coverage for random_seedThomas Turner2016-12-23
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/avstring: free the pointer after calls to av_d2str()James Almer2016-12-22
| | | | | | Fixes memleaks. Signed-off-by: James Almer <jamrial@gmail.com>
* avutil: Added selftest for libavutil/audio_fifo.cThomas Turner2016-12-21
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil: Improved test coverage for avstring.cThomas Turner2016-12-20
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests/imgutils: Remove unused variableMichael Niedermayer2016-12-13
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests: run the cpu_init.c test conditionally on HAVE_THREADSWan-Teh Chang2016-12-10
| | | | | | | Suggested by Diego Biurrun and James Almer. Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/cpu_init: remove unnecessary arguments to the main() functionWan-Teh Chang2016-12-10
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add av_image_check_size() testMichael Niedermayer2016-12-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests: add cpu_init to .gitignore and tests/fateWan-Teh Chang2016-11-24
| | | | | | | This is a follow-up to commit d84a21207ea83055dc9b6dc1cd6a379f2ea756e7, which added the libavutil/tests/cpu_init.c. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/tests: Add cpu_init.c to check whether the one-time initialization in ↵Wan-Teh Chang2016-11-23
| | | | | | | | av_get_cpu_flags() has data races. Co-author: Dmitry Vyukov of Google Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil: Improved selftest coverage for libavutil/fifo.cThomas Turner2016-10-14
| | | | | | Tested functions: av_fifo_generic_peek(), av_fifo_grow() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'ded4a6543dfb5a2f1d9f7fb8d3ab27a1872c22b3'Clément Bœsch2016-06-24
|\ | | | | | | | | | | | | * commit 'ded4a6543dfb5a2f1d9f7fb8d3ab27a1872c22b3': xtea-test: Use struct allocation functions from the API Merged-by: Clément Bœsch <clement@stupeflix.com>
| * xtea-test: Use struct allocation functions from the APIDiego Biurrun2016-05-19
| |
* | Merge commit '8131bd4c22ad59b040173f67a5b2edb75863e801'Clément Bœsch2016-06-24
|\| | | | | | | | | | | | | * commit '8131bd4c22ad59b040173f67a5b2edb75863e801': blowfish-test: Use struct allocation functions from the API Merged-by: Clément Bœsch <clement@stupeflix.com>
| * blowfish-test: Use struct allocation functions from the APIDiego Biurrun2016-05-19
| |
* | Merge commit 'a86ef80494d759807a5ef8dd12838f0690092e37'Clément Bœsch2016-06-24
|\| | | | | | | | | | | | | * commit 'a86ef80494d759807a5ef8dd12838f0690092e37': blowfish-test: Return different values for different errors Merged-by: Clément Bœsch <clement@stupeflix.com>
| * blowfish-test: Return different values for different errorsDiego Biurrun2016-05-19
| |
* | Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'Clément Bœsch2016-06-22
|/ | | | | | | * commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196': tests: Move all test programs to a subdirectory Merged-by: Clément Bœsch <clement@stupeflix.com>
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13