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/ref
AgeCommit message (Collapse)Author
2019-06-12fate: add VP4 testPeter Ross
2019-06-12tests/ref/fate/nuv-rtjpeg: Preserve the original timestampsMichael Niedermayer
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>
2019-05-14avutil: Add missing reference files for pixdesc fate testAndreas Rheinhardt
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>
2019-05-12swscale: Add test for isSemiPlanarYUV to pixdesc_queryPhilip Langdale
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.
2019-05-12swscale: Add support for NV24 and NV42Philip Langdale
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.
2019-05-12avutil: Add NV24 and NV42 pixel formatsPhilip Langdale
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.
2019-05-08avformat/matroskaenc: Don't waste bytes writing level 1 elementsAndreas Rheinhardt
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>
2019-05-08avformat/matroskaenc: Write CRC-32 in non-seekable modeAndreas Rheinhardt
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>
2019-05-08avformat/matroskaenc: Don't waste bytes in EBML HeaderAndreas Rheinhardt
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>
2019-04-22lavf/oggparsevorbis: Fix change the case of metadata keys issueJun Zhao
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>
2019-04-19add tests/ref/fate/hls-segment-size for the fate testSteven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2019-04-14avformat/mxfdec: use operational_pattern_ul instead of operational_pattern ↵Marton Balint
for metadata This makes it more consistent with other metadata keys. Signed-off-by: Marton Balint <cus@passwd.hu>
2019-04-11avformat/mxfdec: export operational pattern UL as file metadataMarton Balint
Can be useful for API users as ffmpeg/libavformat can't properly support some operational patterns. Signed-off-by: Marton Balint <cus@passwd.hu>
2019-04-05FATE: Add test for HEVC files that claim to have two first slicesDerek Buitenhuis
This makes sure we don't regress on 70c8c8a818f39bc262565ec29fae2baffb3e1660. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2019-04-03lavf/movenc: fix tmcd writing for non-MP4/MOV modesGyan Doshi
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.
2019-03-14fate/lavf-image: fix passed arguments for some high bit depth testsJames Almer
Should fix fate failures on big endian targets. Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b'James Almer
* commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b': tests: Add a convenience function for video-only lavf tests Merged-by: James Almer <jamrial@gmail.com>
2019-03-14tests: Convert lavf container tests with samples to non-legacy test scriptsJames Almer
2019-03-14Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c'James Almer
* commit '618d02c1fa9e74d490cace64a7d15762656b521c': tests: Convert lavf container tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit '896fe15dbb7b78de495c4a7dd75e7faec66778da'James Almer
* commit '896fe15dbb7b78de495c4a7dd75e7faec66778da': tests: Convert lavf pixfmt conversion tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40'James Almer
* commit 'a957e9379d11f2982d615f92c30580a57ea8bb40': tests: Convert lavf image tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c'James Almer
* commit 'eb8a8115994434b548523cf0bca6a4a74784e79c': tests: Convert audio-only lavf tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363'James Almer
* commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363': tests: Convert image2pipe tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-13fate/mxf: add mxf user comments testsMark Reid
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-11Merge commit 'dad5fd59f3d6a8311365314cfcde0ebcd15c2b01'James Almer
* commit 'dad5fd59f3d6a8311365314cfcde0ebcd15c2b01': tests: Enable CRC test for yuv4mpeg Merged-by: James Almer <jamrial@gmail.com>
2019-03-09avcodec/proresenc_aw : fix interlace encoding for unsafe heightMartin Vignali
fix the call of the unsafe version of slice encoding in interlace mode fix padding line count in sub image with fill in interlace mode
2019-03-04fate/qtrle : change 32b test to output bgra instead of rgb24Martin Vignali
2019-02-27fate/proresenc_aw : add test for interlace and 444 encodingMartin Vignali
2019-02-20lavf/jacosubdec: compute subtitle duration correctlyAdam Sampson
When a JACOsub subtitle has two timestamps, they represent its start and end times (http://unicorn.us.com/jacosub/jscripts.html#l_times); the duration is the difference between the two, not the sum of the two. The subtitle end times in the FATE test for this were wrong as a result; fix them too. (This test is based on JACOsub's demo.txt, and the end time computed for the last line using @ now matches what the comments there say it should be.) Also tested in practice using MPV, a LaserDisc, and some authentic 1993 JACOsub files. Signed-off-by: Adam Sampson <ats@offog.org> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-19palettegen: Fill with last color, not blackTomas Härdin
If we fill with black then the generated palette will have one color more than what the user requested. This also resulted in unwanted black specks in the output of paletteuse, especially when generating small palettes.
2019-02-16tests: Add a convenience function for video-only lavf testsDiego Biurrun
Rename a test in the process for consistency and simplicity and remove the remnants of the now-unused lavf regression test scripts.
2019-02-16tests: Convert lavf container tests to non-legacy test scriptsDiego Biurrun
Rename some tests in the process for consistency and simplicity.
2019-02-16tests: Convert lavf pixfmt conversion tests to non-legacy test scriptsDiego Biurrun
Also split monolithic lavf-pixfmt test into individual tests.
2019-02-16tests: Convert lavf image tests to non-legacy test scriptsDiego Biurrun
Rename some tests in the process for consistency and simplicity.
2019-02-16tests: Convert audio-only lavf tests to non-legacy test scriptsDiego Biurrun
Rename some tests in the process for consistency and simplicity.
2019-02-16tests: Convert image2pipe tests to non-legacy test scriptsDiego Biurrun
2019-02-16tests: Enable CRC test for yuv4mpegDiego Biurrun
2019-02-14avutil/cuda_check: avoid pointlessly exporting same symbol from two librariesTimo Rothenpieler
2019-01-28avcodec: Add discard_sample_percentageMichael Niedermayer
Suggested-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-26avcodec/vp6: select idct based (loosely) on number of coefficients decodedPeter Ross
The VP3/4/5/6 reference decoders all use three IDCT versions: one for the DC-only case, another for blocks with more than 10 coefficients, and an optimised one for blocks with up to 10 AC coefficents. VP6 relies on the sparse 10 coefficient version, and without it, IDCT drift occurs. Fixes: https://trac.ffmpeg.org/ticket/1282 Signed-off-by: Peter Ross <pross@xvid.org>
2019-01-26avcodec/vp6: use ff_vp3dsp_[hv]_loop_filter_12Peter Ross
Partially fixes: https://trac.ffmpeg.org/ticket/1282 Signed-off-by: Peter Ross <pross@xvid.org>
2019-01-26avcodec/vp6: use rounded shift for chroma motion vector calculationPeter Ross
Partially fixes: https://trac.ffmpeg.org/ticket/1282 Signed-off-by: Peter Ross <pross@xvid.org>
2018-12-20lavc/options_table: Change some options location in opt table.Jun Zhao
Change the some options location in avcodec_options to make code more readable. And update the fate test with this change. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-12-14avformat/nut: add support for yuva444/422p12 pixel formatPaul B Mahol
2018-12-13avcodec/gif: use avctx->frame_numberPaul B Mahol
2018-12-13avcodec: rewrite gif muxing and encodingPaul B Mahol
Now "-c copy" works. Update FATE files. Demuxer only split file into packets, no data is trimmed. Encoder & muxer currently expect completely another format where muxer writes stuff like disposal method which should be really encoder job. With this patch muxer only modifies delay between two packets. Codec copy need to have same behavior between demuxer and muxer to work correctly. Fixes #6640.
2018-12-03avcodec/r210: use correct pixel formatPaul B Mahol
2018-12-02tests/ref/fate/vc1test_smm0005: Add a newline.Carl Eugen Hoyos
Fixes fate-pixelutils on aix.
2018-12-02avcodec/proresdec : add 12b decodingMartin Vignali
based on patch by Kieran Kunhya ticket 7163
2018-11-28additional math.h functions for djgppPeter Ross