tests: Convert lavf image tests to non-legacy test scripts
[libav.git] / tests / fate / lavf-image.mak
1 FATE_LAVF_IMAGES-$(call ENCDEC, BMP, IMAGE2) += bmp
2 FATE_LAVF_IMAGES-$(call ENCDEC, DPX, IMAGE2) += dpx
3 FATE_LAVF_IMAGES-$(call ENCDEC, MJPEG, IMAGE2) += jpg
4 FATE_LAVF_IMAGES-$(call ENCDEC, PAM, IMAGE2) += pam
5 FATE_LAVF_IMAGES-$(call ENCDEC, PCX, IMAGE2) += pcx
6 FATE_LAVF_IMAGES-$(call ENCDEC, PGM, IMAGE2) += pgm
7 FATE_LAVF_IMAGES-$(call ENCDEC, PNG, IMAGE2) += png
8 FATE_LAVF_IMAGES-$(call ENCDEC, PPM, IMAGE2) += ppm
9 FATE_LAVF_IMAGES-$(call ENCDEC, SGI, IMAGE2) += sgi
10 FATE_LAVF_IMAGES-$(call ENCDEC, SUNRAST, IMAGE2) += sun
11 FATE_LAVF_IMAGES-$(call ENCDEC, TARGA, IMAGE2) += tga
12 FATE_LAVF_IMAGES-$(call ENCDEC, TIFF, IMAGE2) += tiff
13 FATE_LAVF_IMAGES-$(call ENCDEC, XWD, IMAGE2) += xwd
14
15 FATE_LAVF_IMAGES = $(FATE_LAVF_IMAGES-yes:%=fate-lavf-%)
16
17 $(FATE_LAVF_IMAGES): CMD = lavf_image
18 $(FATE_LAVF_IMAGES): REF = $(SRC_PATH)/tests/ref/lavf/$(@:fate-lavf-%=%)
19 $(FATE_LAVF_IMAGES): $(VREF)
20
21 fate-lavf-jpg: CMD = lavf_image "-pix_fmt yuvj420p" "-f image2"
22 fate-lavf-tiff: CMD = lavf_image "-pix_fmt rgb24"
23
24 FATE_AVCONV += $(FATE_LAVF_IMAGES)
25 fate-lavf-images fate-lavf: $(FATE_LAVF_IMAGES)