[FFmpeg-cvslog] fate/cbs: add initial AV1 tests
James Almer
git at videolan.org
Tue Nov 19 20:09:37 EET 2019
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Nov 17 23:07:27 2019 -0300| [f18a5efb5222ed8a48b4ba58ba59e2c7190f297a] | committer: James Almer
fate/cbs: add initial AV1 tests
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f18a5efb5222ed8a48b4ba58ba59e2c7190f297a
---
tests/fate/cbs.mak | 26 +++++++++++++++++++++-
tests/ref/fate/cbs-av1-av1-1-b10-23-film_grain-50 | 1 +
tests/ref/fate/cbs-av1-av1-1-b8-02-allintra | 1 +
tests/ref/fate/cbs-av1-av1-1-b8-03-sizedown | 1 +
tests/ref/fate/cbs-av1-av1-1-b8-03-sizeup | 1 +
tests/ref/fate/cbs-av1-av1-1-b8-04-cdfupdate | 1 +
tests/ref/fate/cbs-av1-av1-1-b8-05-mv | 1 +
tests/ref/fate/cbs-av1-av1-1-b8-06-mfmv | 1 +
tests/ref/fate/cbs-av1-av1-1-b8-23-film_grain-50 | 1 +
tests/ref/fate/cbs-av1-frames_refs_short_signaling | 1 +
tests/ref/fate/cbs-av1-non_uniform_tiling | 1 +
tests/ref/fate/cbs-av1-seq_hdr_op_param_info | 1 +
12 files changed, 36 insertions(+), 1 deletion(-)
diff --git a/tests/fate/cbs.mak b/tests/fate/cbs.mak
index f2ef04ceda..1f4d8aeebf 100644
--- a/tests/fate/cbs.mak
+++ b/tests/fate/cbs.mak
@@ -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
index 0000000000..832c682108
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-av1-1-b10-23-film_grain-50
@@ -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
index 0000000000..9a127ff90c
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-av1-1-b8-02-allintra
@@ -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
index 0000000000..6d771a2331
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-av1-1-b8-03-sizedown
@@ -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
index 0000000000..689934c2fb
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-av1-1-b8-03-sizeup
@@ -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
index 0000000000..f0a2481f8a
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-av1-1-b8-04-cdfupdate
@@ -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
index 0000000000..b3350a283b
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-av1-1-b8-05-mv
@@ -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
index 0000000000..929a2a4498
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-av1-1-b8-06-mfmv
@@ -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
index 0000000000..2a8fcfdfdf
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-av1-1-b8-23-film_grain-50
@@ -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
index 0000000000..eee02e5122
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-frames_refs_short_signaling
@@ -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
index 0000000000..0d0ebc2cbd
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-non_uniform_tiling
@@ -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
index 0000000000..75da9c5f9a
--- /dev/null
+++ b/tests/ref/fate/cbs-av1-seq_hdr_op_param_info
@@ -0,0 +1 @@
+d3aa6616d22c983ae0ad04100cd00698
More information about the ffmpeg-cvslog
mailing list