summaryrefslogtreecommitdiff
path: root/tests/ref
Commit message (Collapse)AuthorAge
* movenc: Add a test for VFR with b-frames, with a duration change at a ↵Martin Storsjö2016-05-18
| | | | | | fragment end Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc-test: Test write_data_typeMartin Storsjö2016-05-18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Update fate-lavf-ts after commit 393596f9d5Martin Storsjö2016-05-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Add test for MTS2/MSS4Diego Biurrun2016-05-02
|
* fate: Add test for MSS1Diego Biurrun2016-04-27
|
* dds: Add support for monochrome imagesVittorio Giovara2016-04-26
|
* dds: Drop gray-alpha swappingVittorio Giovara2016-04-26
| | | | The original sample was generated with invalid software.
* FATE: add an H.264 test with unescaped extradataAnton Khirnov2016-04-15
| | | | See commit a7829a2
* FATE: add an H.264 test with invalid reference listsAnton Khirnov2016-04-15
| | | | See commit 9d74012
* fate: Update DDS testsVittorio Giovara2016-04-06
|
* fate: Update Screenpresso testsVittorio Giovara2016-04-04
|
* fate: Update RSCC testsVittorio Giovara2016-04-04
| | | | | | The current sample comes from an older version of the codec, which supports a single output mode, so rename it accordingly. Add tests for the new pixel formats.
* matroska: Write the field order informationLuca Barbato2016-04-03
| | | | And bump the document version to 4.
* fate: Add test for WMV2 with jframesVittorio Giovara2016-03-29
|
* fate: Add separate target for all indeo3 testsDiego Biurrun2016-03-01
|
* fate: Add test for indeo2 with delta framesVittorio Giovara2016-03-01
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavf: replace AVStream.codec with AVStream.codecparAnton Khirnov2016-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
* mpeg12enc: always write closed gops for intra only outputsMarton Balint2016-02-22
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
* avconv: use the new buffersrc parameters APIAnton Khirnov2016-02-14
| | | | | | | The timebase change in the zmbv-8bit test is due to the fact that previously the timebase string was evaluated as floating point, then converted to a rational. After this commit, the timebase is passed directly as is.
* fate: add 10-bit v210 encoder testsJames Darnley2016-01-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* movenc-test: Fix integer overflowsMichael Niedermayer2015-11-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Rework sgi tests into a suite and add the missing onesVittorio Giovara2015-11-24
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* sgienc: Do not end RLE lines with 0sVittorio Giovara2015-11-24
| | | | | | | | This is never mentioned in the specifications, and decoders work just as fine without it. Update the fate references since the compressed file is smaller. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* movenc: Add a unit test for signaling of the track start timesMartin Storsjö2015-11-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add a unit test for frag_discont with edit listsMartin Storsjö2015-11-11
| | | | | | | This tests the case where the muxer correctly guesses that a stream starts at pts=0. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add an API unit test for fragmenting options/callsMartin Storsjö2015-11-10
| | | | | | | | | | | | | | | | | Contrary to the normal fate tests that run via avconv, this tests nontrivial call sequences that are only doable via the API (mainly for different corner cases when using the muxer for segmenting). The test muxes fake packet data (with extradata that looks enough like proper data to make the file be viewable with e.g. boxdumper) and checks the hash of the produced files. The test also verifies that fragments produced via different call sequences remain identical (to avoid e.g. updating the output hashes and suddenly having fragments that used to be identical suddenly diverging), for fragments written with frag_discont and/or delay_moov. Signed-off-by: Martin Storsjö <martin@martin.st>
* innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-23
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dnxhddata: Fix 10-bit DNxHD quant matricesJoseph Artsimovich2015-10-02
| | | | | | | | | | | | Convert them to zigzag order, as the rest of them are. When I was adding support for 10-bit DNxHD, I just copy-pasted the missing quant matrices from the spec. Now it turns out the existing matrices in dnxhddata.c were in zigzag order. This resulted in wrong quantization for 10-bit DNxHD. The attached patch fixes the problem by converting 10-bit quant matrices to zigzag order. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Screenpresso SPV1 decoderVittorio Giovara2015-09-30
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avconv_filter: Use full named optionsVittorio Giovara2015-09-13
| | | | | | | This introduces a slight timebase computation difference in zmbv-8bit fate test. This is expected since the new options are double instead of ints, and the additional precision skews the results in a non meaningful way.
* DXV decoderVittorio Giovara2015-09-02
| | | | Support all DXDI and DXD3 normal quality videos.
* fate: test only demuxing in asf-repldataJanne Grunau2015-08-20
|
* fate: Make sure a corner-case for ASF is coveredAlexandra Hájková2015-08-16
| | | | | | | | | Test the demuxer for the case when the replicated data length in a sample is 0. Sample-ID: https://samples.libav.org/mplayer-bugs/bug821/bug821-2.asf Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* fate: add test vectors for HMAC SHA and SHA-2James Almer2015-07-29
| | | | | | | 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>
* fate: Add hap-chunk ref fileVittorio Giovara2015-07-27
| | | | Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab.
* dds: Add a rgba fate testVittorio Giovara2015-07-22
|
* dds: Fix palette decodingVittorio Giovara2015-07-22
| | | | | | Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
* h261: Signal freeze picture release for intra framesStian Selnes2015-07-07
| | | | | | | | | | | | | | 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>
* h261: Set 'still image mode off' in picture headerStian Selnes2015-07-07
| | | | | | | | | | | | | | | | 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>
* fate-g2m3: disable the audio streamJanne Grunau2015-07-01
| | | | | The audio decoder is not in fate-g2m3 dependencies and the wma2 decoder is probably not bit-exact since it it float based.
* g2meet: force simple idct for identical results over all fate configsJanne Grunau2015-07-01
|
* g2meet: Add FATE tests for all three G2M variantsDiego Biurrun2015-07-01
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* fate: Avoid unnecessary pixel format conversionsMartin Storsjö2015-06-30
| | | | | | | | | | | | | | | | | | 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>
* mov: Preserve the metadata even when bit-exactness is requestedLuca Barbato2015-06-30
| | | | | | | Make sure to not write the custom `encoder` string in that case. Bug-Id: 845 CC: libav-stable@libav.org
* lavf: Replace the ASF demuxerAlexandra Hájková2015-06-28
| | | | | | | | | | | | | | | | | 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>
* FATE: drop the last truncated frame from the wma lossless testAnton Khirnov2015-06-28
| | | | | Since it's truncated, the result depends on how specifically the demuxer and the decoder handle errors.
* DirectDraw Surface image decoderVittorio Giovara2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Hap decoder and encoderVittorio Giovara2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* txd: Use the TextureDSP module for decodingVittorio Giovara2015-06-22
| | | | | | | | | 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>
* rtmpdh: Add fate test for the DH handshake routineMartin Storsjö2015-05-29
| | | | | | | This helps if these functions need to be implemented using another crypto API. Signed-off-by: Martin Storsjö <martin@martin.st>