fate: add PFM encoder tests

This commit is contained in:
Paul B Mahol 2022-07-02 15:13:47 +02:00
parent d70a443977
commit 1b8647cfdc
5 changed files with 20 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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