summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* tests/fate/matroska: add tests for side data preferenceavoption_listAnton Khirnov2024-03-04
| | | | Cf. #10857
* lavu/opt: add array optionsAnton Khirnov2024-03-04
|
* tests/checkasm: Improve included headersAndreas Rheinhardt2024-03-02
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* checkasm/vvc_mc: Don't use declare_func_emmsAndreas Rheinhardt2024-03-02
| | | | | | | | There is no MMX DSP code for VVC, so one can use the stricter declare_func which also tests that we are not in MMX mode at the end of this function. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/aacenc: Move initializing DSP out of aacenc.cAndreas Rheinhardt2024-03-02
| | | | | | | | | | | | Otherwise aacenc.o gets pulled in by the aacencdsp checkasm test and it in turn pulls the rest of lavc in. Besides being bad size-wise this also has the downside that it pulls in avpriv_(cga|vga16)_font from libavutil which are marked as being imported from another library when building libavcodec as a DLL and this breaks checkasm because it links both lavc and lavu statically. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fftools/ffmpeg: remove options deprecated before 6.0Anton Khirnov2024-03-01
|
* fate/mov: add tests for HEIF samples with derived imagesJames Almer2024-02-26
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: test remuxing all stream heif itemsJames Almer2024-02-26
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/hevc_deblock: add luma and chroma fullJ. Dekker2024-02-26
| | | | Signed-off-by: J. Dekker <jdek@itanimul.li>
* fate/mxf: fix mxf-probe-j2k on big endian systemsMarton Balint2024-02-25
| | | | | | | | | Jpeg2000 decoder is decoding in native endian, so let's use the same workaround as in fate-mxf-probe-applehdr10. Fixes ticket #10868. Signed-off-by: Marton Balint <cus@passwd.hu>
* checkasm: Add a "run-checkasm" make targetMartin Storsjö2024-02-21
| | | | | | | | | | | | | | | | Contrary to the existing "fate-checkasm", this always prints the tool output, and runs all tests at once instead of splitting it up per target group. This is more useful when the user expects to look directly at the tool output, instead of being part of a full fate run. (On failure with the regular "make fate-checkasm" targets, none of the tool output is printed, but stored in files. If run with reporting set up to the FATE website, the individual failures are uploaded there, but if it is run in some sort of other CI setup, the intermediate files might not be available afterwards for inspection.) Signed-off-by: Martin Storsjö <martin@martin.st>
* fate/mov: rename a test group to better reflect what it requiresJames Almer2024-02-21
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: add missing samples dependency to avif/heic testsJames Almer2024-02-21
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: add missing ffprobe dependency to mov-write-amveJames Almer2024-02-21
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/image: Enable fate-webp-rgb-lossless-palette-predictor testAndreas Rheinhardt2024-02-21
| | | | | | | Postponed in 9f4708c22def8a0f13c3b2bc39baca928bb58aaa because the sample had not been uploaded at that time. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate: add IAMF in mp4 testsJames Almer2024-02-20
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate: use an even more exotic channel layout mov-mp4-pcm-float testMarton Balint2024-02-19
| | | | | | | The old layout happened to be a native layout and therefore missed some recently fixed layout parsing bugs. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mpegts: add a ts_id exported optionJames Almer2024-02-19
| | | | | | It will replace AVFormatContext.ts_id in the coming bump. Signed-off-by: James Almer <jamrial@gmail.com>
* tests/fate-run: Do not ignore errors from intermediate commandsAndreas Rheinhardt2024-02-18
| | | | | | Otherwise the test may pass while ignoring errors from sanitizers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/channel_layout: print known layout names in custom layoutJames Almer2024-02-18
| | | | | | | If a custom layout is equivalent to a native one, check if it matches one of the known layout names and print that instead. Signed-off-by: James Almer <jamrial@gmail.com>
* {avcodec,tests}: rename the bundled Mesa AV1 vulkan video headersJan Ekström2024-02-18
| | | | | | | | | | | | | | | | | | This together with adjusting the inclusion define allows for the build to not fail with latest Vulkan-Headers that contain the stabilized Vulkan AV1 decoding definitions. Compilation fails currently as the AV1 header is getting included via hwcontext_vulkan.h -> <vulkan/vulkan.h> -> vulkan_core.h, which finally includes vk_video/vulkan_video_codec_av1std.h and the decode header, leading to the bundled header to never defining anything due to the inclusion define being the same. This fix is imperfect, as it leads to additional re-definition warnings for things such as VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_SPEC_VERSION. , but it is not clear how to otherwise have the bundled version trump the actually standardized one for a short-term compilation fix.
* avutil/tests/channel_layout: add tests for av_channel_order_retypeMarton Balint2024-02-18
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* checkasm/rv34dsp: add rv34_idct_dc_add testsunyuechi2024-02-17
| | | | Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
* checkasm/rv34dsp: add rv34_inv_transform_dc testsunyuechi2024-02-17
| | | | Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
* avfilter/buffersrc: promote unspecified color metadataNiklas Haas2024-02-13
| | | | | | | | | | | | Currently, this only affects untagged RGB/XYZ/Gray, which get forced to their corresponding metadata before entering the filter graph. The main justification for this change, however, is the planned ability to add automatic promotion of unspecified yuv to mpeg range yuv. Notably, this change will never allow accidentally cross-promoting unspecified to jpeg or to a specific YUV matrix, since that is still bound by the constraints of YUV range negotiation as set up by query_formats.
* fate/subtitles: Ignore line endings for sub-scc testAndreas Rheinhardt2024-02-13
| | | | | | | | | Since 7bf1b9b35769b37684dd2f18a54f01d852a540c8, the test produces ordinary \n, yet this is not what the reference file used for the most time, leading to test failures. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavf/assenc: normalize line endings to \nrcombs2024-02-11
| | | | | | | | | | | | Previously, we produced output with either \r\n or mixed line endings. This was undesirable unto itself, but also made working with patches affecting FATE output particularly challenging, especially via the mailing list. Everything that consumes the SSA/ASS format is line-ending-agnostic, so \n is selected to simplify git/ML usage in FATE. Extra \r characters at the end of a packet are dropped. These are always ignored by the renderer anyway.
* tests/fate-run: Sanitize test argumentAndreas Rheinhardt2024-02-10
| | | | | | test -z is a binary operator. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavc/dxv: align to 4x4 blocks instead of 16x16Connor Worley2024-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | The previous assumption that DXV needs to be aligned to 16x16 was erroneous. 4x4 works just as well, and FATE decoder tests pass for all texture formats. On the encoder side, we should reject input that isn't 4x4 aligned, like the HAP encoder does, and stop aligning to 16x16. This both solves the uninitialized reads causing current FATE tests to fail and produces smaller encoded outputs. With regard to correctness, I've checked the decoding path by encoding a real-world sample with git master, and decoding it with ffmpeg -i dxt1-master.mov -c:v rawvideo -f framecrc - The results are exactly the same between master and this patch. On the encoding side, I've encoded a real-world sample with both master and this patch, and decoded both versions with ffmpeg -i dxt1-{master,patch}.mov -c:v rawvideo -f framecrc - Under this patch, results for both inputs are exactly the same. In other words, the extra padding gained by 16x16 alignment over 4x4 alignment has no impact on decoded video. Signed-off-by: Connor Worley <connorbworley@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* fate/video: add DXV3 HQ testsConnor Worley2024-02-08
| | | | Signed-off-by: Connor Worley <connorbworley@gmail.com>
* fate/video: add DXV3 DXT1 encoding testConnor Worley2024-02-08
| | | | Signed-off-by: Connor Worley <connorbworley@gmail.com>
* lavc/texturedsp: fix premult2straight inversionConnor Worley2024-02-08
| | | | | | This function should convert premultiplied alpha to straight, but does the opposite. Signed-off-by: Connor Worley <connorbworley@gmail.com>
* avfilter: pass link YUV colorspace to ff_draw_init2Niklas Haas2024-02-06
| | | | | | | | | | | | | This makes all ff_draw_* based filters aware of YUV colorspaces and ranges. Needed for YUVJ removal. Also fixes a bug where e.g. vf_pad would generate a limited range background even after conversion to full-scale grayscale. The FATE changes were a consequence of the aforementioned bugfix - the gray scale files are output as full range (due to conversion by libswscale, which hard-codes gray = full), and appropriately tagged as such, but before this change the padded version incorrectly used a limited range (16) black background for these formats.
* tests/fate/ffmpeg: add a test for the issue fixed in previous commitAnton Khirnov2024-02-05
|
* tests/fate/mov: add a test for reading and writing amve boxCosmin Stejerean2024-02-04
|
* fate/checkasm: enable testing vvc_mcJames Almer2024-02-01
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tests/checkasm/vvc_mc: add check_avgWu Jianhua2024-02-01
| | | | Signed-off-by: Wu Jianhua <toqsxw@outlook.com>
* tests/checkasm: add checkasm_check_vvc_mcWu Jianhua2024-02-01
| | | | Signed-off-by: Wu Jianhua <toqsxw@outlook.com>
* fftools/ffmpeg: optimize inter-thread queue sizesAnton Khirnov2024-01-28
| | | | | | | Use 8 packets/frames by default rather than 1, which seems to provide better throughput. Allow -thread_queue_size to set the muxer queue size manually again.
* tests/fate/ffmpeg: add a test for the issue fixed in previous commitAnton Khirnov2024-01-27
|
* fate/matroska: add missing speex decoder dependency to fate-matroska-ms-modeJames Almer2024-01-24
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tests/checkasm/aacencdsp: Use float_near_ulp_array() for abs_pow34() testMichael Niedermayer2024-01-24
| | | | | | Fixes: ticket/10818 Approved-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: remove unused filtergraph filesJames Almer2024-01-23
| | | | | | They were added by mistake. Signed-off-by: James Almer <jamrial@gmail.com>
* fate/iamf: add an ambisonic testJames Almer2024-01-23
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add VVC decoder testsJames Almer2024-01-23
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/speexdec: fix setting frame_size from extradataJames Almer2024-01-22
| | | | | | | | | Finishes fixing vp5/potter512-400-partial.avi The fate-matroska-ms-mode test ref is updated to reflect that the Speex decoder can now read the stream. Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add raw IAMF testsJames Almer2024-01-22
| | | | | | | Covers muxing from raw pcm audio input into FLAC, using several scalable layouts, and demuxing the result. Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffmpeg: deprecate -filter_scriptAnton Khirnov2024-01-20
| | | | It is equivalent to -/filter.
* fftools/ffmpeg: deprecate -filter_complex_scriptAnton Khirnov2024-01-20
| | | | It is equivalent to -/filter_complex.
* fftools/ffmpeg_demux: implement -bsf for inputAnton Khirnov2024-01-19
| | | | | Previously bitstream filters could only be applied right before muxing, this allows to apply them right after demuxing.