summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fate: add VP4 testPeter Ross2019-06-122-0/+32
|
* tests/ref/fate/nuv-rtjpeg: Preserve the original timestampsMichael Niedermayer2019-06-122-10/+10
| | | | | | | The tests previously rounded the timestamps. Its better in a fate test to preserve the data from the demuxer and decoder. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm/vf_gblur: add test for horiz_slice simdRuiling Song2019-06-125-0/+72
| | | | Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* fate: add dst decoder testPeter Ross2019-06-101-0/+5
|
* avutil: Add missing reference files for pixdesc fate testAndreas Rheinhardt2019-05-142-0/+2
| | | | | | | | | | Commit cd48318035 added support for NV24 and NV42, including several fate tests for these formats, but did not include the reference files for the tests filter-pixdesc-nv24 and filter-pixdesc-nv42. As a result, these two tests were broken. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Add test for isSemiPlanarYUV to pixdesc_queryPhilip Langdale2019-05-121-0/+13
| | | | | | Lauri had asked me what the semi planar formats were and that reminded me that we could add it to pixdesc_query so we know exactly what the list is.
* swscale: Add support for NV24 and NV42Philip Langdale2019-05-1212-0/+28
| | | | | | | | | | | The implementation is pretty straight-forward. Most of the existing NV12 codepaths work regardless of subsampling and are re-used as is. Where necessary I wrote the slightly different NV24 versions. Finally, the one thing that confused me for a long time was the asm specific x86 path that did an explicit exclusion check for NV12. I replaced that with a semi-planar check and also updated the equivalent PPC code, which Lauri kindly checked.
* avutil: Add NV24 and NV42 pixel formatsPhilip Langdale2019-05-121-1/+1
| | | | | | | | | | | | | These are the 4:4:4 variants of the semi-planar NV12/NV21 formats. These formats are not used much, so we've never had a reason to add them until now. VDPAU recently added support HEVC 4:4:4 content and when you use the OpenGL interop, the returned surfaces are in NV24 format, so we need the pixel format for media players, even if there's no direct use within ffmpeg. Separately, there are apparently webcams that use NV24, but I've never seen one.
* avformat/matroskaenc: Don't waste bytes writing level 1 elementsAndreas Rheinhardt2019-05-089-36/+36
| | | | | | | | | | | Up until now, the length field of most level 1 elements has been written using eight bytes, although it is known in advance how much space the content of said elements will take up so that it would be possible to determine the minimal amount of bytes for the length field. This commit changes this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskaenc: Write CRC-32 in non-seekable modeAndreas Rheinhardt2019-05-083-4/+4
| | | | | | | | | | | | | | | | Given that in both the seekable as well as the non-seekable mode dynamic buffers are used to write level 1 elements and that now no seeks are used in the seekable case any more, the two modes can be combined; as a consequence, the non-seekable mode automatically inherits the ability to write CRC-32 elements. There are no differences in case the output is seekable; when it is not and writing CRC-32 elements is disabled, there can still be minor differences because before this commit, the EBML ID and length field were counted towards the cluster size limit; now they no longer are. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskaenc: Don't waste bytes in EBML HeaderAndreas Rheinhardt2019-05-089-36/+36
| | | | | | | | | | Up until now the EBML Header length field has been written with eight bytes, although the EBML Header is always so small that only one byte is needed for it. This patch saves seven bytes for every Matroska/Webm file. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate/checkasm: add missing v210dec testJames Almer2019-05-031-0/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add test for v210decJames Darnley2019-05-024-0/+82
|
* tests/fate-run: New variable hostexecsuf for local fate tools.Carl Eugen Hoyos2019-04-242-4/+5
| | | | Allows running fate in-tree on wsl with msvc.
* lavf/oggparsevorbis: Fix change the case of metadata keys issueJun Zhao2019-04-222-2/+2
| | | | | | | | | | | The spec in https://xiph.org/vorbis/doc/v-comment.html states that the metadata keys are case-insensitive, so don't change the case and update the fate test case. Fix #7784 Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* tests: don't include TARGET_PATH in the sample path needlesslyHendrik Leppkes2019-04-191-1/+1
| | | | | | The transcode() helper function will already prepend the TARGET_PATH to the sample path, if its a relative path. This avoids an issue on Windows, where the relative path check could fail.
* tests: Add EXESUF to program calls.Carl Eugen Hoyos2019-04-1910-90/+90
| | | | Fixes fate in Windows subsystem for Linux.
* rename hls_segment_filename in fate-hls-segment-size for fateSteven Liu2019-04-191-1/+1
|
* add tests/ref/fate/hls-segment-size for the fate testSteven Liu2019-04-191-0/+772
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* tests/fate: add fate-hls-segment-size for hls_segment_size testSteven Liu2019-04-171-0/+11
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/mxfdec: use operational_pattern_ul instead of operational_pattern ↵Marton Balint2019-04-143-3/+3
| | | | | | | | for metadata This makes it more consistent with other metadata keys. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mxfdec: export operational pattern UL as file metadataMarton Balint2019-04-113-0/+3
| | | | | | | Can be useful for API users as ffmpeg/libavformat can't properly support some operational patterns. Signed-off-by: Marton Balint <cus@passwd.hu>
* FATE: Add test for HEVC files that claim to have two first slicesDerek Buitenhuis2019-04-052-0/+42
| | | | | | This makes sure we don't regress on 70c8c8a818f39bc262565ec29fae2baffb3e1660. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavf/movenc: fix tmcd writing for non-MP4/MOV modesGyan Doshi2019-04-032-5/+5
| | | | | | | write_tmcd allows tmcd track to be created with any mode but in mov_write_header, index for first tmcd track is only set for modes MP4 or MOV, causing a crash if tmcd creation is attempted with other modes.
* fate: unbreak fate with custom binary namesGyan Doshi2019-04-032-2/+3
|
* tests/fate-run: fix regression in encoding optionsJames Almer2019-03-191-3/+4
| | | | | | | | Set threads back to 1. Fixes fate when run in multi threaded mode. Regression since d0c43e32427ec1efac364be0987a6aafa695527f. Signed-off-by: James Almer <jamrial@gmail.com>
* tests/fate/ffmpeg: Check for apng codec for fate-copy-apng.Carl Eugen Hoyos2019-03-151-1/+1
| | | | The file has to be created first, fixes fate without zlib.
* fate/lavf-image: fix passed arguments for some high bit depth testsJames Almer2019-03-145-25/+25
| | | | | | Should fix fate failures on big endian targets. Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit 'f8abf7d4dfa0504f7f65e4f1fd9d22e01cb371cc'James Almer2019-03-141-18/+26
|\ | | | | | | | | | | | | * commit 'f8abf7d4dfa0504f7f65e4f1fd9d22e01cb371cc': checkasm/h264: test 4:2:2 chroma loop filter functions Merged-by: James Almer <jamrial@gmail.com>
| * checkasm/h264: test 4:2:2 chroma loop filter functionsJanne Grunau2019-02-271-18/+26
| |
* | Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b'James Almer2019-03-1421-179/+104
|\ \ | |/ | | | | | | | | | | * commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b': tests: Add a convenience function for video-only lavf tests Merged-by: James Almer <jamrial@gmail.com>
| * tests: Add a convenience function for video-only lavf testsDiego Biurrun2019-02-1611-119/+27
| | | | | | | | | | Rename a test in the process for consistency and simplicity and remove the remnants of the now-unused lavf regression test scripts.
* | tests: Convert lavf container tests with samples to non-legacy test scriptsJames Almer2019-03-1414-68/+50
| |
* | Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c'James Almer2019-03-1440-263/+199
|\ \ | |/ | | | | | | | | | | * commit '618d02c1fa9e74d490cace64a7d15762656b521c': tests: Convert lavf container tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert lavf container tests to non-legacy test scriptsDiego Biurrun2019-02-1624-126/+92
| | | | | | | | Rename some tests in the process for consistency and simplicity.
* | Merge commit '896fe15dbb7b78de495c4a7dd75e7faec66778da'James Almer2019-03-1425-56/+78
|\ \ | |/ | | | | | | | | | | * commit '896fe15dbb7b78de495c4a7dd75e7faec66778da': tests: Convert lavf pixfmt conversion tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert lavf pixfmt conversion tests to non-legacy test scriptsDiego Biurrun2019-02-1625-55/+78
| | | | | | | | Also split monolithic lavf-pixfmt test into individual tests.
* | Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40'James Almer2019-03-1439-201/+175
|\ \ | |/ | | | | | | | | | | * commit 'a957e9379d11f2982d615f92c30580a57ea8bb40': tests: Convert lavf image tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert lavf image tests to non-legacy test scriptsDiego Biurrun2019-02-1619-117/+76
| | | | | | | | Rename some tests in the process for consistency and simplicity.
* | Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c'James Almer2019-03-1433-174/+113
|\ \ | |/ | | | | | | | | | | * commit 'eb8a8115994434b548523cf0bca6a4a74784e79c': tests: Convert audio-only lavf tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert audio-only lavf tests to non-legacy test scriptsDiego Biurrun2019-02-1622-102/+72
| | | | | | | | Rename some tests in the process for consistency and simplicity.
* | Merge commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363'James Almer2019-03-148-31/+69
|\ \ | |/ | | | | | | | | | | * commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363': tests: Convert image2pipe tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert image2pipe tests to non-legacy test scriptsDiego Biurrun2019-02-168-31/+67
| |
* | fate/mxf: add mxf user comments testsMark Reid2019-03-134-1/+17
| | | | | | | | | | Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '5846b496f0a1dd5be4ef714622940674305ec00f'James Almer2019-03-101-5/+5
|\ \ | |/ | | | | | | | | | | * commit '5846b496f0a1dd5be4ef714622940674305ec00f': tests: Use a predefined function for lavf-rm test Merged-by: James Almer <jamrial@gmail.com>
| * tests: Use a predefined function for lavf-rm testDiego Biurrun2019-02-161-4/+4
| |
* | Merge commit 'dad5fd59f3d6a8311365314cfcde0ebcd15c2b01'James Almer2019-03-102-1/+2
|\ \ | |/ | | | | | | | | | | * commit 'dad5fd59f3d6a8311365314cfcde0ebcd15c2b01': tests: Enable CRC test for yuv4mpeg Merged-by: James Almer <jamrial@gmail.com>
| * tests: Enable CRC test for yuv4mpegDiego Biurrun2019-02-162-1/+2
| |
| * tests: Drop duplicate variable declarationDiego Biurrun2019-02-161-1/+0
| |
* | Merge commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915'James Almer2019-03-104-8/+3
|\ \ | |/ | | | | | | | | | | * commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915': tests: Unify output directory creation Merged-by: James Almer <jamrial@gmail.com>
OpenPOWER on IntegriCloud