diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-05-27 02:30:51 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-06-22 17:23:08 +0300 |
commit | 5c018ee18895f88e9e1d2174059dcdd48bf872d2 (patch) | |
tree | 64995c7cc228bcf251cd77d7ef23976574984a39 /tests | |
parent | 7ca3e5203f133eb41a0b5c3a1d753a7427ba72e7 (diff) |
DirectDraw Surface image decoder
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'tests')
44 files changed, 98 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak index 807b118aeb..5b8eb02ce7 100644 --- a/tests/fate/image.mak +++ b/tests/fate/image.mak @@ -30,6 +30,18 @@ fate-brenderpix: $(FATE_BRENDERPIX-yes) FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP) += fate-bmpparser fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/libav_4x_concat.bmp -pix_fmt rgb24 +define FATE_IMGSUITE_DDS +FATE_DDS += fate-dds-$(1) +fate-dds-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/dds/libav_$(1).dds -sws_flags +accurate_rnd+bitexact -pix_fmt rgba +endef + +DDS_FMT = argb argb-aexp dx10-bc1 dx10-bc1a dx10-bc2 dx10-bc3 dx10-bc4 dx10-bc5 dxt1 dxt1a dxt1-normalmap dxt2 dxt3 dxt4 dxt5 dxt5-aexp dxt5-normalmap dxt5-normalmap-ati dxt5-rbxg dxt5-rgxb dxt5-rxbg dxt5-rxgb dxt5-xgbr dxt5-xgxr dxt5-xrbg dxt5-ycocg dxt5-ycocg-scaled pal pal-ati rgb16 rgb24 rgtc1s rgtc1u rgtc2s rgtc2u rgtc2u-xy uyvy xbgr xrgb y ya ycocg yuyv +$(foreach FMT,$(DDS_FMT),$(eval $(call FATE_IMGSUITE_DDS,$(FMT)))) + +FATE_DDS-$(call DEMDEC, IMAGE2, DDS) += $(FATE_DDS) +FATE_SAMPLES_AVCONV += $(FATE_DDS-yes) +fate-dds: $(FATE_DDS-yes) + FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, DPX) += fate-dpx fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx diff --git a/tests/ref/fate/dds-argb b/tests/ref/fate/dds-argb new file mode 100644 index 0000000000..fbde4242e4 --- /dev/null +++ b/tests/ref/fate/dds-argb @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 56320, 0xfcaa920b diff --git a/tests/ref/fate/dds-argb-aexp b/tests/ref/fate/dds-argb-aexp new file mode 100644 index 0000000000..f52410f98e --- /dev/null +++ b/tests/ref/fate/dds-argb-aexp @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xfdd37c43 diff --git a/tests/ref/fate/dds-dx10-bc1 b/tests/ref/fate/dds-dx10-bc1 new file mode 100644 index 0000000000..84efd9f5ce --- /dev/null +++ b/tests/ref/fate/dds-dx10-bc1 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xed2f850f diff --git a/tests/ref/fate/dds-dx10-bc1a b/tests/ref/fate/dds-dx10-bc1a new file mode 100644 index 0000000000..8cb4589e9b --- /dev/null +++ b/tests/ref/fate/dds-dx10-bc1a @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x473b484b diff --git a/tests/ref/fate/dds-dx10-bc2 b/tests/ref/fate/dds-dx10-bc2 new file mode 100644 index 0000000000..a25180de24 --- /dev/null +++ b/tests/ref/fate/dds-dx10-bc2 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x2bce3baa diff --git a/tests/ref/fate/dds-dx10-bc3 b/tests/ref/fate/dds-dx10-bc3 new file mode 100644 index 0000000000..296c94523d --- /dev/null +++ b/tests/ref/fate/dds-dx10-bc3 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xb91d3c62 diff --git a/tests/ref/fate/dds-dx10-bc4 b/tests/ref/fate/dds-dx10-bc4 new file mode 100644 index 0000000000..4583d258c1 --- /dev/null +++ b/tests/ref/fate/dds-dx10-bc4 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xfdfd1751 diff --git a/tests/ref/fate/dds-dx10-bc5 b/tests/ref/fate/dds-dx10-bc5 new file mode 100644 index 0000000000..bf595eb4e2 --- /dev/null +++ b/tests/ref/fate/dds-dx10-bc5 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x79bd207e diff --git a/tests/ref/fate/dds-dxt1 b/tests/ref/fate/dds-dxt1 new file mode 100644 index 0000000000..24774069db --- /dev/null +++ b/tests/ref/fate/dds-dxt1 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 32768, 0xf52adc80 diff --git a/tests/ref/fate/dds-dxt1-normalmap b/tests/ref/fate/dds-dxt1-normalmap new file mode 100644 index 0000000000..3f77547c05 --- /dev/null +++ b/tests/ref/fate/dds-dxt1-normalmap @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x2b411855 diff --git a/tests/ref/fate/dds-dxt1a b/tests/ref/fate/dds-dxt1a new file mode 100644 index 0000000000..05be314bb9 --- /dev/null +++ b/tests/ref/fate/dds-dxt1a @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xcabb50ea diff --git a/tests/ref/fate/dds-dxt2 b/tests/ref/fate/dds-dxt2 new file mode 100644 index 0000000000..40bcf6ebab --- /dev/null +++ b/tests/ref/fate/dds-dxt2 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x11cebeb0 diff --git a/tests/ref/fate/dds-dxt3 b/tests/ref/fate/dds-dxt3 new file mode 100644 index 0000000000..41401daeb2 --- /dev/null +++ b/tests/ref/fate/dds-dxt3 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x729b74ba diff --git a/tests/ref/fate/dds-dxt4 b/tests/ref/fate/dds-dxt4 new file mode 100644 index 0000000000..dc5d73f540 --- /dev/null +++ b/tests/ref/fate/dds-dxt4 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x31aaacd6 diff --git a/tests/ref/fate/dds-dxt5 b/tests/ref/fate/dds-dxt5 new file mode 100644 index 0000000000..399d6d954d --- /dev/null +++ b/tests/ref/fate/dds-dxt5 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xfd3166aa diff --git a/tests/ref/fate/dds-dxt5-aexp b/tests/ref/fate/dds-dxt5-aexp new file mode 100644 index 0000000000..ff91afde53 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-aexp @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x3c987914 diff --git a/tests/ref/fate/dds-dxt5-normalmap b/tests/ref/fate/dds-dxt5-normalmap new file mode 100644 index 0000000000..680d1b7ff2 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-normalmap @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xd29b1ea1 diff --git a/tests/ref/fate/dds-dxt5-normalmap-ati b/tests/ref/fate/dds-dxt5-normalmap-ati new file mode 100644 index 0000000000..7f088f7584 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-normalmap-ati @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x54cb212f diff --git a/tests/ref/fate/dds-dxt5-rbxg b/tests/ref/fate/dds-dxt5-rbxg new file mode 100644 index 0000000000..7dbecf4235 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-rbxg @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x37588d12 diff --git a/tests/ref/fate/dds-dxt5-rgxb b/tests/ref/fate/dds-dxt5-rgxb new file mode 100644 index 0000000000..137913d83b --- /dev/null +++ b/tests/ref/fate/dds-dxt5-rgxb @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xfb6b91cf diff --git a/tests/ref/fate/dds-dxt5-rxbg b/tests/ref/fate/dds-dxt5-rxbg new file mode 100644 index 0000000000..b6e12d3d71 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-rxbg @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xc6cb8cbe diff --git a/tests/ref/fate/dds-dxt5-rxgb b/tests/ref/fate/dds-dxt5-rxgb new file mode 100644 index 0000000000..a4190d5493 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-rxgb @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xb67d936a diff --git a/tests/ref/fate/dds-dxt5-xgbr b/tests/ref/fate/dds-dxt5-xgbr new file mode 100644 index 0000000000..95404f2297 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-xgbr @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xb0e69293 diff --git a/tests/ref/fate/dds-dxt5-xgxr b/tests/ref/fate/dds-dxt5-xgxr new file mode 100644 index 0000000000..3ed73c395f --- /dev/null +++ b/tests/ref/fate/dds-dxt5-xgxr @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xa93de1ad diff --git a/tests/ref/fate/dds-dxt5-xrbg b/tests/ref/fate/dds-dxt5-xrbg new file mode 100644 index 0000000000..f6479554c4 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-xrbg @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xf20d8b69 diff --git a/tests/ref/fate/dds-dxt5-ycocg b/tests/ref/fate/dds-dxt5-ycocg new file mode 100644 index 0000000000..1dd8bef855 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-ycocg @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x0d0c8d20 diff --git a/tests/ref/fate/dds-dxt5-ycocg-scaled b/tests/ref/fate/dds-dxt5-ycocg-scaled new file mode 100644 index 0000000000..5a70b490f8 --- /dev/null +++ b/tests/ref/fate/dds-dxt5-ycocg-scaled @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x5a089973 diff --git a/tests/ref/fate/dds-pal b/tests/ref/fate/dds-pal new file mode 100644 index 0000000000..85414414d5 --- /dev/null +++ b/tests/ref/fate/dds-pal @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 65536, 0xbffee5cd diff --git a/tests/ref/fate/dds-pal-ati b/tests/ref/fate/dds-pal-ati new file mode 100644 index 0000000000..6b43bb4a8b --- /dev/null +++ b/tests/ref/fate/dds-pal-ati @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x23068060 diff --git a/tests/ref/fate/dds-rgb16 b/tests/ref/fate/dds-rgb16 new file mode 100644 index 0000000000..688d3b9601 --- /dev/null +++ b/tests/ref/fate/dds-rgb16 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 32768, 0x7991785d diff --git a/tests/ref/fate/dds-rgb24 b/tests/ref/fate/dds-rgb24 new file mode 100644 index 0000000000..bc7724d107 --- /dev/null +++ b/tests/ref/fate/dds-rgb24 @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 32768, 0xcf0f7833 diff --git a/tests/ref/fate/dds-rgtc1s b/tests/ref/fate/dds-rgtc1s new file mode 100644 index 0000000000..5085962e55 --- /dev/null +++ b/tests/ref/fate/dds-rgtc1s @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xcda652a4 diff --git a/tests/ref/fate/dds-rgtc1u b/tests/ref/fate/dds-rgtc1u new file mode 100644 index 0000000000..b7cff66eb3 --- /dev/null +++ b/tests/ref/fate/dds-rgtc1u @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x629a1b44 diff --git a/tests/ref/fate/dds-rgtc2s b/tests/ref/fate/dds-rgtc2s new file mode 100644 index 0000000000..722760205d --- /dev/null +++ b/tests/ref/fate/dds-rgtc2s @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xa0135ca8 diff --git a/tests/ref/fate/dds-rgtc2u b/tests/ref/fate/dds-rgtc2u new file mode 100644 index 0000000000..0b6678bbfa --- /dev/null +++ b/tests/ref/fate/dds-rgtc2u @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x38cb221a diff --git a/tests/ref/fate/dds-rgtc2u-xy b/tests/ref/fate/dds-rgtc2u-xy new file mode 100644 index 0000000000..bf595eb4e2 --- /dev/null +++ b/tests/ref/fate/dds-rgtc2u-xy @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x79bd207e diff --git a/tests/ref/fate/dds-uyvy b/tests/ref/fate/dds-uyvy new file mode 100644 index 0000000000..6ea3f2e30b --- /dev/null +++ b/tests/ref/fate/dds-uyvy @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xd579a59e diff --git a/tests/ref/fate/dds-xbgr b/tests/ref/fate/dds-xbgr new file mode 100644 index 0000000000..63e5225f89 --- /dev/null +++ b/tests/ref/fate/dds-xbgr @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x702f6a28 diff --git a/tests/ref/fate/dds-xrgb b/tests/ref/fate/dds-xrgb new file mode 100644 index 0000000000..63e5225f89 --- /dev/null +++ b/tests/ref/fate/dds-xrgb @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x702f6a28 diff --git a/tests/ref/fate/dds-y b/tests/ref/fate/dds-y new file mode 100644 index 0000000000..5b2f11b523 --- /dev/null +++ b/tests/ref/fate/dds-y @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 32768, 0xc51add1c diff --git a/tests/ref/fate/dds-ya b/tests/ref/fate/dds-ya new file mode 100644 index 0000000000..70eedcc753 --- /dev/null +++ b/tests/ref/fate/dds-ya @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 56320, 0xca81315f diff --git a/tests/ref/fate/dds-ycocg b/tests/ref/fate/dds-ycocg new file mode 100644 index 0000000000..f3dd727cbe --- /dev/null +++ b/tests/ref/fate/dds-ycocg @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0x4cb08d0a diff --git a/tests/ref/fate/dds-yuyv b/tests/ref/fate/dds-yuyv new file mode 100644 index 0000000000..6ea3f2e30b --- /dev/null +++ b/tests/ref/fate/dds-yuyv @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384, 0xd579a59e |