aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/pixfmt.mak
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/pixfmt.mak
parentc2631dfd0a0a12050cc1765fd41702c5e93abee5 (diff)
parent896fe15dbb7b78de495c4a7dd75e7faec66778da (diff)
downloadffmpeg-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/pixfmt.mak')
-rw-r--r--tests/fate/pixfmt.mak28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/fate/pixfmt.mak b/tests/fate/pixfmt.mak
new file mode 100644
index 0000000000..46fd888ac9
--- /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)