summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* lavfi/delogo: use weighted interpolationJean Delvare2013-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* fate: Add Canopus Lossless YUY2 testDerek Buitenhuis2013-06-25
| | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu: Add RIPEMD hashingJames Almer2013-06-15
| | | | | | Includes RIPEMD-128, RIPEMD-160, RIPEMD-256 and RIPEMD-320 Signed-off-by: James Almer <jamrial@gmail.com>
* tests: add filter-pixfmts-rotate testStefano Sabatini2013-06-13
|
* fate: Add test vectors for HMAC SHA and SHA-2James Almer2013-06-12
| | | | | | | 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>
* fate: wavpack: add more dependenciesPaul B Mahol2013-06-11
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Add unscaled converter from GBRP > 8bit to RGBx48/64.Carl Eugen Hoyos2013-06-06
| | | | | | Fixes ticket #2633. Tested-by: Michael Cinquin
* avcodec/jpeg2000dwt: merge rescaling with interleave in 9/7 int IDWTMichael Niedermayer2013-06-03
| | | | | | | 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>
* lavu: Add SHA-2 512 hashingJames Almer2013-06-02
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate: use TARGET_SAMPLES in mcdeint testsMichael Niedermayer2013-06-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tests: add mcdeint testsStefano Sabatini2013-06-01
|
* av_d2q: Add a special case for |value| > MAX and |value| < 1/MAXMichael Niedermayer2013-05-31
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* j2k/jpeg2000dec: mergeMichael Niedermayer2013-05-31
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf/id3v2enc: fix cover art display on some softwareMatthieu Bouron2013-05-30
| | | | | | | | | | | | | | 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
* fate: fix smvjpeg testMichael Niedermayer2013-05-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate: add smv testAsh Hughes2013-05-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-29
|\ | | | | | | | | | | | | | | | | | | | | * 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>
| * fate.sh: Allow specifying --as via a specific variableMartin Storsjö2013-05-29
| | | | | | | | | | | | | | This simplifies specifying a value containing spaces for this parameter. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '2d2d6a4883479403798f4ed46941d5b365823570'Michael Niedermayer2013-05-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * matroskaenc: support muxing WavPackAnton Khirnov2013-05-28
| |
* | Merge commit 'ba13606ca6adbc74b4db4a72b0769397d6408791'Michael Niedermayer2013-05-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * fate: Add a --target-samples path parameterMartin Storsjö2013-05-28
| | | | | | | | | | | | | | This allows having the samples accessible via different paths on the target and on the host. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '4a27a52a1f74016095b7aee1b4a422cf62217ade'Michael Niedermayer2013-05-29
|\| | | | | | | | | | | | | | | | | | | | | * 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>
| * fate: Don't use files from SRC_PATH in the actual testsMartin Storsjö2013-05-28
| | | | | | | | | | | | | | | | | | 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>
* | j2kdec/jpeg2000dec: partially merge quantization codeMichael Niedermayer2013-05-28
| | | | | | | | | | | | | | 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>
* | jpeg2000dwt: remove floats from mixed float/int 9/7 dwtMichael Niedermayer2013-05-28
| | | | | | | | | | | | This should fix some fate failures Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | j2k/jpeg2000: merge j2k & jpeg2000 dwts, drop j2k dwtMichael Niedermayer2013-05-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | j2k_dwt: fix scaling of 9/7 dwtMichael Niedermayer2013-05-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | j2kenc: Allow encoding with the 9/7 waveletMichael Niedermayer2013-05-27
| | | | | | | | | | | | Also add a fate test that tests 9/7 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fade: fix slice sizesMichael Niedermayer2013-05-24
| | | | | | | | | | | | | | | | 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>
* | Merge commit 'e9e5a1bdc769a7225ab0d4f8b33bcacc6496bd68'Michael Niedermayer2013-05-24
|\| | | | | | | | | | | | | | | | | | | | | | | * 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>
| * Monkey's Audio old versions FATE testsKostya Shishkov2013-05-24
| |
* | proresdec: Fix end conditionMichael Niedermayer2013-05-22
| | | | | | | | | | | | | | | | | | | | 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>
* | Add a fate test for ProRes Transparency.Carl Eugen Hoyos2013-05-21
| |
* | add YUVJ411PMichael Niedermayer2013-05-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c209d0df657f172f42d9bafbcdfa02dfb14f6965'Michael Niedermayer2013-05-21
|\| | | | | | | | | | | | | | | | | | | * commit 'c209d0df657f172f42d9bafbcdfa02dfb14f6965': fate.sh: add support for build-only FATE instances Conflicts: doc/fate.texi Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate.sh: add support for build-only FATE instancesDiego Biurrun2013-05-21
| | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-19
|\| | | | | | | | | | | | | | | | | | | * qatar/master: Escape 130 FATE test Conflicts: tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Escape 130 FATE testKostya Shishkov2013-05-19
| |
* | Merge commit '8e673efc6f5b7a095557664660305148f2788d30'Michael Niedermayer2013-05-19
|\| | | | | | | | | | | | | | | | | | | | | | | * 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>
| * prores: update FATE test to account for alpha plane present in the test sampleKostya Shishkov2013-05-19
| |
| * vc1dec: Update destination pointers in context for fieldsMichael Niedermayer2013-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces a large number of checks for the second field by fixing the pointers when they are setup. This should also fix I/BI field pictures. Changes checksums for vc1_sa10143, the file becomes slightly closer to what the reference decoder outputs. Based on "vc1dec: the second field is written wrong to the picture" by Sebastian Sandberg <sebastiand.sandberg@gmail.com>. Signed-off-by: Martin Storsjö <martin@martin.st>
| * fate: update the mmf referenceLuca Barbato2013-05-14
| | | | | | | | Using Optional Data chunk introduced changes the hash.
| * vc1dec: Don't apply the loop filter on fieldsMartin Storsjö2013-05-14
| | | | | | | | | | | | | | | | Fixes read of uninitialized memory. Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
* | sws/output: init A1/A2 so that rgba64 ends with 0xffff in the absence of ↵Michael Niedermayer2013-05-18
| | | | | | | | | | | | alpha input Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Turn off usage of base_data_offset in tfhd for PIFF filesJeremy Hinegardner2013-05-17
| | | | | | | | | | | | | | | | | | | | 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>
* | fate/colorchannelmixer: make sure direct path is tested.Clément Bœsch2013-05-16
| |
* | vf_colorchannelmixer: round lut entries to nearestMichael Niedermayer2013-05-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: change colorchannelmixers coefficients to be less unstableMichael Niedermayer2013-05-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add 128 bit murmur3 hash function.Reimar Döffinger2013-05-13
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>