2013-02-23 13:05:43 +00:00
|
|
|
FATE_GIF += fate-gif-color
|
2013-05-29 02:17:29 +00:00
|
|
|
fate-gif-color: CMD = framecrc -i $(TARGET_SAMPLES)/gif/tc217.gif -pix_fmt bgra
|
2013-02-23 13:05:43 +00:00
|
|
|
|
2013-02-25 08:53:12 +00:00
|
|
|
FATE_GIF += fate-gif-disposal-background
|
2013-05-29 02:17:29 +00:00
|
|
|
fate-gif-disposal-background: CMD = framecrc -trans_color 0 -i $(TARGET_SAMPLES)/gif/m4nb.gif -pix_fmt bgra
|
2013-02-25 08:53:12 +00:00
|
|
|
|
2013-02-23 13:05:43 +00:00
|
|
|
FATE_GIF += fate-gif-disposal-restore
|
2013-05-29 02:17:29 +00:00
|
|
|
fate-gif-disposal-restore: CMD = framecrc -i $(TARGET_SAMPLES)/gif/banner2.gif -pix_fmt bgra
|
2013-02-23 13:05:43 +00:00
|
|
|
|
|
|
|
FATE_GIF += fate-gif-gray
|
2013-05-29 02:17:29 +00:00
|
|
|
fate-gif-gray: CMD = framecrc -i $(TARGET_SAMPLES)/gif/Newtons_cradle_animation_book_2.gif -pix_fmt bgra
|
2013-02-23 13:05:43 +00:00
|
|
|
|
2013-04-18 16:51:16 +00:00
|
|
|
fate-gifenc%: fate-gif-color
|
|
|
|
fate-gifenc%: PIXFMT = $(word 3, $(subst -, ,$(@)))
|
2014-03-18 00:29:50 +00:00
|
|
|
fate-gifenc%: SRC = $(TARGET_SAMPLES)/gif/tc217.gif
|
2013-04-18 16:51:16 +00:00
|
|
|
fate-gifenc%: CMD = framecrc -i $(SRC) -c:v gif -pix_fmt $(PIXFMT)
|
|
|
|
|
|
|
|
FATE_GIF_ENC_PIXFMT = rgb8 bgr8 rgb4_byte bgr4_byte gray pal8
|
|
|
|
FATE_GIF_ENC-$(call ENCDEC, GIF, GIF) = $(FATE_GIF_ENC_PIXFMT:%=fate-gifenc-%)
|
|
|
|
|
|
|
|
FATE_GIF += $(FATE_GIF_ENC-yes)
|
|
|
|
fate-gifenc: $(FATE_GIF_ENC-yes)
|
|
|
|
|
2013-02-23 13:05:43 +00:00
|
|
|
FATE_GIF-$(call DEMDEC, GIF, GIF) += $(FATE_GIF)
|
|
|
|
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_GIF-yes)
|
|
|
|
fate-gif: $(FATE_GIF-yes)
|