mirror of https://git.ffmpeg.org/ffmpeg.git
fate/image: Modify aliaspix tests to also cover the encoder
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
14baf4cd92
commit
66f4685910
|
@ -1,10 +1,13 @@
|
||||||
FATE_ALIASPIX += fate-aliaspix-bgr
|
FATE_ALIASPIX += fate-aliaspix-bgr
|
||||||
fate-aliaspix-bgr: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/first.pix -pix_fmt bgr24
|
fate-aliaspix-bgr: CMD = transcode alias_pix $(TARGET_SAMPLES)/aliaspix/first.pix image2 "-c alias_pix" "-map 0 -map 0 -pix_fmt:0 bgr24 -c:v:1 copy"
|
||||||
|
|
||||||
FATE_ALIASPIX += fate-aliaspix-gray
|
FATE_ALIASPIX += fate-aliaspix-gray
|
||||||
fate-aliaspix-gray: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/firstgray.pix -pix_fmt gray
|
fate-aliaspix-gray: CMD = transcode alias_pix $(TARGET_SAMPLES)/aliaspix/firstgray.pix image2 "-c alias_pix" "-map 0 -map 0 -pix_fmt:0 gray -c:v:1 copy"
|
||||||
|
|
||||||
FATE_ALIASPIX-$(call DEMDEC, IMAGE2, ALIAS_PIX) += $(FATE_ALIASPIX)
|
FATE_ALIASPIX-$(call ALLYES, FILE_PROTOCOL IMAGE2_ALIAS_PIX_DEMUXER \
|
||||||
|
ALIAS_PIX_DECODER ALIAS_PIX_ENCODER \
|
||||||
|
IMAGE2_MUXER RAWVIDEO_ENCODER \
|
||||||
|
FRAMECRC_MUXER PIPE_PROTOCOL) += $(FATE_ALIASPIX)
|
||||||
FATE_IMAGE += $(FATE_ALIASPIX-yes)
|
FATE_IMAGE += $(FATE_ALIASPIX-yes)
|
||||||
fate-aliaspix: $(FATE_ALIASPIX-yes)
|
fate-aliaspix: $(FATE_ALIASPIX-yes)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
|
667513c8869eea09e1374a73eb21233c *tests/data/fate/aliaspix-bgr.image2
|
||||||
|
63090 tests/data/fate/aliaspix-bgr.image2
|
||||||
#tb 0: 1/25
|
#tb 0: 1/25
|
||||||
#media_type 0: video
|
#media_type 0: video
|
||||||
#codec_id 0: rawvideo
|
#codec_id 0: rawvideo
|
||||||
#dimensions 0: 201x79
|
#dimensions 0: 201x79
|
||||||
#sar 0: 0/1
|
#sar 0: 0/1
|
||||||
|
#tb 1: 1/25
|
||||||
|
#media_type 1: video
|
||||||
|
#codec_id 1: alias_pix
|
||||||
|
#dimensions 1: 201x79
|
||||||
|
#sar 1: 0/1
|
||||||
0, 0, 0, 1, 47637, 0xcb77368f
|
0, 0, 0, 1, 47637, 0xcb77368f
|
||||||
|
1, 0, 0, 1, 63090, 0xe49bba3b
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
|
2d7ae310710798257ebcff8a41c646ee *tests/data/fate/aliaspix-gray.image2
|
||||||
|
28868 tests/data/fate/aliaspix-gray.image2
|
||||||
#tb 0: 1/25
|
#tb 0: 1/25
|
||||||
#media_type 0: video
|
#media_type 0: video
|
||||||
#codec_id 0: rawvideo
|
#codec_id 0: rawvideo
|
||||||
#dimensions 0: 199x81
|
#dimensions 0: 199x81
|
||||||
#sar 0: 0/1
|
#sar 0: 0/1
|
||||||
|
#tb 1: 1/25
|
||||||
|
#media_type 1: video
|
||||||
|
#codec_id 1: alias_pix
|
||||||
|
#dimensions 1: 199x81
|
||||||
|
#sar 1: 0/1
|
||||||
0, 0, 0, 1, 16119, 0x3d0785f5
|
0, 0, 0, 1, 16119, 0x3d0785f5
|
||||||
|
1, 0, 0, 1, 28868, 0x02523ce2
|
||||||
|
|
Loading…
Reference in New Issue