[FFmpeg-cvslog] fate: add PFM encoder tests
Paul B Mahol
git at videolan.org
Sun Jul 3 16:24:43 EEST 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Jul 2 15:13:47 2022 +0200| [1b8647cfdcc49bf7658a5e7f46d4064bcb9f20b0] | committer: Paul B Mahol
fate: add PFM encoder tests
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1b8647cfdcc49bf7658a5e7f46d4064bcb9f20b0
---
tests/fate/lavf-image.mak | 8 ++++++++
tests/ref/lavf/gbrpf32be.pfm | 3 +++
tests/ref/lavf/gbrpf32le.pfm | 3 +++
tests/ref/lavf/grayf32be.pfm | 3 +++
tests/ref/lavf/grayf32le.pfm | 3 +++
5 files changed, 20 insertions(+)
diff --git a/tests/fate/lavf-image.mak b/tests/fate/lavf-image.mak
index f815da7545..38d3689abf 100644
--- a/tests/fate/lavf-image.mak
+++ b/tests/fate/lavf-image.mak
@@ -29,6 +29,10 @@ FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PAM) += gray16be.pam
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PAM) += rgb48be.pam
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PAM) += monob.pam
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PCX) += pcx
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PFM) += grayf32le.pfm
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PFM) += gbrpf32le.pfm
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PFM) += grayf32be.pfm
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PFM) += gbrpf32be.pfm
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PGM) += pgm
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PNG) += png
FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PNG) += gray16be.png
@@ -79,6 +83,10 @@ fate-lavf-gray.pam: CMD = lavf_image "-pix_fmt gray"
fate-lavf-gray16be.pam: CMD = lavf_image "-pix_fmt gray16be" "-pix_fmt gray16be"
fate-lavf-rgb48be.pam: CMD = lavf_image "-pix_fmt rgb48be" "-pix_fmt rgb48be"
fate-lavf-monob.pam: CMD = lavf_image "-pix_fmt monob"
+fate-lavf-grayf32le.pfm: CMD = lavf_image "-pix_fmt grayf32le" "-pix_fmt grayf32le"
+fate-lavf-grayf32be.pfm: CMD = lavf_image "-pix_fmt grayf32be" "-pix_fmt grayf32be"
+fate-lavf-gbrpf32le.pfm: CMD = lavf_image "-pix_fmt gbrpf32le" "-pix_fmt gbrpf32le"
+fate-lavf-gbrpf32be.pfm: CMD = lavf_image "-pix_fmt gbrpf32be" "-pix_fmt gbrpf32be"
fate-lavf-gray16be.png: CMD = lavf_image "-pix_fmt gray16be"
fate-lavf-rgb48be.png: CMD = lavf_image "-pix_fmt rgb48be"
fate-lavf-rgba.xwd: CMD = lavf_image "-pix_fmt rgba"
diff --git a/tests/ref/lavf/gbrpf32be.pfm b/tests/ref/lavf/gbrpf32be.pfm
new file mode 100644
index 0000000000..2cd6354401
--- /dev/null
+++ b/tests/ref/lavf/gbrpf32be.pfm
@@ -0,0 +1,3 @@
+6d470f8d6018b95b45afafc14b7d161a *tests/data/images/gbrpf32be.pfm/02.gbrpf32be.pfm
+tests/data/images/gbrpf32be.pfm/%02d.gbrpf32be.pfm CRC=0x4b73053f
+1216532 tests/data/images/gbrpf32be.pfm/02.gbrpf32be.pfm
diff --git a/tests/ref/lavf/gbrpf32le.pfm b/tests/ref/lavf/gbrpf32le.pfm
new file mode 100644
index 0000000000..3ddd100443
--- /dev/null
+++ b/tests/ref/lavf/gbrpf32le.pfm
@@ -0,0 +1,3 @@
+892c5a05e1cbb3d2f7761d51e18b9c4c *tests/data/images/gbrpf32le.pfm/02.gbrpf32le.pfm
+tests/data/images/gbrpf32le.pfm/%02d.gbrpf32le.pfm CRC=0x95e1053f
+1216533 tests/data/images/gbrpf32le.pfm/02.gbrpf32le.pfm
diff --git a/tests/ref/lavf/grayf32be.pfm b/tests/ref/lavf/grayf32be.pfm
new file mode 100644
index 0000000000..05614a0f50
--- /dev/null
+++ b/tests/ref/lavf/grayf32be.pfm
@@ -0,0 +1,3 @@
+0f6df0d68d7dd30e67386b1255f443c9 *tests/data/images/grayf32be.pfm/02.grayf32be.pfm
+tests/data/images/grayf32be.pfm/%02d.grayf32be.pfm CRC=0xe3fda443
+405524 tests/data/images/grayf32be.pfm/02.grayf32be.pfm
diff --git a/tests/ref/lavf/grayf32le.pfm b/tests/ref/lavf/grayf32le.pfm
new file mode 100644
index 0000000000..a419daa650
--- /dev/null
+++ b/tests/ref/lavf/grayf32le.pfm
@@ -0,0 +1,3 @@
+145715872a894b1fde0105d8a0106191 *tests/data/images/grayf32le.pfm/02.grayf32le.pfm
+tests/data/images/grayf32le.pfm/%02d.grayf32le.pfm CRC=0x5443a443
+405525 tests/data/images/grayf32le.pfm/02.grayf32le.pfm
More information about the ffmpeg-cvslog
mailing list