1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-18 03:19:31 +02:00
FFmpeg/tests/fate/jxl.mak
Leo Izen b60d39fbe2
fate/jpegxl: add parser test for extboxes and small files
Add a fate test for the above commits fixing extremely small files or
files with extended box sizes.

Signed-off-by: Leo Izen <leo.izen@gmail.com>
2023-12-05 05:54:58 -05:00

25 lines
1.2 KiB
Makefile

# These two are animated JXL files
FATE_JPEGXL_ANIM_DEMUX += fate-jxl-anim-demux-newton
fate-jxl-anim-demux-newton: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/newton.jxl -c copy
FATE_JPEGXL_ANIM_DEMUX += fate-jxl-anim-demux-icos4d
fate-jxl-anim-demux-icos4d: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/icos4d.jxl -c copy
# These two are not animated JXL. They are here to check false positives.
FATE_JPEGXL_ANIM_DEMUX += fate-jxl-anim-demux-belgium
fate-jxl-anim-demux-belgium: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/belgium.jxl -c copy
FATE_JPEGXL_ANIM_DEMUX += fate-jxl-anim-demux-lenna256
fate-jxl-anim-demux-lenna256: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/lenna-256.jxl -c copy
FATE_JPEGXL_ANIM_DEMUX += $(FATE_JPEGXL_ANIM_DEMUX-yes)
FATE_SAMPLES_FFMPEG-$(call FRAMECRC, JPEGXL_ANIM) += $(FATE_JPEGXL_ANIM_DEMUX)
fate-jxl-anim-demux: $(FATE_JPEGXL_ANIM_DEMUX)
# parser tests
FATE_JPEGXL_PARSE += fate-jxl-small-ext-box
fate-jxl-small-ext-box: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/l.jxl -c copy
FATE_JPEGXL_PARSE += $(FATE_JPEGXL_PARSE-yes)
FATE_SAMPLES_FFMPEG-$(call FRAMECRC, IMAGE_JPEGXL_PIPE, , JPEGXL_PARSER) += $(FATE_JPEGXL_PARSE)
fate-jxl-parse: $(FATE_JPEGXL_PARSE)