summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* swscale: more accurate DITHER_COPY macro for full and limited rangeMateusz2017-10-23
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5'James Almer2017-10-21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5': Bump major versions of all libraries A few API deprecated ~2 years ago or more are also postponed here for varying reasons. FF_API_LOWRES: Since this functionality depends on AVStream->codec, i figure the two can be removed at the same time in the next bump or so. FF_API_AVCTX_TIMEBASE: Couldn't get this one to work. Not just libavcodec but apparently also libavformat and ffmpeg.c expect AVCodecContext->time_base to be set for decoding. Upon removal some tests report a different generic stream time base (like 1/25), and others lose packet duration values. I guess it's somehow tied to the AVStream->codec clusterfuck. It can be dealt with alongside FF_API_LAVF_AVCTX in the next bump. FF_API_OLD_FILTER_OPTS_ERROR: This one is meant to remain after FF_API_OLD_FILTER_OPTS is removed. Its purpose is displaying the corrected command line using the new syntax as a suggestion as part of the error message. Merged-by: James Almer <jamrial@gmail.com>
* | avformat/mov: Set start_pad correctly in mov_fix_index()Dale Curtis2017-10-21
| | | | | | | | | | | | | | | | | | | | | | Sets the correct start padding value when an edit list is present. A new fate test is added, fate-mov-440hz-10ms, to ensure this is handled correctly. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: Sasi Inguva <isasi-at-google.com@ffmpeg.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'b57a95d0147beae746db1c1223d100447f42dced'James Almer2017-10-18
|\| | | | | | | | | | | | | * commit 'b57a95d0147beae746db1c1223d100447f42dced': cfhd: Add FATE tests Merged-by: James Almer <jamrial@gmail.com>
| * cfhd: Add FATE testsDiego Biurrun2017-03-09
| |
| * mov: Export bounds and padding from spherical metadataVittorio Giovara2017-03-07
| | | | | | | | | | | | Update the fate test as needed. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * pixlet: Fix architecture-dependent code and valuesVittorio Giovara2017-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The constants used in the decoder used floating point precision, and this caused different values to be generated on different architectures. Additionally on big endian machines, the fate test would output bytes in native order, which is different from the one hardcoded in the test. So, eradicate floating point numbers and use fixed point (32.32) arithmetics everywhere, replacing constants with precomputed integer values, and force the pixel format output to be the same in the fate test. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * Add Apple Pixlet decoderPaul B Mahol2017-03-01
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | cbs: Add some read/write testsMark Thompson2017-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | Use the appropriate metadata filter for each codec - in the absence of any options to modify the stream, the output bitstream should be identical to the input (though the output file may differ in padding). All tests use conformance bitstreams, the MPEG-2 streams are newly added from the conformance test streams <http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_IEC_13818-4_2004_Conformance_Testing/Video/> (cherry picked from commit 3cae7f8b9baaf43789490b676d8f5825f2e1bc2c) (cherry picked from commit fbd63170bcbc5cad8965edad7c357f6eb4132250)
* | mpeg12: Add a common function to find the best frame rateMark Thompson2017-10-17
| | | | | | | | | | | | | | This will be used later in both the mpeg2_metadata filter and the VAAPI MPEG-2 encoder. Also adds a unit test. (cherry picked from commit b5859e0b04bdbe12c97cb12ac10a45d51d2d73c9)
* | fate: add missing closing bracketJames Almer2017-10-11
| | | | | | | | | | | | Regression since 85e2fe6281834ac7f16a12a332d9de4b2ec3cd29 Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'db869f4ea4405fb8f9736e5ecdca70f77621a28e'James Almer2017-10-11
|\| | | | | | | | | | | | | * commit 'db869f4ea4405fb8f9736e5ecdca70f77621a28e': fate: Add build-only targets to FATE Merged-by: James Almer <jamrial@gmail.com>
| * fate: Add build-only targets to FATEDiego Biurrun2017-03-01
| |
| * build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-03-01
| | | | | | | | None of them are specific to the YASM assembler.
* | Merge commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63'James Almer2017-10-11
|\| | | | | | | | | | | | | | | | | | | | | * commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63': build: Fine-grained link-time dependency settings Also included are bug fix commits 5ff3b5cafcc685b6936d16602b0f80aa09a95870, d9da7151eef7fc469787e7298196cea291acfd82 and 5e27ef800bfa2be17a6353ddedac6b7400e4624f. Merged-by: James Almer <jamrial@gmail.com>
| * build: Fine-grained link-time dependency settingsDiego Biurrun2017-03-01
| | | | | | | | | | | | | | | | | | | | | | | | Previously, all link-time dependencies were added for all libraries, resulting in bogus link-time dependencies since not all dependencies are shared across libraries. Also, in some cases like libavutil, not all dependencies were taken into account, resulting in some cases of underlinking. To address all this mess a machinery is added for tracking which dependency belongs to which library component and then leveraged to determine correct dependencies for all individual libraries.
* | fate: update fate-api reference files after 71e2ec017aJames Almer2017-10-09
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4'James Almer2017-10-03
|\| | | | | | | | | | | | | * commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4': fate: Rename WMV8_DRM decoder tests to WMV3_DRM Merged-by: James Almer <jamrial@gmail.com>
| * fate: Rename WMV8_DRM decoder tests to WMV3_DRMDiego Biurrun2017-02-28
| | | | | | | | The codec used in those files is WMV3/WMV9, not WMV2/WMV8.
* | Merge commit '698ac8f9cabd053f2c19346a77b92f8eae4218fc'James Almer2017-10-03
|\| | | | | | | | | | | | | * commit '698ac8f9cabd053f2c19346a77b92f8eae4218fc': fate: Make null comparison method more useful Merged-by: James Almer <jamrial@gmail.com>
| * fate: Make null comparison method more usefulDiego Biurrun2017-02-27
| | | | | | | | This allows dropping /dev/null as reference value when no output is generated.
* | Merge commit '4141a5a240fba44b4b4a1c488c279d7dd8a11ec7'James Almer2017-10-03
|\| | | | | | | | | | | | | * commit '4141a5a240fba44b4b4a1c488c279d7dd8a11ec7': Use modern avconv syntax for codec selection in documentation and tests Merged-by: James Almer <jamrial@gmail.com>
| * Use modern avconv syntax for codec selection in documentation and testsDiego Biurrun2017-02-27
| |
| * fate: Use bitexact optimizations in the svq3-2 testDiego Biurrun2017-02-27
| | | | | | | | | | This fixes the test with mmxext disabled because the current reference frame hashes correspond to the non-bitexact mmxext optimizations.
* | libavcodec/blockdsp : add AVX versionMartin Vignali2017-10-03
| | | | | | | | | | | | | | Also modify the required alignment, to 32 instead of 16 for several codecs Signed-off-by: James Almer <jamrial@gmail.com>
* | fate: Add a test for latm-in-dvb auto-detection, ticket #6657.Carl Eugen Hoyos2017-10-03
| |
* | avformat/mxfenc: Fix labels for IEC PAL DV 420Michael Niedermayer2017-10-03
| |
* | fate: disable fate-svq3-2James Almer2017-10-02
| | | | | | | | | | | | | | | | The first frame changes depending on --enable-memory-poisoning being used to configure ffmpeg or not, even if requesting bitexact decoding. Disable the test until this is fixed. Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '8e4d4efc67e154fdffd65964a7cfeef740320827'James Almer2017-10-02
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '8e4d4efc67e154fdffd65964a7cfeef740320827': fate: Add another SVQ3 test to increase coverage Also included a fix from da8093f712d625db7ce4a2526fb52994e01921ec. The demuxer option "-ignore_editlist 1 " is temporarily added to the test as well, to workaround a regression in the edit list mov parsing code. Merged-by: James Almer <jamrial@gmail.com>
| * fate: Add another SVQ3 test to increase coverageDiego Biurrun2017-02-24
| |
| * mkv: Update the seek test to match 5d3953a5dcLuca Barbato2017-02-22
| |
| * fate: Update fate-lavf-mkv after commit 5d3953a5dcJohn Stebbins2017-02-21
| |
| * fate: Add webp alpha testMark Thompson2017-02-21
| |
* | libavcodec/exr : add x86 SIMD for predictorMartin Vignali2017-10-01
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/hevc_sei: Support HEVC paired fields.Brian Matherly2017-09-30
| | | | | | | | | | | | | | Correctly set the interlaced_frame and top_field_first fields when pic_struct indicates paired fields. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: increase fuzz for refcmp filter testsTobias Rapp2017-09-29
| | | | | | | | | | | | Should fix failing tests on GNU/kFreeBSD x86_32. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | movenc-test: Add tests for negative cts offsetsMartin Storsjö2017-09-28
| | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add tests for psnr and ssim filterTobias Rapp2017-09-27
| | | | | | | | | | | | | | | | Metadata filter output is passed through an Awk script comparing floats against reference values with specified "fuzz" tolerance to account for architectural differences (e.g. x86-32 vs. x86-64). Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | fate/fits: add missing png & gif dependenciesParas Chadha2017-09-24
| | | | | | | | | | Signed-off-by: Paras Chadha <paraschadha18@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/interlace: add support for 10 and 12 bitThomas Mundt2017-09-23
| | | | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | fate: add mxf_dv25/dvcpro50 regression testsTobias Rapp2017-09-18
| | | | | | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | fate: add tinterlace lowpass filtering testsThomas Mundt2017-09-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: add an exrdsp testJames Almer2017-09-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter/interlace: prevent over-sharpening with the complex low-pass filterThomas Mundt2017-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The complex vertical low-pass filter slightly over-sharpens the picture. This becomes visible when several transcodings are cascaded and the error potentises, e.g. some generations of HD->SD SD->HD. To prevent this behaviour the destination pixel must not exceed the source pixel when the average of the pixels above and below is less than the source pixel. And the other way around. Tested and approved in a visual transcoding cascade test by video professionals. SSIM/PSNR test with the first generation of an HD->SD file as a reference against the 6th generation(3 x SD->HD HD->SD): Results without the patch: SSIM Y:0.956508 (13.615881) U:0.991601 (20.757750) V:0.993004 (21.551382) All:0.974405 (15.918463) PSNR y:31.838009 u:48.424280 v:48.962711 average:34.759466 min:31.699297 max:40.857847 Results with the patch: SSIM Y:0.970051 (15.236232) U:0.991883 (20.905857) V:0.993174 (21.658049) All:0.981290 (17.279202) PSNR y:34.412108 u:48.504454 v:48.969496 average:37.264644 min:34.310637 max:42.373392 Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | vf_fps: when reading EOF, using current_pts to duplicate the last frame if ↵Thierry Foucu2017-09-15
| | | | | | | | | | | | | | | | | | needed. Fix ticket #2674 Tested with examples from ticket 2674. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mxfenc: Correct the Sample rate for PCM outside D10Michael Niedermayer2017-09-12
| | | | | | | | | | | | Based on mail from IRT Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | checkasm: use perf API on Linux ARM*Clément Bœsch2017-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On ARM platforms, accessing the PMU registers requires special user access permissions. Since there is no other way to get accurate timers, the current implementation of timers in FFmpeg rely on these registers. Unfortunately, enabling user access to these registers on Linux is not trivial, and generally involve compiling a random and unreliable github kernel module, or patching somehow your kernel. Such module is very unlikely to reach the upstream anytime soon. Quoting Robin Murphin from ARM: > Say you do give userspace direct access to the PMU; now run two or more > programs at once that believe they can use the counters for their own > "minimal-overhead" profiling. Have fun interpreting those results... > > And that's not even getting into the implications of scheduling across > different CPUs, CPUidle, etc. where the PMU state is completely beyond > userspace's control. In general, the plan to provide userspace with > something which might happen to just about work in a few corner cases, > but is meaningless, misleading or downright broken in all others, is to > never do so. As a result, the alternative is to use the Performance Monitoring Linux API which makes use of these registers internally (assuming the PMU of your ARM board is supported in the kernel, which is definitely not a given...). While the Linux API is obviously cross platform, it does have a significant overhead which needs to be taken into account. As a result, that mode is only weakly enabled on ARM platforms exclusively. Note on the non flexibility of the implementation: the timers (native FFmpeg vs Linux API) are selected at compilation time to prevent the need of function calls, which would result in a negative impact on the cycle counters.
* | fate: add test for asetnsamples filter with padding disabledTobias Rapp2017-09-08
| | | | | | | | | | | | | | | | | | Adds another test for asetnsamples filter where padding of the last frame is switched off. Renames the existing test to make the difference obvious. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | ffprobe: use consistent string for unspecified color_range valueTobias Rapp2017-09-07
| | | | | | | | | | | | | | Makes the handling of unspecified/unknown color_range values on stream level consistent to the value used on frame level. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | fate: fix fate-lavf-fits dependenciesJames Almer2017-09-06
| | | | | | | | We need the fits muxer/demuxer.