aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/libswscale.mak
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-07-06 09:47:45 +0200
committerAnton Khirnov <anton@khirnov.net>2021-08-08 19:26:05 +0200
commit5fdb5ed6132687219d0ef2127115ebaf95514058 (patch)
tree5a8407d60b14f5156f3a9d90ea054952512f1478 /tests/fate/libswscale.mak
parent94170e041107a3831fdd39ebb53f4f50d06edea4 (diff)
downloadffmpeg-5fdb5ed6132687219d0ef2127115ebaf95514058.tar.gz
FATE: add a test for sliced scaling
Diffstat (limited to 'tests/fate/libswscale.mak')
-rw-r--r--tests/fate/libswscale.mak11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/fate/libswscale.mak b/tests/fate/libswscale.mak
index 5ec5f34cc4..599d27b0a5 100644
--- a/tests/fate/libswscale.mak
+++ b/tests/fate/libswscale.mak
@@ -6,6 +6,17 @@ FATE_LIBSWSCALE += fate-sws-floatimg-cmp
fate-sws-floatimg-cmp: libswscale/tests/floatimg_cmp$(EXESUF)
fate-sws-floatimg-cmp: CMD = run libswscale/tests/floatimg_cmp$(EXESUF)
+SWS_SLICE_TEST-$(call DEMDEC, MATROSKA, VP9) += fate-sws-slice-yuv422-12bit-rgb48
+fate-sws-slice-yuv422-12bit-rgb48: CMD = run tools/scale_slice_test$(EXESUF) $(TARGET_SAMPLES)/vp9-test-vectors/vp93-2-20-12bit-yuv422.webm 150 100 rgb48
+
+SWS_SLICE_TEST-$(call DEMDEC, IMAGE_BMP_PIPE, BMP) += fate-sws-slice-bgr0-nv12
+fate-sws-slice-bgr0-nv12: CMD = run tools/scale_slice_test$(EXESUF) $(TARGET_SAMPLES)/bmp/test32bf.bmp 32 64 nv12
+
+fate-sws-slice: $(SWS_SLICE_TEST-yes)
+$(SWS_SLICE_TEST-yes): tools/scale_slice_test$(EXESUF)
+$(SWS_SLICE_TEST-yes): REF = /dev/null
+FATE_LIBSWSCALE += $(SWS_SLICE_TEST-yes)
+
FATE_LIBSWSCALE += $(FATE_LIBSWSCALE-yes)
FATE-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE)
fate-libswscale: $(FATE_LIBSWSCALE)