summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Anthony Lemieux <pal@palemieux.com>2022-01-21 13:05:33 -0800
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-03 04:00:09 +0100
commita2df6652468a6c3a38ad8aa775960a0ba8c63b0a (patch)
treed4d20bad3f69ee39a48fe65a717155d2cf136100
parent2e82c610553efd69b4d9b6c359423a19c2868255 (diff)
avformat/imf: add IMF CPL with repeated resources to FATE
Signed-off-by: Pierre-Anthony Lemieux <pal@palemieux.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--tests/Makefile1
-rw-r--r--tests/fate/imf.mak6
-rw-r--r--tests/ref/fate/imf-cpl-with-repeat46
3 files changed, 53 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 87807ed31f..c4c31ae871 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -153,6 +153,7 @@ include $(SRC_PATH)/tests/fate/hlsenc.mak
include $(SRC_PATH)/tests/fate/hw.mak
include $(SRC_PATH)/tests/fate/id3v2.mak
include $(SRC_PATH)/tests/fate/image.mak
+include $(SRC_PATH)/tests/fate/imf.mak
include $(SRC_PATH)/tests/fate/indeo.mak
include $(SRC_PATH)/tests/fate/libavcodec.mak
include $(SRC_PATH)/tests/fate/libavdevice.mak
diff --git a/tests/fate/imf.mak b/tests/fate/imf.mak
new file mode 100644
index 0000000000..70a3efdfbd
--- /dev/null
+++ b/tests/fate/imf.mak
@@ -0,0 +1,6 @@
+FATE_IMF += fate-imf-cpl-with-repeat
+fate-imf-cpl-with-repeat: CMD = framecrc -f imf -i $(TARGET_SAMPLES)/imf/countdown/CPL_bb2ce11c-1bb6-4781-8e69-967183d02b9b.xml -c:v copy
+
+FATE_SAMPLES_FFMPEG-$(CONFIG_IMF_DEMUXER) += $(FATE_IMF)
+
+fate-imf: $(FATE_IMF)
diff --git a/tests/ref/fate/imf-cpl-with-repeat b/tests/ref/fate/imf-cpl-with-repeat
new file mode 100644
index 0000000000..fe3106d5c6
--- /dev/null
+++ b/tests/ref/fate/imf-cpl-with-repeat
@@ -0,0 +1,46 @@
+#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: jpeg2000
+#dimensions 0: 640x360
+#sar 0: 0/1
+0, 0, 0, 1, 1698, 0xd8730ea4
+0, 1, 1, 1, 1966, 0x6562867e
+0, 2, 2, 1, 2063, 0x18f4bb7d
+0, 3, 3, 1, 1618, 0x0770dca6
+0, 4, 4, 1, 2100, 0xd0a1c42b
+0, 5, 5, 1, 2068, 0xd411c582
+0, 6, 6, 1, 2520, 0x7b539dfc
+0, 7, 7, 1, 1964, 0x106d867a
+0, 8, 8, 1, 1964, 0x106d867a
+0, 9, 9, 1, 1964, 0x106d867a
+0, 10, 10, 1, 1964, 0x106d867a
+0, 11, 11, 1, 1964, 0x106d867a
+0, 12, 12, 1, 1964, 0x106d867a
+0, 13, 13, 1, 1964, 0x106d867a
+0, 14, 14, 1, 1964, 0x106d867a
+0, 15, 15, 1, 1964, 0x106d867a
+0, 16, 16, 1, 1964, 0x106d867a
+0, 17, 17, 1, 1964, 0x106d867a
+0, 18, 18, 1, 1964, 0x106d867a
+0, 19, 19, 1, 1964, 0x106d867a
+0, 20, 20, 1, 1964, 0x106d867a
+0, 21, 21, 1, 1964, 0x106d867a
+0, 22, 22, 1, 1964, 0x106d867a
+0, 23, 23, 1, 1964, 0x106d867a
+0, 24, 24, 1, 1964, 0x106d867a
+0, 25, 25, 1, 1964, 0x106d867a
+0, 26, 26, 1, 1964, 0x106d867a
+0, 27, 27, 1, 1964, 0x106d867a
+0, 28, 28, 1, 1964, 0x106d867a
+0, 29, 29, 1, 1964, 0x106d867a
+0, 30, 30, 1, 1964, 0x106d867a
+0, 30, 31, 1, 2068, 0xd411c582
+0, 30, 32, 1, 2520, 0x7b539dfc
+0, 30, 33, 1, 1846, 0x9d184658
+0, 30, 34, 1, 2475, 0x2967a123
+0, 30, 35, 1, 2540, 0xdc61ad87
+0, 30, 36, 1, 2214, 0xa7da105f
+0, 30, 37, 1, 2486, 0xa68d89b4
+0, 30, 38, 1, 2615, 0xbc35d5ad
+0, 30, 39, 1, 2150, 0x643aea98
+0, 30, 40, 1, 2628, 0x2880c4ad