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
2013-07-07Merge commit '6516632967da5e6bd7d6136e8678f826669ed26e'Michael Niedermayer
* commit '6516632967da5e6bd7d6136e8678f826669ed26e': tests: Only run noproxy test if networking is enabled fifo: K&R formatting cosmetics Conflicts: libavformat/Makefile libavutil/fifo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-06tests: Only run noproxy test if networking is enabledDiego Biurrun
2013-07-04Fix opacity and increase colour dynamics of initial vmd palette.Carl Eugen Hoyos
2013-07-04lavfi/crop: support more pixel formatsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-07-04lavfi/delogo: avoid propagation of rounding errors in chroma planesJean Delvare
When operating on subsampled chroma planes, some rounding is taking place. The left and top borders are rounded down while the width and height are rounded up, so all rounding is done outward to guarantee the logo area is fully covered. The problem is that the width and height are counted from the unrounded left and top borders, respectively. So if the left or top border position has indeed been rounded down, and the width or height needs no rounding (up), the position of the the right or bottom border will be effectively rounded down, i.e. inward. The issue can easily be seen with a yuv240p input and -vf delogo=45:45:60:40:show=1 -vframes 1 delogo-bug.png (or virtually any logo area with odd x and y and even width and height.) The right and bottom chroma borders (in green) are clearly off. In order to fix this, the width and height must be adjusted to include the bits lost in the rounding of the left and top border positions, respectively, prior to being themselves rounded up. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-02oggdec: do not fall back on binary search in the generic code.Anton Khirnov
Binary search is already attempted in the format-specific seek function, so the fallback is only reached if binary search failed already.
2013-07-01lavfi/delogo: use weighted interpolationJean Delvare
The original delogo algorithm interpolates both horizontally and vertically and uses the average to compute the resulting sample. This works reasonably well when the logo area is almost square. However when the logo area is significantly larger than high or higher than large, the result is largely suboptimal. The issue can be clearly seen by testing the delogo filter with a fake logo area that is 200 pixels large and 2 pixels high. Vertical interpolation gives a very good result in that case, horizontal interpolation gives a very bad result, and the overall result is poor, because both are given the same weight. Even when the logo is roughly square, the current algorithm gives poor results on the borders of the logo area, because it always gives horizontal and vertical interpolations an equal weight, and this is suboptimal on borders. For example, in the middle of the left hand side border of the logo, you want to trust the left known point much more than the right known point (which the current algorithm already does) but also much more than the top and bottom known points (which the current algorithm doesn't do.) By properly weighting each known point when computing the value of each interpolated pixel, the visual result is much better, especially on borders and/or for high or large logo areas. The algorithm I implemented guarantees that the weight of each of the 4 known points directly depends on its distance to the interpolated point. It is largely inspired from the original algorithm, the key difference being that it computes the relative weights globally instead of separating the vertical and horizontal interpolations and combining them afterward. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2013-06-25fate: Add Canopus Lossless YUY2 testDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-25fate: Add Canopus Lossless YUY2 testDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-06-16lavu: Add RIPEMD hashingJames Almer
Includes RIPEMD-128, RIPEMD-160, RIPEMD-256 and RIPEMD-320 Signed-off-by: James Almer <jamrial@gmail.com>
2013-06-13tests: add filter-pixfmts-rotate testStefano Sabatini
2013-06-12fate: 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: Michael Niedermayer <michaelni@gmx.at>
2013-06-12fate: wavpack: add more dependenciesPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-06-07Add unscaled converter from GBRP > 8bit to RGBx48/64.Carl Eugen Hoyos
Fixes ticket #2633. Tested-by: Michael Cinquin
2013-06-03avcodec/jpeg2000dwt: merge rescaling with interleave in 9/7 int IDWTMichael Niedermayer
Tha fate tests change because the edge mirroring was wrong before this commit Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-02lavu: Add SHA-2 512 hashingJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-02fate: use TARGET_SAMPLES in mcdeint testsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-02tests: add mcdeint testsStefano Sabatini
2013-05-31av_d2q: Add a special case for |value| > MAX and |value| < 1/MAXMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-31j2k/jpeg2000dec: mergeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-31lavf/id3v2enc: fix cover art display on some softwareMatthieu Bouron
Adding an arbitrary amount of padding bytes at the end of the ID3 metadata fixes cover art display for some software (iTunes, Traktor, Serato, Torq). For reference (ID3 metadata): [ Apic frames ] -> cover doesn't show up [ Apic frames, Padding ] -> ok [ Apic frames, ID3 frames ] -> ok [ ID3 frames, Apic frames ] -> cover doesn't show up [ ID3 frames, Apic frames, Padding ] -> ok
2013-05-30fate: fix smvjpeg testMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-30fate: add smv testAsh Hughes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-29Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: doc: Mention the target_samples and ld variables for fate configs fate.sh: Allow specifying --as via a specific variable Conflicts: doc/fate.texi Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-29Merge commit '2d2d6a4883479403798f4ed46941d5b365823570'Michael Niedermayer
* commit '2d2d6a4883479403798f4ed46941d5b365823570': lavf: add a raw WavPack muxer. apetag: add support for writing APE tags matroskaenc: support muxing WavPack Conflicts: libavformat/Makefile libavformat/allformats.c libavformat/apetag.h libavformat/version.h libavformat/wvenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-29fate.sh: Allow specifying --as via a specific variableMartin Storsjö
This simplifies specifying a value containing spaces for this parameter. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-29Merge commit 'ba13606ca6adbc74b4db4a72b0769397d6408791'Michael Niedermayer
* commit 'ba13606ca6adbc74b4db4a72b0769397d6408791': fate: Add a --target-samples path parameter Conflicts: configure tests/fate/audio.mak tests/fate/cover-art.mak tests/fate/demux.mak tests/fate/ea.mak tests/fate/filter-video.mak tests/fate/h264.mak tests/fate/image.mak tests/fate/lossless-audio.mak tests/fate/lossless-video.mak tests/fate/microsoft.mak tests/fate/pcm.mak tests/fate/prores.mak tests/fate/qt.mak tests/fate/real.mak tests/fate/screen.mak tests/fate/video.mak tests/fate/voice.mak tests/fate/vpx.mak tests/fate/vqf.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-29Merge commit '4a27a52a1f74016095b7aee1b4a422cf62217ade'Michael Niedermayer
* commit '4a27a52a1f74016095b7aee1b4a422cf62217ade': fate: Don't use files from SRC_PATH in the actual tests indeo4: reuse context block VLC for band instead of defaulting Conflicts: tests/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-28j2kdec/jpeg2000dec: partially merge quantization codeMichael Niedermayer
The quantization code needs more work, not so much work merging but more work investigating what is correct. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-28matroskaenc: support muxing WavPackAnton Khirnov
2013-05-28fate: Add a --target-samples path parameterMartin Storsjö
This allows having the samples accessible via different paths on the target and on the host. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-28fate: Don't use files from SRC_PATH in the actual testsMartin Storsjö
If building out of tree, make sure the filter scripts are copied into the build tree before running tests. This makes sure that SRC_PATH doesn't need to exist on the remote system (or doesn't need to exist at the same path). Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-28jpeg2000dwt: remove floats from mixed float/int 9/7 dwtMichael Niedermayer
This should fix some fate failures Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-27j2k/jpeg2000: merge j2k & jpeg2000 dwts, drop j2k dwtMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-27j2k_dwt: fix scaling of 9/7 dwtMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-27j2kenc: Allow encoding with the 9/7 waveletMichael Niedermayer
Also add a fate test that tests 9/7 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24fade: fix slice sizesMichael Niedermayer
This more evenly distributes the load between threads This also fixes the chroma filtering where the filter was applied twice Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24Merge commit 'e9e5a1bdc769a7225ab0d4f8b33bcacc6496bd68'Michael Niedermayer
* commit 'e9e5a1bdc769a7225ab0d4f8b33bcacc6496bd68': Monkey's Audio old versions FATE tests h264_parser: Set field_order and picture_structure. Conflicts: libavcodec/h264_parser.c tests/fate/lossless-audio.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24Monkey's Audio old versions FATE testsKostya Shishkov
2013-05-22proresdec: Fix end conditionMichael Niedermayer
Fixes out of array writes No FFmpeg release is affected by this This also fixes some artifacts Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-22Add a fate test for ProRes Transparency.Carl Eugen Hoyos
2013-05-21add YUVJ411PMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-21Merge commit 'c209d0df657f172f42d9bafbcdfa02dfb14f6965'Michael Niedermayer
* commit 'c209d0df657f172f42d9bafbcdfa02dfb14f6965': fate.sh: add support for build-only FATE instances Conflicts: doc/fate.texi Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-21fate.sh: add support for build-only FATE instancesDiego Biurrun
If the "build_only" variable is set in the configuration file, the FATE client will skip running tests and just compile all targets. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-19Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: Escape 130 FATE test Conflicts: tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-19Merge commit '8e673efc6f5b7a095557664660305148f2788d30'Michael Niedermayer
* commit '8e673efc6f5b7a095557664660305148f2788d30': prores: update FATE test to account for alpha plane present in the test sample configure: Add basic valgrind-massif support Conflicts: tests/fate/prores.mak tests/ref/fate/prores-alpha Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-19Escape 130 FATE testKostya Shishkov
2013-05-19prores: update FATE test to account for alpha plane present in the test sampleKostya Shishkov
2013-05-18sws/output: init A1/A2 so that rgba64 ends with 0xffff in the absence of ↵Michael Niedermayer
alpha input Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-17Turn off usage of base_data_offset in tfhd for PIFF filesJeremy Hinegardner
According to the PIFF specification[1] the base_data_offset field MUST be omitteed. See section 5.2.17. Since the ISMV files created by ffmpeg state that they are 'piff' compatible via 'ftyp' box, this needs to be corrected. [1] http://www.iis.net/learn/media/smooth-streaming/protected-interoperable-file-format Signed-off-by: Michael Niedermayer <michaelni@gmx.at>