OSDN Git Service

fate/gif: add Test for Ticket3052
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 29 Feb 2016 00:41:11 +0000 (01:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 29 Feb 2016 00:41:11 +0000 (01:41 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/fate/gif.mak
tests/ref/fate/gif-deal [new file with mode: 0644]

index 3dc50b3..9bd9631 100644 (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
diff --git a/tests/ref/fate/gif-deal b/tests/ref/fate/gif-deal
new file mode 100644 (file)
index 0000000..88371bb
--- /dev/null
@@ -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