summaryrefslogtreecommitdiffstats
path: root/tests/fate
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-03-14 14:31:48 -0300
committerJames Almer <jamrial@gmail.com>2019-03-14 14:31:48 -0300
commitace96d2e693d804a0ed16aebc1b1027cfff2c527 (patch)
treed4a06cb8ec6bfe2e6bd899b9ea9d26eac24b2bad /tests/fate
parentc2631dfd0a0a12050cc1765fd41702c5e93abee5 (diff)
parent896fe15dbb7b78de495c4a7dd75e7faec66778da (diff)
downloadffmpeg-streaming-ace96d2e693d804a0ed16aebc1b1027cfff2c527.zip
ffmpeg-streaming-ace96d2e693d804a0ed16aebc1b1027cfff2c527.tar.gz
Merge commit '896fe15dbb7b78de495c4a7dd75e7faec66778da'
* commit '896fe15dbb7b78de495c4a7dd75e7faec66778da': tests: Convert lavf pixfmt conversion tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/fate')
-rw-r--r--tests/fate/avformat.mak2
-rw-r--r--tests/fate/pixfmt.mak28
2 files changed, 28 insertions, 2 deletions
diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak
index 461f9e0..452edc7 100644
--- a/tests/fate/avformat.mak
+++ b/tests/fate/avformat.mak
@@ -25,8 +25,6 @@ FATE_LAVF-$(call ENCDEC, MP2, WTV) += wtv
FATE_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg
FATE_LAVF += $(FATE_LAVF-yes:%=fate-lavf-%)
-FATE_LAVF_PIXFMT-$(CONFIG_SCALE_FILTER) += fate-lavf-pixfmt
-FATE_LAVF += $(FATE_LAVF_PIXFMT-yes)
$(FATE_LAVF): $(AREF) $(VREF)
$(FATE_LAVF): CMD = lavftest
diff --git a/tests/fate/pixfmt.mak b/tests/fate/pixfmt.mak
new file mode 100644
index 0000000..46fd888
--- /dev/null
+++ b/tests/fate/pixfmt.mak
@@ -0,0 +1,28 @@
+FATE_PIXFMT-$(CONFIG_SCALE_FILTER) = bgr24 \
+ gray \
+ monob \
+ monow \
+ rgb24 \
+ rgb32 \
+ rgb555 \
+ rgb565 \
+ yuv410p \
+ yuv411p \
+ yuv420p \
+ yuv422p \
+ yuv440p \
+ yuv444p \
+ yuvj420p \
+ yuvj422p \
+ yuvj440p \
+ yuvj444p \
+ yuyv422 \
+
+FATE_PIXFMT := $(FATE_PIXFMT-yes:%=fate-pixfmt-%)
+
+$(FATE_PIXFMT): CMD = pixfmt_conversion
+$(FATE_PIXFMT): REF = $(SRC_PATH)/tests/ref/pixfmt/$(@:fate-pixfmt-%=%)
+$(FATE_PIXFMT): $(VREF)
+
+FATE_AVCONV += $(FATE_PIXFMT)
+fate-pixfmt: $(FATE_PIXFMT)
OpenPOWER on IntegriCloud