aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/lavf-video.mak
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-03-14 14:47:57 -0300
committerJames Almer <jamrial@gmail.com>2019-03-14 14:59:45 -0300
commitac4b5d86222006fa71ffe5922e1a34f1422507d8 (patch)
treecd09cadf2ee0eb1d5810cc4337fdb4d15ccb3ec4 /tests/fate/lavf-video.mak
parenta200bf8094bfaa0a0e4cf2fa270a18167a833d75 (diff)
parentf8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b (diff)
downloadffmpeg-ac4b5d86222006fa71ffe5922e1a34f1422507d8.tar.gz
Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b'
* commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b': tests: Add a convenience function for video-only lavf tests Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/fate/lavf-video.mak')
-rw-r--r--tests/fate/lavf-video.mak29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/fate/lavf-video.mak b/tests/fate/lavf-video.mak
new file mode 100644
index 0000000000..7a70ac90ce
--- /dev/null
+++ b/tests/fate/lavf-video.mak
@@ -0,0 +1,29 @@
+FATE_LAVF_VIDEO-$(call ENCDEC, APNG, APNG) += apng
+FATE_LAVF_VIDEO-$(call ENCDEC, APNG, APNG) += apng.png
+FATE_LAVF_VIDEO-$(call ENCDEC, FITS, FITS) += gray.fits
+FATE_LAVF_VIDEO-$(call ENCDEC, FITS, FITS) += gray16be.fits
+FATE_LAVF_VIDEO-$(call ENCDEC, FITS, FITS) += gbrp.fits
+FATE_LAVF_VIDEO-$(call ENCDEC, FITS, FITS) += gbrap.fits
+FATE_LAVF_VIDEO-$(call ENCDEC, FITS, FITS) += gbrp16be.fits
+FATE_LAVF_VIDEO-$(call ENCDEC, FITS, FITS) += gbrap16be.fits
+FATE_LAVF_VIDEO-$(call ENCDEC, GIF, FITS) += gif
+FATE_LAVF_VIDEO-$(CONFIG_YUV4MPEGPIPE_MUXER) += y4m
+
+FATE_LAVF_VIDEO = $(FATE_LAVF_VIDEO-yes:%=fate-lavf-%)
+
+$(FATE_LAVF_VIDEO): CMD = lavf_video
+$(FATE_LAVF_VIDEO): REF = $(SRC_PATH)/tests/ref/lavf/$(@:fate-lavf-%=%)
+$(FATE_LAVF_VIDEO): $(VREF)
+
+fate-lavf-apng: CMD = lavf_video "-pix_fmt rgb24"
+fate-lavf-apng.png: CMD = lavf_video "-pix_fmt rgb24" "-frames:v 1 -f apng"
+fate-lavf-gray.fits: CMD = lavf_video "-pix_fmt gray"
+fate-lavf-gray16be.fits: CMD = lavf_video "-pix_fmt gray16be"
+fate-lavf-gbrp.fits: CMD = lavf_video "-pix_fmt gbrp"
+fate-lavf-gbrap.fits: CMD = lavf_video "-pix_fmt gbrap"
+fate-lavf-gbrp16be.fits: CMD = lavf_video "-pix_fmt gbrp16be"
+fate-lavf-gbrap16be.fits: CMD = lavf_video "-pix_fmt gbrap16be"
+fate-lavf-gif: CMD = lavf_video "-pix_fmt rgb24"
+
+FATE_AVCONV += $(FATE_LAVF_VIDEO)
+fate-lavf-video fate-lavf: $(FATE_LAVF_VIDEO)