diff options
author | James Almer <jamrial@gmail.com> | 2019-03-14 14:24:19 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-03-14 14:30:08 -0300 |
commit | c2631dfd0a0a12050cc1765fd41702c5e93abee5 (patch) | |
tree | 68755106bd63e8778238f3b7efb8f6d6cdb46f44 /tests/fate | |
parent | 29929fc8e2449d2db8bd144b2badc8d1e6347412 (diff) | |
parent | a957e9379d11f2982d615f92c30580a57ea8bb40 (diff) | |
download | ffmpeg-streaming-c2631dfd0a0a12050cc1765fd41702c5e93abee5.zip ffmpeg-streaming-c2631dfd0a0a12050cc1765fd41702c5e93abee5.tar.gz |
Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40'
* commit 'a957e9379d11f2982d615f92c30580a57ea8bb40':
tests: Convert lavf image tests to non-legacy test scripts
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/fate')
-rw-r--r-- | tests/fate/avformat.mak | 14 | ||||
-rw-r--r-- | tests/fate/lavf-image.mak | 64 |
2 files changed, 64 insertions, 14 deletions
diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak index 31d828d..461f9e0 100644 --- a/tests/fate/avformat.mak +++ b/tests/fate/avformat.mak @@ -1,15 +1,12 @@ FATE_LAVF-$(call ENCDEC, APNG, APNG) += apng FATE_LAVF-$(call ENCDEC2, MSMPEG4V3, MP2, ASF) += asf FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, AVI) += avi -FATE_LAVF-$(call ENCDEC, BMP, IMAGE2) += bmp -FATE_LAVF-$(call ENCDEC, DPX, IMAGE2) += dpx FATE_LAVF-$(call ENCDEC2, DVVIDEO, PCM_S16LE, AVI) += dv_fmt FATE_LAVF-$(call ENCDEC, FITS, FITS) += fits FATE_LAVF-$(call ENCDEC, RAWVIDEO, FILMSTRIP) += flm FATE_LAVF-$(call ENCDEC, FLV, FLV) += flv_fmt FATE_LAVF-$(call ENCDEC, GIF, IMAGE2) += gif FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, GXF) += gxf -FATE_LAVF-$(call ENCDEC, MJPEG, IMAGE2) += jpg FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, MATROSKA) += mkv FATE_LAVF-$(call ENCDEC2, MPEG4, PCM_ALAW, MOV) += mov ismv FATE_LAVF-$(call ENCDEC2, MPEG1VIDEO, MP2, MPEG1SYSTEM MPEGPS) += mpg @@ -20,22 +17,11 @@ FATE_LAVF-$(call ENCDEC2, DVVIDEO, PCM_S16LE, MXF) += mxf_dvcp FATE_LAVF-$(call ENCDEC2, DNXHD, PCM_S16LE, MXF_OPATOM MXF) += mxf_opatom FATE_LAVF-$(call ENCDEC2, DNXHD, PCM_S16LE, MXF_OPATOM MXF) += mxf_opatom_audio FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, NUT) += nut -FATE_LAVF-$(call ENCDEC, PAM, IMAGE2) += pam -FATE_LAVF-$(call ENCDEC, PCX, IMAGE2) += pcx -FATE_LAVF-$(call ENCDEC, PGM, IMAGE2) += pgm -FATE_LAVF-$(call ENCDEC, PNG, IMAGE2) += png -FATE_LAVF-$(call ENCDEC, PPM, IMAGE2) += ppm FATE_LAVF-$(call ENCMUX, RV10 AC3_FIXED, RM) += rm -FATE_LAVF-$(call ENCDEC, SGI, IMAGE2) += sgi FATE_LAVF-$(call ENCMUX, MJPEG PCM_S16LE, SMJPEG) += smjpeg -FATE_LAVF-$(call ENCDEC, SUNRAST, IMAGE2) += sunrast FATE_LAVF-$(call ENCDEC, FLV, SWF) += swf -FATE_LAVF-$(call ENCDEC, TARGA, IMAGE2) += tga -FATE_LAVF-$(call ENCDEC, TIFF, IMAGE2) += tiff FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, MP2, MPEGTS) += ts FATE_LAVF-$(call ENCDEC, MP2, WTV) += wtv -FATE_LAVF-$(call ENCDEC, XBM, IMAGE2) += xbm -FATE_LAVF-$(call ENCDEC, XWD, IMAGE2) += xwd FATE_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg FATE_LAVF += $(FATE_LAVF-yes:%=fate-lavf-%) diff --git a/tests/fate/lavf-image.mak b/tests/fate/lavf-image.mak new file mode 100644 index 0000000..f22d187 --- /dev/null +++ b/tests/fate/lavf-image.mak @@ -0,0 +1,64 @@ +FATE_LAVF_IMAGES-$(call ENCDEC, BMP, IMAGE2) += bmp +FATE_LAVF_IMAGES-$(call ENCDEC, DPX, IMAGE2) += dpx +FATE_LAVF_IMAGES-$(call ENCDEC, DPX, IMAGE2) += gbrp10le.dpx +FATE_LAVF_IMAGES-$(call ENCDEC, DPX, IMAGE2) += gbrp12le.dpx +FATE_LAVF_IMAGES-$(call ENCDEC, DPX, IMAGE2) += rgb48le.dpx +FATE_LAVF_IMAGES-$(call ENCDEC, DPX, IMAGE2) += rgb48le_10.dpx +FATE_LAVF_IMAGES-$(call ENCDEC, DPX, IMAGE2) += rgba64le.dpx +FATE_LAVF_IMAGES-$(call ENCDEC, MJPEG, IMAGE2) += jpg +FATE_LAVF_IMAGES-$(call ENCDEC, PAM, IMAGE2) += pam +FATE_LAVF_IMAGES-$(call ENCDEC, PAM, IMAGE2) += rgba.pam +FATE_LAVF_IMAGES-$(call ENCDEC, PAM, IMAGE2) += gray.pam +FATE_LAVF_IMAGES-$(call ENCDEC, PAM, IMAGE2) += gray16be.pam +FATE_LAVF_IMAGES-$(call ENCDEC, PAM, IMAGE2) += rgb48be.pam +FATE_LAVF_IMAGES-$(call ENCDEC, PAM, IMAGE2) += monob.pam +FATE_LAVF_IMAGES-$(call ENCDEC, PCX, IMAGE2) += pcx +FATE_LAVF_IMAGES-$(call ENCDEC, PGM, IMAGE2) += pgm +FATE_LAVF_IMAGES-$(call ENCDEC, PNG, IMAGE2) += png +FATE_LAVF_IMAGES-$(call ENCDEC, PNG, IMAGE2) += gray16be.png +FATE_LAVF_IMAGES-$(call ENCDEC, PNG, IMAGE2) += rgb48be.png +FATE_LAVF_IMAGES-$(call ENCDEC, PPM, IMAGE2) += ppm +FATE_LAVF_IMAGES-$(call ENCDEC, SGI, IMAGE2) += sgi +FATE_LAVF_IMAGES-$(call ENCDEC, SUNRAST, IMAGE2) += sun +FATE_LAVF_IMAGES-$(call ENCDEC, TARGA, IMAGE2) += tga +FATE_LAVF_IMAGES-$(call ENCDEC, TIFF, IMAGE2) += tiff +FATE_LAVF_IMAGES-$(call ENCDEC, XBM, IMAGE2) += xbm +FATE_LAVF_IMAGES-$(call ENCDEC, XWD, IMAGE2) += xwd +FATE_LAVF_IMAGES-$(call ENCDEC, XWD, IMAGE2) += rgba.xwd +FATE_LAVF_IMAGES-$(call ENCDEC, XWD, IMAGE2) += rgb565be.xwd +FATE_LAVF_IMAGES-$(call ENCDEC, XWD, IMAGE2) += rgb555be.xwd +FATE_LAVF_IMAGES-$(call ENCDEC, XWD, IMAGE2) += rgb8.xwd +FATE_LAVF_IMAGES-$(call ENCDEC, XWD, IMAGE2) += rgb4_byte.xwd +FATE_LAVF_IMAGES-$(call ENCDEC, XWD, IMAGE2) += gray.xwd +FATE_LAVF_IMAGES-$(call ENCDEC, XWD, IMAGE2) += monow.xwd + +FATE_LAVF_IMAGES = $(FATE_LAVF_IMAGES-yes:%=fate-lavf-%) + +$(FATE_LAVF_IMAGES): CMD = lavf_image +$(FATE_LAVF_IMAGES): REF = $(SRC_PATH)/tests/ref/lavf/$(@:fate-lavf-%=%) +$(FATE_LAVF_IMAGES): $(VREF) + +fate-lavf-jpg: CMD = lavf_image "" "-pix_fmt yuvj420p" +fate-lavf-tiff: CMD = lavf_image "" "-pix_fmt rgb24" +fate-lavf-gbrp10le.dpx: CMD = lavf_image "" "-pix_fmt gbrp10le" +fate-lavf-gbrp12le.dpx: CMD = lavf_image "" "-pix_fmt gbrp12le" +fate-lavf-rgb48le.dpx: CMD = lavf_image "" "-pix_fmt rgb48le" +fate-lavf-rgb48le_10.dpx: CMD = lavf_image "-pix_fmt rgb48le -bits_per_raw_sample 10" "-pix_fmt rgb48le" +fate-lavf-rgba64le.dpx: CMD = lavf_image "" "-pix_fmt rgba64le" +fate-lavf-rgba.pam: CMD = lavf_image "" "-pix_fmt rgba" +fate-lavf-gray.pam: CMD = lavf_image "" "-pix_fmt gray" +fate-lavf-gray16be.pam: CMD = lavf_image "" "-pix_fmt gray16be" +fate-lavf-rgb48be.pam: CMD = lavf_image "" "-pix_fmt rgb48be" +fate-lavf-monob.pam: CMD = lavf_image "" "-pix_fmt monob" +fate-lavf-gray16be.png: CMD = lavf_image "" "-pix_fmt gray16be" +fate-lavf-rgb48be.png: CMD = lavf_image "" "-pix_fmt rgb48be" +fate-lavf-rgba.xwd: CMD = lavf_image "" "-pix_fmt rgba" +fate-lavf-rgb565be.xwd: CMD = lavf_image "" "-pix_fmt rgb565be" +fate-lavf-rgb555be.xwd: CMD = lavf_image "" "-pix_fmt rgb555be" +fate-lavf-rgb8.xwd: CMD = lavf_image "" "-pix_fmt rgb8" +fate-lavf-rgb4_byte.xwd: CMD = lavf_image "" "-pix_fmt rgb4_byte" +fate-lavf-gray.xwd: CMD = lavf_image "" "-pix_fmt gray" +fate-lavf-monow.xwd: CMD = lavf_image "" "-pix_fmt monow" + +FATE_AVCONV += $(FATE_LAVF_IMAGES) +fate-lavf-images fate-lavf: $(FATE_LAVF_IMAGES) |