fate/webp : add test for webp lossless decoding (rgb and rgba)
output have been compared with official decoding tool output (dwebp) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
971ee09d32
commit
bd2cec7021
@ -355,6 +355,16 @@ FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
|
||||
FATE_IMAGE += $(FATE_TIFF-yes)
|
||||
fate-tiff: $(FATE_TIFF-yes)
|
||||
|
||||
FATE_WEBP += fate-webp-rgb-lossless
|
||||
fate-webp-rgb-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lossless.webp
|
||||
|
||||
FATE_WEBP += fate-webp-rgba-lossless
|
||||
fate-webp-rgba-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_lossless.webp
|
||||
|
||||
FATE_WEBP-$(call DEMDEC, IMAGE2, WEBP) += $(FATE_WEBP)
|
||||
FATE_IMAGE += $(FATE_WEBP-yes)
|
||||
fate-webp: $(FATE_WEBP-yes)
|
||||
|
||||
FATE_IMAGE-$(call DEMDEC, IMAGE2, XFACE) += fate-xface
|
||||
fate-xface: CMD = framecrc -i $(TARGET_SAMPLES)/xface/lena.xface
|
||||
|
||||
|
6
tests/ref/fate/webp-rgb-lossless
Normal file
6
tests/ref/fate/webp-rgb-lossless
Normal file
@ -0,0 +1,6 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 12x8
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 384, 0xe30d1b01
|
6
tests/ref/fate/webp-rgba-lossless
Normal file
6
tests/ref/fate/webp-rgba-lossless
Normal file
@ -0,0 +1,6 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 12x8
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 384, 0xbd35e0e6
|
Loading…
Reference in New Issue
Block a user