summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Merge commit 'a31c4b2cbef9aee15910fc3df52519aef46760de'Michael Niedermayer2015-07-02
|\ | | | | | | | | | | | | | | | | | | * commit 'a31c4b2cbef9aee15910fc3df52519aef46760de': fate-g2m3: disable the audio stream Conflicts: tests/ref/fate/g2m3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | Merge commit 'f91fe24e9bd6912c29bbb03d8afe878e045f9721'Michael Niedermayer2015-07-01
|\| | | | | | | | | | | | | | | | | | | | | * commit 'f91fe24e9bd6912c29bbb03d8afe878e045f9721': g2meet: force simple idct for identical results over all fate configs Conflicts: tests/ref/fate/g2m3 tests/ref/fate/g2m4 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g2meet: force simple idct for identical results over all fate configsJanne Grunau2015-07-01
| |
* | Merge commit '4d1229dabf7a7e3b6a7b326afd79102256c3b008'Michael Niedermayer2015-07-01
|\| | | | | | | | | | | | | * commit '4d1229dabf7a7e3b6a7b326afd79102256c3b008': g2meet: Add FATE tests for all three G2M variants Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g2meet: Add FATE tests for all three G2M variantsDiego Biurrun2015-07-01
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'e2bd03a14a4e3366df0b1ee8e284a97165be1f3c'Michael Niedermayer2015-07-01
|\| | | | | | | | | | | | | | | | | | | | | * commit 'e2bd03a14a4e3366df0b1ee8e284a97165be1f3c': fate: Avoid unnecessary pixel format conversions Conflicts: tests/fate/image.mak tests/ref/fate/dds-ya Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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
* | Merge commit '3ad678a85b96fc5fecd60e3d3a31ca5ffc89d67f'Michael Niedermayer2015-06-30
|\| | | | | | | | | | | | | * commit '3ad678a85b96fc5fecd60e3d3a31ca5ffc89d67f': fate: Update ac3 test to the new request_channel_layout option Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Update ac3 test to the new request_channel_layout optionVittorio Giovara2015-06-30
| |
| * 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>
* | lavc/j2kenc: Make jp2 output compatible with Kakadu.Carl Eugen Hoyos2015-06-30
| | | | | | | | Fixes ticket #4689.
* | swscale/swscale_unscaled: Fix rounding difference with RGBA output between ↵Michael Niedermayer2015-06-29
| | | | | | | | | | | | | | | | little and big endian Fixes fate/dds-rgb16 on big endian Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | api-h264-test: build with another api testLudmila Glinskih2015-06-29
| | | | | | | | | | | | Location of api-h264-test changed to special directory for api tests. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate/api-tests: Added dependency on $(FF_DEP_LIBS)George Boyle2015-06-29
| | | | | | | | | | | | This ensures they are built before the tests are run. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tests/Makefile: Fix missing trailing slash for API tests dir targetGeorge Boyle2015-06-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Merge i_stepsize/2 decoder special case into dequantMichael Niedermayer2015-06-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tests/fate/wma: use the existing reference files for wmapro testsMichael Niedermayer2015-06-28
| | | | | | | | | | | | | | Theres no need to upload or use new files just because they are shorter. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '441e8ae5efd681055e5af6f4317fb60110de9dd0'Michael Niedermayer2015-06-28
|\| | | | | | | | | | | | | * commit '441e8ae5efd681055e5af6f4317fb60110de9dd0': FATE: drop the last truncated frame from the wmapro tests Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * FATE: drop the last truncated frame from the wmapro testsAnton Khirnov2015-06-28
| | | | | | | | | | Since it's truncated, the result depends on how specifically the demuxer and the decoder handle errors.
* | Merge commit 'd3ea79e8a65ddad4da11813bb43c46701295f68c'Michael Niedermayer2015-06-28
|\| | | | | | | | | | | | | | | | | | | * commit 'd3ea79e8a65ddad4da11813bb43c46701295f68c': FATE: drop the last truncated frame from the wma lossless test Conflicts: tests/fate/lossless-audio.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | api-flac-test: Fix the bug of comparing zero bytesLudmila Glinskih2015-06-28
| | | | | | | | | | | | Add check for linesize. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate/api-tests: Move api-flac-test to API tests directory.George Boyle2015-06-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate/api-tests: Add directory and Makefile for API testsGeorge Boyle2015-06-27
| | | | | | | | | | | | | | | | The intention of this change is to allow separation of API tests from the existing tests, and also to have a place for the API test source/executable files so they're not mixed in with the actual library code. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: test ea vp6 with alpha streamPeter Ross2015-06-26
| | | | | | | | | | Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavformat: Add H264 API testLudmila Glinskih2015-06-25
| | | | | | | | | | | | | | Result differs in pkt_duration and time_base.den for some reason. Right now it tests only one example (adjusted to match the output). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegaudio_parser: Discard ID3v1 tag at the endMichael Niedermayer2015-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ideally this should be discarded by the demuxer but this is not possible without fully parsing which would be then very similar to this. The current ID3v1 discard code in the demuxer does not work and will be removed in a subsequent commit The discard code could be adjusted if needed to also discard tags at other locations than the end or to limit this possibly to input from the mp3 demuxer or even to move the discarding to the decoder. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/brstm: add FATE tests for BFSTM and BCSTM filesRodger Combs2015-06-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tests/fate/image: also run fate-sgi for the fate-image targetMichael Niedermayer2015-06-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '5c018ee18895f88e9e1d2174059dcdd48bf872d2'Michael Niedermayer2015-06-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5c018ee18895f88e9e1d2174059dcdd48bf872d2': DirectDraw Surface image decoder Conflicts: Changelog configure doc/general.texi libavcodec/Makefile libavcodec/version.h tests/fate/image.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * DirectDraw Surface image decoderVittorio Giovara2015-06-22
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avcodec/jpeg2000dwt: Print 1 digit less in the 9/7f DWT testMichael Niedermayer2015-06-22
| | | | | | | | | | | | | | This avoids test failure due to differing rounding between 32 and 64bit x86 Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '7ca3e5203f133eb41a0b5c3a1d753a7427ba72e7'Michael Niedermayer2015-06-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7ca3e5203f133eb41a0b5c3a1d753a7427ba72e7': Hap decoder and encoder Conflicts: Changelog configure doc/general.texi libavcodec/allcodecs.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Hap decoder and encoderVittorio Giovara2015-06-22
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'c0b105756f61d253bdabcc2bb49453a2557e7c3b'Michael Niedermayer2015-06-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c0b105756f61d253bdabcc2bb49453a2557e7c3b': txd: Use the TextureDSP module for decoding Conflicts: configure libavcodec/s3tc.c libavcodec/s3tc.h libavcodec/txd.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | fate: add some tests for ffv1 level 3 with 8/10/16 bpsTobias Rapp2015-06-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dwt: use 32x32->64 multiplies in the 9/7i DWTMichael Niedermayer2015-06-22
| | | | | | | | | | | | | | This significantly improves the quality when the integer 9/7 transform is used Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000: Move H band scaling from wavelet into quantization codeMichael Niedermayer2015-06-22
| | | | | | | | | | | | | | This reduces the number of operations done and is equivalent except for rounding Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000: Move gainb handling into the quantization codeMichael Niedermayer2015-06-22
| | | | | | | | | | | | | | | | thats how the specification defines it, this also improves numerical accuracy of the integer wavelet implementation. It otherwise should be equivalent, in case of overflows this can be reverted. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c060d046aa2f89c0e601a2dcfbce53f0e36cf498'Michael Niedermayer2015-06-21
|\| | | | | | | | | | | | | * commit 'c060d046aa2f89c0e601a2dcfbce53f0e36cf498': af_resample: Set the number of samples in the last frame Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * af_resample: Set the number of samples in the last frameLuca Barbato2015-06-20
| | | | | | | | | | | | Otherwise trailing zeroes would appear. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '6ec688e1bc76dd93151cbca1c340162ae4b10d77'Michael Niedermayer2015-06-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '6ec688e1bc76dd93151cbca1c340162ae4b10d77': mp3: enable packed main_data decoding in MP4 Conflicts: libavcodec/mpegaudiodec_template.c Only the parts needed to support the available sample are merged the remaining error checks are left in place Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mp3: enable packed main_data decoding in MP4nu7742015-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | avcodec/jpeg2000dwt: Fix value of F_LFTG_X and I_LFTG_XMichael Niedermayer2015-06-21
| | | | | | | | | | | | | | | | Even if the jpeg2000 spec uses a wrong value this does not make mathematics work this way, also this has been corrected in the 2004 version AFAIK Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swresample: Choose 16bit internally only if input and output is 16bit or lessMichael Niedermayer2015-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | or if no rematrix and no resampling is performed and the input is 16bit note reampling and rematrix itself always use more than 16bit internally the "internal" sampling format is the format between these steps Its unlikely the difference from this commit is audible in any case unless there is some bug either before or after the change. but multiple people prefer this and it slightly improves the precission of computations. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dwt: also test 9/7 float DWTMichael Niedermayer2015-06-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dwt: List differences for DWT testMichael Niedermayer2015-06-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>