mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fate/png : add test for rgba64 and interleaved rgb
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
de30863fff
commit
9cc114fa54
@ -263,9 +263,12 @@ FATE_PNG += fate-png-$(1)
|
|||||||
fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
|
fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
|
||||||
endef
|
endef
|
||||||
|
|
||||||
PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba ya8 ya16
|
PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16
|
||||||
$(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP))))
|
$(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP))))
|
||||||
|
|
||||||
|
FATE_PNG += fate-png-int-rgb24
|
||||||
|
fate-png-int-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-int_rgb24.png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
|
||||||
|
|
||||||
FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG)
|
FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG)
|
||||||
FATE_IMAGE += $(FATE_PNG-yes)
|
FATE_IMAGE += $(FATE_PNG-yes)
|
||||||
fate-png: $(FATE_PNG-yes)
|
fate-png: $(FATE_PNG-yes)
|
||||||
|
6
tests/ref/fate/png-int-rgb24
Normal file
6
tests/ref/fate/png-int-rgb24
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#tb 0: 1/25
|
||||||
|
#media_type 0: video
|
||||||
|
#codec_id 0: rawvideo
|
||||||
|
#dimensions 0: 128x128
|
||||||
|
#sar 0: 2835/2835
|
||||||
|
0, 0, 0, 1, 49152, 0xe0013dee
|
6
tests/ref/fate/png-rgba64
Normal file
6
tests/ref/fate/png-rgba64
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#tb 0: 1/25
|
||||||
|
#media_type 0: video
|
||||||
|
#codec_id 0: rawvideo
|
||||||
|
#dimensions 0: 128x128
|
||||||
|
#sar 0: 1/1
|
||||||
|
0, 0, 0, 1, 49152, 0x04f35063
|
Loading…
Reference in New Issue
Block a user