[FFmpeg-cvslog] fate: add EXR encoder tests
Paul B Mahol
git at videolan.org
Sun Jul 3 11:28:13 EEST 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Jul 2 15:05:33 2022 +0200| [ae90897bc9da310a9e98411fffa6f6b70527024d] | committer: Paul B Mahol
fate: add EXR encoder tests
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ae90897bc9da310a9e98411fffa6f6b70527024d
---
tests/fate/lavf-image.mak | 24 ++++++++++++++++++++++++
tests/ref/lavf/none.gbrapf32le.exr | 3 +++
tests/ref/lavf/none.gbrpf32le.exr | 3 +++
tests/ref/lavf/none.grayf32le.exr | 3 +++
tests/ref/lavf/rle.gbrapf32le.exr | 3 +++
tests/ref/lavf/rle.gbrpf32le.exr | 3 +++
tests/ref/lavf/rle.grayf32le.exr | 3 +++
tests/ref/lavf/zip1.gbrapf32le.exr | 3 +++
tests/ref/lavf/zip1.gbrpf32le.exr | 3 +++
tests/ref/lavf/zip1.grayf32le.exr | 3 +++
tests/ref/lavf/zip16.gbrapf32le.exr | 3 +++
tests/ref/lavf/zip16.gbrpf32le.exr | 3 +++
tests/ref/lavf/zip16.grayf32le.exr | 3 +++
13 files changed, 60 insertions(+)
diff --git a/tests/fate/lavf-image.mak b/tests/fate/lavf-image.mak
index d3b3399578..f815da7545 100644
--- a/tests/fate/lavf-image.mak
+++ b/tests/fate/lavf-image.mak
@@ -9,6 +9,18 @@ FATE_LAVF_IMAGES-$(call LAVF_IMAGES, DPX) += gbrp12le.dpx
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, DPX) += rgb48le.dpx
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, DPX) += rgb48le_10.dpx
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, DPX) += rgba64le.dpx
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += none.grayf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += none.gbrpf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += none.gbrapf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += rle.grayf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += rle.gbrpf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += rle.gbrapf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += zip1.grayf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += zip1.gbrpf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += zip1.gbrapf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += zip16.grayf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += zip16.gbrpf32le.exr
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, EXR) += zip16.gbrapf32le.exr
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, MJPEG) += jpg
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PAM) += pam
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PAM) += rgba.pam
@@ -43,6 +55,18 @@ $(FATE_LAVF_IMAGES): CMD = lavf_image
$(FATE_LAVF_IMAGES): REF = $(SRC_PATH)/tests/ref/lavf/$(@:fate-lavf-%=%)
$(FATE_LAVF_IMAGES): $(VREF)
+fate-lavf-none.grayf32le.exr: CMD = lavf_image "-compression none -pix_fmt grayf32le"
+fate-lavf-rle.grayf32le.exr: CMD = lavf_image "-compression rle -pix_fmt grayf32le"
+fate-lavf-zip1.grayf32le.exr: CMD = lavf_image "-compression zip1 -pix_fmt grayf32le"
+fate-lavf-zip16.grayf32le.exr: CMD = lavf_image "-compression zip16 -pix_fmt grayf32le"
+fate-lavf-none.gbrpf32le.exr: CMD = lavf_image "-compression none -pix_fmt gbrpf32le"
+fate-lavf-rle.gbrpf32le.exr: CMD = lavf_image "-compression rle -pix_fmt gbrpf32le"
+fate-lavf-zip1.gbrpf32le.exr: CMD = lavf_image "-compression zip1 -pix_fmt gbrpf32le"
+fate-lavf-zip16.gbrpf32le.exr: CMD = lavf_image "-compression zip16 -pix_fmt gbrpf32le"
+fate-lavf-none.gbrapf32le.exr: CMD = lavf_image "-compression none -pix_fmt gbrapf32le"
+fate-lavf-rle.gbrapf32le.exr: CMD = lavf_image "-compression rle -pix_fmt gbrapf32le"
+fate-lavf-zip1.gbrapf32le.exr: CMD = lavf_image "-compression zip1 -pix_fmt gbrapf32le"
+fate-lavf-zip16.gbrapf32le.exr: CMD = lavf_image "-compression zip16 -pix_fmt gbrapf32le"
fate-lavf-jpg: CMD = lavf_image "-pix_fmt yuvj420p"
fate-lavf-tiff: CMD = lavf_image "-pix_fmt rgb24"
fate-lavf-gbrp10le.dpx: CMD = lavf_image "-pix_fmt gbrp10le" "-pix_fmt gbrp10le"
diff --git a/tests/ref/lavf/none.gbrapf32le.exr b/tests/ref/lavf/none.gbrapf32le.exr
new file mode 100644
index 0000000000..3250be2ccc
--- /dev/null
+++ b/tests/ref/lavf/none.gbrapf32le.exr
@@ -0,0 +1,3 @@
+c586035e67f9ba7f2a3777933b5b22a0 *tests/data/images/none.gbrapf32le.exr/02.none.gbrapf32le.exr
+tests/data/images/none.gbrapf32le.exr/%02d.none.gbrapf32le.exr CRC=0x068aca4e
+1627003 tests/data/images/none.gbrapf32le.exr/02.none.gbrapf32le.exr
diff --git a/tests/ref/lavf/none.gbrpf32le.exr b/tests/ref/lavf/none.gbrpf32le.exr
new file mode 100644
index 0000000000..41c43e372a
--- /dev/null
+++ b/tests/ref/lavf/none.gbrpf32le.exr
@@ -0,0 +1,3 @@
+10f42423c6585fe5053c5457fba7b235 *tests/data/images/none.gbrpf32le.exr/02.none.gbrpf32le.exr
+tests/data/images/none.gbrpf32le.exr/%02d.none.gbrpf32le.exr CRC=0x95e1053f
+1221481 tests/data/images/none.gbrpf32le.exr/02.none.gbrpf32le.exr
diff --git a/tests/ref/lavf/none.grayf32le.exr b/tests/ref/lavf/none.grayf32le.exr
new file mode 100644
index 0000000000..19ab9a2d20
--- /dev/null
+++ b/tests/ref/lavf/none.grayf32le.exr
@@ -0,0 +1,3 @@
+8aa28b10bf2591b7030b78bc29907293 *tests/data/images/none.grayf32le.exr/02.none.grayf32le.exr
+tests/data/images/none.grayf32le.exr/%02d.none.grayf32le.exr CRC=0x5443a443
+410437 tests/data/images/none.grayf32le.exr/02.none.grayf32le.exr
diff --git a/tests/ref/lavf/rle.gbrapf32le.exr b/tests/ref/lavf/rle.gbrapf32le.exr
new file mode 100644
index 0000000000..e8093dacc9
--- /dev/null
+++ b/tests/ref/lavf/rle.gbrapf32le.exr
@@ -0,0 +1,3 @@
+94398a5ce98bb7b1b78b2b807306f6d7 *tests/data/images/rle.gbrapf32le.exr/02.rle.gbrapf32le.exr
+tests/data/images/rle.gbrapf32le.exr/%02d.rle.gbrapf32le.exr CRC=0x068aca4e
+1436849 tests/data/images/rle.gbrapf32le.exr/02.rle.gbrapf32le.exr
diff --git a/tests/ref/lavf/rle.gbrpf32le.exr b/tests/ref/lavf/rle.gbrpf32le.exr
new file mode 100644
index 0000000000..beb8bf4a64
--- /dev/null
+++ b/tests/ref/lavf/rle.gbrpf32le.exr
@@ -0,0 +1,3 @@
+fed878e1f4391314c37088085942e572 *tests/data/images/rle.gbrpf32le.exr/02.rle.gbrpf32le.exr
+tests/data/images/rle.gbrpf32le.exr/%02d.rle.gbrpf32le.exr CRC=0x95e1053f
+1208298 tests/data/images/rle.gbrpf32le.exr/02.rle.gbrpf32le.exr
diff --git a/tests/ref/lavf/rle.grayf32le.exr b/tests/ref/lavf/rle.grayf32le.exr
new file mode 100644
index 0000000000..883b1d6446
--- /dev/null
+++ b/tests/ref/lavf/rle.grayf32le.exr
@@ -0,0 +1,3 @@
+2841f839cb5aa98bb7aded800dda7cc7 *tests/data/images/rle.grayf32le.exr/02.rle.grayf32le.exr
+tests/data/images/rle.grayf32le.exr/%02d.rle.grayf32le.exr CRC=0x5443a443
+410437 tests/data/images/rle.grayf32le.exr/02.rle.grayf32le.exr
diff --git a/tests/ref/lavf/zip1.gbrapf32le.exr b/tests/ref/lavf/zip1.gbrapf32le.exr
new file mode 100644
index 0000000000..7b2f21b893
--- /dev/null
+++ b/tests/ref/lavf/zip1.gbrapf32le.exr
@@ -0,0 +1,3 @@
+9fca73aac1a2e38969bed55929da48b4 *tests/data/images/zip1.gbrapf32le.exr/02.zip1.gbrapf32le.exr
+tests/data/images/zip1.gbrapf32le.exr/%02d.zip1.gbrapf32le.exr CRC=0x068aca4e
+902782 tests/data/images/zip1.gbrapf32le.exr/02.zip1.gbrapf32le.exr
diff --git a/tests/ref/lavf/zip1.gbrpf32le.exr b/tests/ref/lavf/zip1.gbrpf32le.exr
new file mode 100644
index 0000000000..a986591146
--- /dev/null
+++ b/tests/ref/lavf/zip1.gbrpf32le.exr
@@ -0,0 +1,3 @@
+a405ee4328719c53f97d351b5910e82b *tests/data/images/zip1.gbrpf32le.exr/02.zip1.gbrpf32le.exr
+tests/data/images/zip1.gbrpf32le.exr/%02d.zip1.gbrpf32le.exr CRC=0x95e1053f
+897319 tests/data/images/zip1.gbrpf32le.exr/02.zip1.gbrpf32le.exr
diff --git a/tests/ref/lavf/zip1.grayf32le.exr b/tests/ref/lavf/zip1.grayf32le.exr
new file mode 100644
index 0000000000..b89ceb22df
--- /dev/null
+++ b/tests/ref/lavf/zip1.grayf32le.exr
@@ -0,0 +1,3 @@
+76fe15b4e0b735a6318ca273ff52fb58 *tests/data/images/zip1.grayf32le.exr/02.zip1.grayf32le.exr
+tests/data/images/zip1.grayf32le.exr/%02d.zip1.grayf32le.exr CRC=0x5443a443
+91044 tests/data/images/zip1.grayf32le.exr/02.zip1.grayf32le.exr
diff --git a/tests/ref/lavf/zip16.gbrapf32le.exr b/tests/ref/lavf/zip16.gbrapf32le.exr
new file mode 100644
index 0000000000..830ae0fe50
--- /dev/null
+++ b/tests/ref/lavf/zip16.gbrapf32le.exr
@@ -0,0 +1,3 @@
+8beb8db200e658e74fdd4ed4c4ca9214 *tests/data/images/zip16.gbrapf32le.exr/02.zip16.gbrapf32le.exr
+tests/data/images/zip16.gbrapf32le.exr/%02d.zip16.gbrapf32le.exr CRC=0x068aca4e
+807513 tests/data/images/zip16.gbrapf32le.exr/02.zip16.gbrapf32le.exr
diff --git a/tests/ref/lavf/zip16.gbrpf32le.exr b/tests/ref/lavf/zip16.gbrpf32le.exr
new file mode 100644
index 0000000000..27fa2a7c5b
--- /dev/null
+++ b/tests/ref/lavf/zip16.gbrpf32le.exr
@@ -0,0 +1,3 @@
+4bc7e2640ea086b7fc31cbcd4fff19f5 *tests/data/images/zip16.gbrpf32le.exr/02.zip16.gbrpf32le.exr
+tests/data/images/zip16.gbrpf32le.exr/%02d.zip16.gbrpf32le.exr CRC=0x95e1053f
+796693 tests/data/images/zip16.gbrpf32le.exr/02.zip16.gbrpf32le.exr
diff --git a/tests/ref/lavf/zip16.grayf32le.exr b/tests/ref/lavf/zip16.grayf32le.exr
new file mode 100644
index 0000000000..24f82525bd
--- /dev/null
+++ b/tests/ref/lavf/zip16.grayf32le.exr
@@ -0,0 +1,3 @@
+5d5def6a4f16cef1122280d80c7c527d *tests/data/images/zip16.grayf32le.exr/02.zip16.grayf32le.exr
+tests/data/images/zip16.grayf32le.exr/%02d.zip16.grayf32le.exr CRC=0x5443a443
+63997 tests/data/images/zip16.grayf32le.exr/02.zip16.grayf32le.exr
More information about the ffmpeg-cvslog
mailing list