You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
fate: add coverage for background disposal in gif decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
FATE_GIF += fate-gif-color
|
FATE_GIF += fate-gif-color
|
||||||
fate-gif-color: CMD = framecrc -i $(SAMPLES)/gif/tc217.gif -pix_fmt bgra
|
fate-gif-color: CMD = framecrc -i $(SAMPLES)/gif/tc217.gif -pix_fmt bgra
|
||||||
|
|
||||||
|
FATE_GIF += fate-gif-disposal-background
|
||||||
|
fate-gif-disposal-background: CMD = framecrc -trans_color 0 -i $(SAMPLES)/gif/m4nb.gif -pix_fmt bgra
|
||||||
|
|
||||||
FATE_GIF += fate-gif-disposal-restore
|
FATE_GIF += fate-gif-disposal-restore
|
||||||
fate-gif-disposal-restore: CMD = framecrc -i $(SAMPLES)/gif/banner2.gif -pix_fmt bgra
|
fate-gif-disposal-restore: CMD = framecrc -i $(SAMPLES)/gif/banner2.gif -pix_fmt bgra
|
||||||
|
|
||||||
|
6
tests/ref/fate/gif-disposal-background
Normal file
6
tests/ref/fate/gif-disposal-background
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#tb 0: 1/100
|
||||||
|
0, 0, 0, 1, 10368, 0x8b200cc8
|
||||||
|
0, 50, 50, 1, 10368, 0x4e208e4f
|
||||||
|
0, 100, 100, 1, 10368, 0x044dba8b
|
||||||
|
0, 150, 150, 1, 10368, 0x1d617e09
|
||||||
|
0, 200, 200, 1, 10368, 0xae38a6d2
|
Reference in New Issue
Block a user