2013-02-23 16:05:43 +03:00
|
|
|
FATE_GIF += fate-gif-color
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-gif-color: CMD = framecrc -i $(TARGET_SAMPLES)/gif/tc217.gif -pix_fmt bgra -vf scale
|
2013-02-23 16:05:43 +03:00
|
|
|
|
2013-02-25 11:53:12 +03:00
|
|
|
FATE_GIF += fate-gif-disposal-background
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-gif-disposal-background: CMD = framecrc -trans_color 0 -i $(TARGET_SAMPLES)/gif/m4nb.gif -pix_fmt bgra -vf scale
|
2013-02-25 11:53:12 +03:00
|
|
|
|
2013-02-23 16:05:43 +03:00
|
|
|
FATE_GIF += fate-gif-disposal-restore
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-gif-disposal-restore: CMD = framecrc -i $(TARGET_SAMPLES)/gif/banner2.gif -pix_fmt bgra -vf scale
|
2013-02-23 16:05:43 +03:00
|
|
|
|
|
|
|
FATE_GIF += fate-gif-gray
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-gif-gray: CMD = framecrc -i $(TARGET_SAMPLES)/gif/Newtons_cradle_animation_book_2.gif -pix_fmt bgra -vf scale
|
2013-02-23 16:05:43 +03:00
|
|
|
|
2016-02-29 02:41:11 +02:00
|
|
|
FATE_GIF += fate-gif-deal
|
2023-04-08 11:59:20 +02:00
|
|
|
fate-gif-deal: CMD = framecrc -i $(TARGET_SAMPLES)/gif/deal.gif -fps_mode cfr -pix_fmt bgra -auto_conversion_filters
|
2016-02-29 02:41:11 +02:00
|
|
|
|
2022-04-29 00:47:50 +02:00
|
|
|
FATE_GIF-$(call FRAMECRC, GIF, GIF, SCALE_FILTER) += $(FATE_GIF)
|
|
|
|
|
2013-04-18 19:51:16 +03:00
|
|
|
fate-gifenc%: PIXFMT = $(word 3, $(subst -, ,$(@)))
|
2014-03-18 03:29:50 +03:00
|
|
|
fate-gifenc%: SRC = $(TARGET_SAMPLES)/gif/tc217.gif
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-gifenc%: CMD = framecrc -i $(SRC) -c:v gif -pix_fmt $(PIXFMT) -sws_flags +accurate_rnd+bitexact -vf scale
|
2013-04-18 19:51:16 +03:00
|
|
|
|
|
|
|
FATE_GIF_ENC_PIXFMT = rgb8 bgr8 rgb4_byte bgr4_byte gray pal8
|
2022-04-29 00:47:50 +02:00
|
|
|
FATE_GIF_ENC-$(call ENCDEC, GIF, FRAMECRC GIF, SCALE_FILTER PIPE_PROTOCOL) = $(FATE_GIF_ENC_PIXFMT:%=fate-gifenc-%)
|
2013-04-18 19:51:16 +03:00
|
|
|
|
|
|
|
fate-gifenc: $(FATE_GIF_ENC-yes)
|
|
|
|
|
2022-04-29 00:47:50 +02:00
|
|
|
FATE_SAMPLES_FFMPEG += $(FATE_GIF-yes) $(FATE_GIF_ENC-yes)
|
|
|
|
fate-gif: $(FATE_GIF-yes) $(FATE_GIF_ENC-yes)
|