summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* dcaenc: Implementation of Huffman codes for DCA encoderDaniil Cherednik2017-01-15
| | | | Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* arm: vp9itxfm: Skip empty slices in the first pass of idct_idct 16x16 and 32x32Martin Storsjö2017-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This work is sponsored by, and copyright, Google. Previously all subpartitions except the eob=1 (DC) case ran with the same runtime: Cortex A7 A8 A9 A53 vp9_inv_dct_dct_16x16_sub16_add_neon: 3188.1 2435.4 2499.0 1969.0 vp9_inv_dct_dct_32x32_sub32_add_neon: 18531.7 16582.3 14207.6 12000.3 By skipping individual 4x16 or 4x32 pixel slices in the first pass, we reduce the runtime of these functions like this: vp9_inv_dct_dct_16x16_sub1_add_neon: 274.6 189.5 211.7 235.8 vp9_inv_dct_dct_16x16_sub2_add_neon: 2064.0 1534.8 1719.4 1248.7 vp9_inv_dct_dct_16x16_sub4_add_neon: 2135.0 1477.2 1736.3 1249.5 vp9_inv_dct_dct_16x16_sub8_add_neon: 2446.7 1828.7 1993.6 1494.7 vp9_inv_dct_dct_16x16_sub12_add_neon: 2832.4 2118.3 2266.5 1735.1 vp9_inv_dct_dct_16x16_sub16_add_neon: 3211.7 2475.3 2523.5 1983.1 vp9_inv_dct_dct_32x32_sub1_add_neon: 756.2 456.7 862.0 553.9 vp9_inv_dct_dct_32x32_sub2_add_neon: 10682.2 8190.4 8539.2 6762.5 vp9_inv_dct_dct_32x32_sub4_add_neon: 10813.5 8014.9 8518.3 6762.8 vp9_inv_dct_dct_32x32_sub8_add_neon: 11859.6 9313.0 9347.4 7514.5 vp9_inv_dct_dct_32x32_sub12_add_neon: 12946.6 10752.4 10192.2 8280.2 vp9_inv_dct_dct_32x32_sub16_add_neon: 14074.6 11946.5 11001.4 9008.6 vp9_inv_dct_dct_32x32_sub20_add_neon: 15269.9 13662.7 11816.1 9762.6 vp9_inv_dct_dct_32x32_sub24_add_neon: 16327.9 14940.1 12626.7 10516.0 vp9_inv_dct_dct_32x32_sub28_add_neon: 17462.7 15776.1 13446.2 11264.7 vp9_inv_dct_dct_32x32_sub32_add_neon: 18575.5 17157.0 14249.3 12015.1 I.e. in general a very minor overhead for the full subpartition case due to the additional loads and cmps, but a significant speedup for the cases when we only need to process a small part of the actual input data. In common VP9 content in a few inspected clips, 70-90% of the non-dc-only 16x16 and 32x32 IDCTs only have nonzero coefficients in the upper left 8x8 or 16x16 subpartitions respectively. This is cherrypicked from libav commit 9c8bc74c2b40537b0997f646c87c008042d788c2. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/matroskaenc: Do not write two CodecID elements for rawvideo.Carl Eugen Hoyos2017-01-14
| | | | Fixes ticket #6068.
* fate/psd : add test for bitmap and duotoneMartin Vignali2017-01-14
| | | | | | The duotone file is interpreted as gray Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/psd : add test for 256 colorMartin Vignali2017-01-11
| | | | 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>
* avfilter/avf_aphasemeter: make video output optionalPaul B Mahol2016-12-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* af_hdcd: more FATE testsBurt P2016-12-28
| | | | | | | | | | | | | Additional/Modified FATE tests improve code coverage from 63.7% to 98.1%. Changed fate-suite sample files: * filter/hdcd-mix.flac (958K) added. It is a much better test than filter/hdcd.flac (910K), which is now unused, but can't be removed. * filter/hdcd-fake20bit.flac (168K) added. It is the first second of filter/hdcd.flac, with the 16-bit LSB copied into bit 20 of a 24-bit stream. There isn't an actual non-16-bit HDCD sample available to test. Signed-off-by: Burt P <pburt0@gmail.com>
* checkasm/vp9: benchmark all sub-IDCTs (but not WHT or ADST).Ronald S. Bultje2016-12-27
|
* 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>
* fate: Add test for ticket 6024, truncated decoding modePavel Koshevoy2016-12-22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* 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>
* fate/psd: add tests for uncompress and rle samplesMartin Vignali2016-12-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: Add h264 test for frame num gapsDerek Buitenhuis2016-12-12
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* 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>
* avcodec: Add max_pixels optionsMichael Niedermayer2016-12-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add av_image_check_size() testMichael Niedermayer2016-12-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add a monoscopic spherical matroska testJames Almer2016-12-09
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* fate: improve fate-mov dependenciesJames Almer2016-12-09
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* fate: Add a monoscopic spherical mov testVittorio Giovara2016-12-07
|
* Added test for libavcodec/avpacket.cThomas Turner2016-12-06
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: check all compute_crc_of_packets() callsMichael Niedermayer2016-12-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Silence compiler warnings about uninitialized variablesMichael Niedermayer2016-12-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-seek-test: Fix use of uinitialized valueMichael Niedermayer2016-12-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: rename fate-mov-init-nonkeyframe ref fileJames Almer2016-12-02
| | | | | | Fixes the test. Regression since 059a786c20201fe4040738c99b02cca0cfc18a74 Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: Rename a couple of entries to respect the file naming schemeVittorio Giovara2016-12-02
|
* avformat/ffmenc: Make ffm_write_header_codec_ctx() use codecparMichael Niedermayer2016-12-02
| | | | | | | | | This would be simpler if codecpar supported AVOptions modern ffserver should be unaffected by this, older ffserver which required the muxer to directly access the encoder could have issues with this, but this direct access is just wrong and unsafe Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ffmenc: set bitexact mode for old API without accessing the encoderMichael Niedermayer2016-12-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ffmenc: Drop ffm_write_header_codec_private_ctx()Michael Niedermayer2016-12-02
| | | | | | | | | This accesses the private encoder context, it should not be used by the current ffserver it may affect old ffserver versions but i believe there is consens that accessing the private encoder context from the muxer is completely wrong. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/ffserver.regression.ref: Update ffserver checksumsMichael Niedermayer2016-12-01
| | | | | | | They have changed due to 122190392b297b7cd9783641d880df887fd80d07 Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: add gbr(a)p16 output supportPaul B Mahol2016-12-01
|
* ffserver: fix broken HTML on generated status pageReynaldo H. Verdejo Pinochet2016-11-30
| | | | | | Dropped incompatible/obsoleted HTML tag attributes Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: use codec time_base for streamAndreas Cadhalpun2016-11-30
| | | | | | | This fixes producing swf and rm files as done by ffservertest. Reviewed-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* tests: drop -d option from ffserver invocationAndreas Cadhalpun2016-11-30
| | | | | | | | | | It randomly causes failures with an error like: "Failed to set value '-f' for option 'd': Error number -920332800 occurred" (The error number is different every time.) Reviewed-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* tests: print errors from ffserverAndreas Cadhalpun2016-11-30
| | | | | | | | Not doing so makes debugging unnecessarily hard. Reviewed-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* fate: Add test for mov displaymatrixVittorio Giovara2016-11-30
|
* ffserver: Add client requested urls to the status pageMichael Niedermayer2016-11-30
| | | | | | | Fixes Ticket3791 Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: update after addition of gray10 to lavc/rawPaul B Mahol2016-11-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* tests/ffserver-regression: Check the status page tooMichael Niedermayer2016-11-29
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/ffserver.regression.ref: update ffserver checksumsMichael Niedermayer2016-11-29
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/ffserver-regression.sh: give wget a timeout and prevent retriesMichael Niedermayer2016-11-29
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests: Fix running ffserver under qemuMichael Niedermayer2016-11-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/Makefile: Fix ffservertest dependenciesMichael Niedermayer2016-11-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/ffserver-regression.sh: Fix file truncation introduced in ↵Michael Niedermayer2016-11-28
| | | | | | 508826f961caf662cadb7c253e3c0e7d75104bdd Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/ffserver.conf: Force bitexactness in the ffmpeg commandMichael Niedermayer2016-11-27
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/exr: add test for pxr24 with half and uint32 channelMartin Vignali2016-11-25
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* fate/swresample: add resample exact_lin and exact_lin_async testMuhammad Faiz2016-11-25
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* 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>
* fate: update fate-source ref fileJames Almer2016-11-23
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/apngenc: use the stream parameters extradata if availableJames Almer2016-11-18
| | | | | | | Fixes remuxing apng streams coming from the apng demuxer, which sends extradata during init. Signed-off-by: James Almer <jamrial@gmail.com>