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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-08-11checkasm: Remove unnecessary includeHenrik Gramner
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-31fate/mp3: use the f32le format as outputAnton Khirnov
Those tests test the float decoder, so it is preferable to dump the decoder output directly instead of converting it to s16.
2015-07-31fate/mp3: specify the number of output samples instead of filesizeAnton Khirnov
This is not dependent on the output format.
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-29fate: add test vectors for HMAC SHA and SHA-2James Almer
Also replace custom tests for MD5 with those published in RFC 2202 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-27fate: Add hap-chunk ref fileVittorio Giovara
Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab.
2015-07-27Support the Hap chunked frame formatTom Butterworth
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
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-26checkasm: Use LOCAL_ALIGNEDMichael Niedermayer
Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-22dds: Add a rgba fate testVittorio Giovara
2015-07-22dds: Fix palette decodingVittorio Giovara
Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
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-18fate: add checkasm targetJanne Grunau
2015-07-18checkasm: test all architectures with optimisationsJanne Grunau
2015-07-18checkasm: Give macro a body to avoid potential unexpected syntax issuesMichael Niedermayer
2015-07-18checkasm: exit with status 0 instead of 1 if there are no tests to performHenrik Gramner
2015-07-17cosmetics: Reformat checkasm testsLuca Barbato
2015-07-17checkasm: Add unit tests for bswapdspHenrik Gramner
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-15checkasm: Add unit tests for h264qpelHenrik Gramner
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-12Checkasm: assembly testing and benchmarking toolHenrik Gramner
It provides the following features: * verify correctness by comparing output to the C version. * detect failure to save and restore clobbered callee-saved registers. * detect 32-bit parameters being used as if they were 64-bit in x86-64 (the upper halves are not guaranteed to be zero - but in practice they very often are, which makes those bugs hard to spot otherwise). * easy benchmarking. Compile by running 'make checkasm'. Execute by running 'tests/checkasm/checkasm'. Optional arguments are '--bench' to run benchmarks for all functions, '--bench=<pattern>' to run benchmarks for all functions that starts with <pattern>, and '<integer>' to seed the PRNG for reproducible results. Contains unit tests for most h264pred functions to get started, more tests can be added afterwards using those as a reference. Loosely based on code from x264. Currently only supports x86 and x86-64, but additional architectures shouldn't be too much of an obstacle to add. Note that functions with floating point parameters or floating point return values are not supported. Some compiler-specific features or preprocessor hacks would likely be required to add support for that. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2015-07-07h261: Signal freeze picture release for intra framesStian Selnes
Freeze picture release should be set to 1 when we're responding to a fast update request. For simplicity we set it for all intra frames, including those that starts a GOP. Fixes issue where Tandberg MXP1700 does not recover from packet loss state since it's waiting for the freeze picture relase indication. Bug-Id: 873 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-07h261: Set 'still image mode off' in picture headerStian Selnes
Ref H.261 recommendation section 4.2.1.3, setting the still image flag to 1 disables still image mode. Some decoders require this in order to decode the bitstream as normal video. Fixes H.261 calls to Cisco E20. Also, reserved (aka spare) bits should be set to 1 unless specified otherwise. Bug-Id: 872 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-01fate-g2m3: disable the audio streamJanne Grunau
The audio decoder is not in fate-g2m3 dependencies and the wma2 decoder is probably not bit-exact since it it float based.
2015-07-01g2meet: force simple idct for identical results over all fate configsJanne Grunau
2015-07-01g2meet: Add FATE tests for all three G2M variantsDiego Biurrun
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-06-30fate: Avoid unnecessary pixel format conversionsMartin Storsjö
Most of the fate-dds-* and fate-txd-* tests already output into the same pixel format regardless of platform endianness, so there's no need to force conversion to another format. This fixes the tests fate-txd-16bpp, fate-txd-odd, fate-dds-rgb16, fate-dds-rgb24 and fate-dds-xrgb on big endian, where the tests seem to fail due to issues with certain conversion codepaths in swscale. Those conversion codepaths should of course be fixed, but the individual decoder tests should use as little extra conversion steps as possible. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-06-30mov: Preserve the metadata even when bit-exactness is requestedLuca Barbato
Make sure to not write the custom `encoder` string in that case. Bug-Id: 845 CC: libav-stable@libav.org
2015-06-30fate: Update ac3 test to the new request_channel_layout optionVittorio Giovara
2015-06-28lavf: Replace the ASF demuxerAlexandra Hájková
The old one is the result of the reverse engineering and guesswork. The new one has been written following the now-available specification. This work is part of Outreach Program for Women Summer 2014 activities for the Libav project. The fate references had to be changed because the old demuxer truncates the last frame in some cases, the new one handles it properly. The seek-test reference is changed because seeking works differently in the new demuxer. When seeking, the packet is not read from the stream directly, but it is rather constructed by the demuxer. That is why position is -1 now in the reference. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-06-28FATE: drop the last truncated frame from the wmapro testsAnton Khirnov
Since it's truncated, the result depends on how specifically the demuxer and the decoder handle errors.
2015-06-28FATE: drop the last truncated frame from the wma lossless testAnton Khirnov
Since it's truncated, the result depends on how specifically the demuxer and the decoder handle errors.
2015-06-22DirectDraw Surface image decoderVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-06-22Hap decoder and encoderVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-06-22txd: Use the TextureDSP module for decodingVittorio Giovara
Using the internal DXTC routines brings support for non multiple of 4 textures. A new test is added to cover this feature. Hashes differ since the decoding algorithm is different, though no visual changes have been spotted. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-06-20af_resample: Set the number of samples in the last frameLuca Barbato
Otherwise trailing zeroes would appear. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-06-20mp3: enable packed main_data decoding in MP4nu774
14496-3 suggests packing main_data of MP3 that is usually scattered into multiple frames due to bit reservoir. However, after packing main_data into a access unit, bitrate index in the MPEG audio frame header doesn't match with actual frame size. In order to accept this, this patch removes unnecessary frame size checking on mp3 decoder. Also, mov demuxer was changed to use MP3 parser only on special cases (QT MOV with specific sample description) to avoid re-packetizing. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-05-29rtmpdh: Add fate test for the DH handshake routineMartin Storsjö
This helps if these functions need to be implemented using another crypto API. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-05-10fate: Reduce the number of frames used to test video filtersLuca Barbato
Use 5 frames for video filter tests and a single one for the pixelformat tests. Greatly reduces the test duration without reducing coverage.
2015-05-06fate: Add a PICT testVittorio Giovara
This stimulates the direct pixel mode in Quickdraw decoder.
2015-05-06lavf: Open PICT images with QuickdrawVittorio Giovara
Update the pictor test to use the pictor codec, as both formats share the .pic file extension.
2015-04-23fate: Fix test name for pixfmts testsTimothy Gu
The last pixel format gets leaked as `$test` further down the pipeline. See for example https://fate.libav.org/x86_32-netbsd-clang-no-inline-asm/20150420020104 Note the odd test names like “yuvj444p.” CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-04-20fate: Omit the results if the test passedTimothy Gu
The FATE server does not report this information anyway and omitting it makes the successful run send much less data. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-04-20Canopus HQ/HQA decoderVittorio Giovara
Based on work by Kostya Shishkov <kostya.shishkov@gmail.com>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-04-20fate: Prefix cllc tests with canopusVittorio Giovara
They belong to the same family of codecs.
2015-04-09hqx: Fix clipping error in idct put functionFerdinand Oeinck
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-04-03FATE: add a test for parameter changes in HEVCAnton Khirnov
2015-03-23fate: Add test for tscc2 in movVittorio Giovara
Rename the existing tscc2 test.
2015-03-17fate: Move tdsc to the appropriate screen capture fileVittorio Giovara
2015-03-16fate: add explicit support for the toolchain configure optionJanne Grunau