fate/gif: add Test for Ticket3052

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-02-29 01:41:11 +01:00
parent 993d622d00
commit 1b65910185
2 changed files with 30 additions and 0 deletions

View File

@ -10,6 +10,9 @@ fate-gif-disposal-restore: CMD = framecrc -i $(TARGET_SAMPLES)/gif/banner2.gif -
FATE_GIF += fate-gif-gray
fate-gif-gray: CMD = framecrc -i $(TARGET_SAMPLES)/gif/Newtons_cradle_animation_book_2.gif -pix_fmt bgra
FATE_GIF += fate-gif-deal
fate-gif-deal: CMD = framecrc -i $(TARGET_SAMPLES)/gif/deal.gif -vsync cfr -pix_fmt bgra
fate-gifenc%: fate-gif-color
fate-gifenc%: PIXFMT = $(word 3, $(subst -, ,$(@)))
fate-gifenc%: SRC = $(TARGET_SAMPLES)/gif/tc217.gif

27
tests/ref/fate/gif-deal Normal file
View File

@ -0,0 +1,27 @@
#tb 0: 12/109
0, 0, 0, 1, 311320, 0x71905396
0, 1, 1, 1, 311320, 0xed46b01e
0, 2, 2, 1, 311320, 0xcbb56aa8
0, 3, 3, 1, 311320, 0xafaab599
0, 4, 4, 1, 311320, 0x43133abf
0, 5, 5, 1, 311320, 0xd9677d13
0, 6, 6, 1, 311320, 0x78abea28
0, 7, 7, 1, 311320, 0xcb6ca011
0, 8, 8, 1, 311320, 0x8fd40670
0, 9, 9, 1, 311320, 0x8fd40670
0, 10, 10, 1, 311320, 0x8fd40670
0, 11, 11, 1, 311320, 0x8fd40670
0, 12, 12, 1, 311320, 0x8fd40670
0, 13, 13, 1, 311320, 0x8fd40670
0, 14, 14, 1, 311320, 0x8fd40670
0, 15, 15, 1, 311320, 0x8fd40670
0, 16, 16, 1, 311320, 0x8fd40670
0, 17, 17, 1, 311320, 0x8fd40670
0, 18, 18, 1, 311320, 0x8fd40670
0, 19, 19, 1, 311320, 0x8fd40670
0, 20, 20, 1, 311320, 0x8fd40670
0, 21, 21, 1, 311320, 0x8fd40670
0, 22, 22, 1, 311320, 0x8fd40670
0, 23, 23, 1, 311320, 0x8fd40670
0, 24, 24, 1, 311320, 0x8fd40670
0, 25, 25, 1, 311320, 0x8fd40670