fate/cbs: add initial AV1 tests
authorJames Almer <jamrial@gmail.com>
Mon, 18 Nov 2019 02:07:27 +0000 (23:07 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 19 Nov 2019 17:49:03 +0000 (14:49 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
12 files changed:
tests/fate/cbs.mak
tests/ref/fate/cbs-av1-av1-1-b10-23-film_grain-50 [new file with mode: 0644]
tests/ref/fate/cbs-av1-av1-1-b8-02-allintra [new file with mode: 0644]
tests/ref/fate/cbs-av1-av1-1-b8-03-sizedown [new file with mode: 0644]
tests/ref/fate/cbs-av1-av1-1-b8-03-sizeup [new file with mode: 0644]
tests/ref/fate/cbs-av1-av1-1-b8-04-cdfupdate [new file with mode: 0644]
tests/ref/fate/cbs-av1-av1-1-b8-05-mv [new file with mode: 0644]
tests/ref/fate/cbs-av1-av1-1-b8-06-mfmv [new file with mode: 0644]
tests/ref/fate/cbs-av1-av1-1-b8-23-film_grain-50 [new file with mode: 0644]
tests/ref/fate/cbs-av1-frames_refs_short_signaling [new file with mode: 0644]
tests/ref/fate/cbs-av1-non_uniform_tiling [new file with mode: 0644]
tests/ref/fate/cbs-av1-seq_hdr_op_param_info [new file with mode: 0644]

index f2ef04c..1f4d8ae 100644 (file)
@@ -2,7 +2,7 @@
 # arguments, it decomposes the stream fully and then recomposes it
 # without making any changes.
 
-fate-cbs: fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2 fate-cbs-vp9
+fate-cbs: fate-cbs-av1 fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2 fate-cbs-vp9
 
 FATE_CBS_DEPS = $(call ALLYES, $(1)_DEMUXER $(2)_PARSER $(3)_METADATA_BSF $(4)_DECODER $(5)_MUXER)
 
@@ -12,6 +12,30 @@ FATE_CBS_$(1) += fate-cbs-$(1)-$(2)
 fate-cbs-$(1)-$(2): CMD = md5 -i $(TARGET_SAMPLES)/$(3) -c:v copy -y -bsf:v $(1)_metadata -f $(4)
 endef
 
+# AV1 read/write
+
+FATE_CBS_AV1_CONFORMANCE_SAMPLES = \
+    av1-1-b8-02-allintra.ivf       \
+    av1-1-b8-03-sizedown.ivf       \
+    av1-1-b8-03-sizeup.ivf         \
+    av1-1-b8-04-cdfupdate.ivf      \
+    av1-1-b8-05-mv.ivf             \
+    av1-1-b8-06-mfmv.ivf           \
+    av1-1-b8-23-film_grain-50.ivf  \
+    av1-1-b10-23-film_grain-50.ivf
+
+FATE_CBS_AV1_SAMPLES =              \
+    frames_refs_short_signaling.ivf \
+    non_uniform_tiling.ivf          \
+    seq_hdr_op_param_info.ivf
+
+$(foreach N,$(FATE_CBS_AV1_CONFORMANCE_SAMPLES),$(eval $(call FATE_CBS_TEST,av1,$(basename $(N)),av1-test-vectors/$(N),ivf)))
+$(foreach N,$(FATE_CBS_AV1_SAMPLES),$(eval $(call FATE_CBS_TEST,av1,$(basename $(N)),av1/$(N),ivf)))
+
+FATE_CBS_AV1-$(call ALLYES, IVF_DEMUXER AV1_PARSER AV1_METADATA_BSF IVF_MUXER) = $(FATE_CBS_av1)
+FATE_SAMPLES_AVCONV += $(FATE_CBS_AV1-yes)
+fate-cbs-av1: $(FATE_CBS_AV1-yes)
+
 # H.264 read/write
 
 FATE_CBS_H264_CONFORMANCE_SAMPLES = \
diff --git a/tests/ref/fate/cbs-av1-av1-1-b10-23-film_grain-50 b/tests/ref/fate/cbs-av1-av1-1-b10-23-film_grain-50
new file mode 100644 (file)
index 0000000..832c682
--- /dev/null
@@ -0,0 +1 @@
+5fe6622ac6cb22dd10dfbe9e70e82d4e
diff --git a/tests/ref/fate/cbs-av1-av1-1-b8-02-allintra b/tests/ref/fate/cbs-av1-av1-1-b8-02-allintra
new file mode 100644 (file)
index 0000000..9a127ff
--- /dev/null
@@ -0,0 +1 @@
+b905c6f2bf68fddbf58a50f940c5f5a2
diff --git a/tests/ref/fate/cbs-av1-av1-1-b8-03-sizedown b/tests/ref/fate/cbs-av1-av1-1-b8-03-sizedown
new file mode 100644 (file)
index 0000000..6d771a2
--- /dev/null
@@ -0,0 +1 @@
+4db2f13b7028a2bb6a5a067badf1b0ad
diff --git a/tests/ref/fate/cbs-av1-av1-1-b8-03-sizeup b/tests/ref/fate/cbs-av1-av1-1-b8-03-sizeup
new file mode 100644 (file)
index 0000000..689934c
--- /dev/null
@@ -0,0 +1 @@
+964ea060d898a4358708b3f83ecda4b5
diff --git a/tests/ref/fate/cbs-av1-av1-1-b8-04-cdfupdate b/tests/ref/fate/cbs-av1-av1-1-b8-04-cdfupdate
new file mode 100644 (file)
index 0000000..f0a2481
--- /dev/null
@@ -0,0 +1 @@
+e24ce6a099ce9389f06606b0a7653007
diff --git a/tests/ref/fate/cbs-av1-av1-1-b8-05-mv b/tests/ref/fate/cbs-av1-av1-1-b8-05-mv
new file mode 100644 (file)
index 0000000..b3350a2
--- /dev/null
@@ -0,0 +1 @@
+b39c0edaf5695367ec07eeffce57303d
diff --git a/tests/ref/fate/cbs-av1-av1-1-b8-06-mfmv b/tests/ref/fate/cbs-av1-av1-1-b8-06-mfmv
new file mode 100644 (file)
index 0000000..929a2a4
--- /dev/null
@@ -0,0 +1 @@
+95c1fcf60b4fc4530d38f0896c783e28
diff --git a/tests/ref/fate/cbs-av1-av1-1-b8-23-film_grain-50 b/tests/ref/fate/cbs-av1-av1-1-b8-23-film_grain-50
new file mode 100644 (file)
index 0000000..2a8fcfd
--- /dev/null
@@ -0,0 +1 @@
+93e578da4b2bdb70ce0a92262da930ec
diff --git a/tests/ref/fate/cbs-av1-frames_refs_short_signaling b/tests/ref/fate/cbs-av1-frames_refs_short_signaling
new file mode 100644 (file)
index 0000000..eee02e5
--- /dev/null
@@ -0,0 +1 @@
+ebe808041a023ba46249cc676a89bb51
diff --git a/tests/ref/fate/cbs-av1-non_uniform_tiling b/tests/ref/fate/cbs-av1-non_uniform_tiling
new file mode 100644 (file)
index 0000000..0d0ebc2
--- /dev/null
@@ -0,0 +1 @@
+e82617e3d4e694a5598447606c0fcda7
diff --git a/tests/ref/fate/cbs-av1-seq_hdr_op_param_info b/tests/ref/fate/cbs-av1-seq_hdr_op_param_info
new file mode 100644 (file)
index 0000000..75da9c5
--- /dev/null
@@ -0,0 +1 @@
+d3aa6616d22c983ae0ad04100cd00698