fate: add EXR encoder tests

release/5.1
Paul B Mahol 3 years ago
parent 8709f4c10a
commit ae90897bc9
  1. 24
      tests/fate/lavf-image.mak
  2. 3
      tests/ref/lavf/none.gbrapf32le.exr
  3. 3
      tests/ref/lavf/none.gbrpf32le.exr
  4. 3
      tests/ref/lavf/none.grayf32le.exr
  5. 3
      tests/ref/lavf/rle.gbrapf32le.exr
  6. 3
      tests/ref/lavf/rle.gbrpf32le.exr
  7. 3
      tests/ref/lavf/rle.grayf32le.exr
  8. 3
      tests/ref/lavf/zip1.gbrapf32le.exr
  9. 3
      tests/ref/lavf/zip1.gbrpf32le.exr
  10. 3
      tests/ref/lavf/zip1.grayf32le.exr
  11. 3
      tests/ref/lavf/zip16.gbrapf32le.exr
  12. 3
      tests/ref/lavf/zip16.gbrpf32le.exr
  13. 3
      tests/ref/lavf/zip16.grayf32le.exr

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

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

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

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

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

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

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

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

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

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

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

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

@ -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
Loading…
Cancel
Save