2022-05-18 10:50:02 +02:00
|
|
|
# Contains the requirements added implicitly if CMD is video_filter.
|
|
|
|
VIDEO_FILTER = $(call ALLYES, $(1:%=%_FILTER) $(2) FILE_PROTOCOL IMAGE2_DEMUXER PGMYUV_DECODER RAWVIDEO_ENCODER NUT_MUXER MD5_PROTOCOL)
|
|
|
|
|
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDECENCMUX, PERMS OWDENOISE TRIM SCALE, SMJPEG, MJPEG, RAWVIDEO, RAWVIDEO, PIPE_PROTOCOL) += fate-filter-owdenoise-sample
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-owdenoise-sample: CMD = ffmpeg -auto_conversion_filters -idct simple -i $(TARGET_SAMPLES)/smjpeg/scenwin.mjpg -vf "trim=duration=0.5,perms=random,owdenoise=10:20:20:enable=not(between(t\,0.2\,1.2))" -an -f rawvideo -
|
2019-12-11 22:52:59 +02:00
|
|
|
fate-filter-owdenoise-sample: REF = $(SAMPLES)/filter-reference/owdenoise-scenwin.raw
|
2017-04-03 00:27:57 +02:00
|
|
|
fate-filter-owdenoise-sample: CMP_TARGET = 1
|
|
|
|
fate-filter-owdenoise-sample: FUZZ = 3539
|
|
|
|
fate-filter-owdenoise-sample: CMP = oneoff
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, PERMS DELOGO, RM, RV30) += fate-filter-delogo
|
2013-05-29 05:17:29 +03:00
|
|
|
fate-filter-delogo: CMD = framecrc -i $(TARGET_SAMPLES)/real/rv30.rm -vf perms=random,delogo=show=0:x=290:y=25:w=26:h=16 -an
|
2012-07-09 13:09:58 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_YADIF-$(call FILTERDEMDEC, YADIF, MPEGTS, MPEG2VIDEO) += fate-filter-yadif-mode0 fate-filter-yadif-mode1
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf yadif=0
|
|
|
|
fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 59 -vf yadif=1
|
2013-04-16 17:46:40 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_YADIF-$(call FILTERDEMDEC, YADIF SCALE, MPEGTS, MPEG2VIDEO) += fate-filter-yadif10 fate-filter-yadif16
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-yadif10: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p10le -frames:v 30 -vf yadif=0,scale
|
|
|
|
fate-filter-yadif16: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p16le -frames:v 30 -vf yadif=0,scale
|
2014-06-15 11:39:25 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_SAMPLES-yes += $(FATE_YADIF-yes)
|
2013-04-16 17:46:40 +03:00
|
|
|
|
2015-07-10 20:04:25 +02:00
|
|
|
FATE_W3FDIF += fate-filter-w3fdif-simple
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-w3fdif-simple: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf w3fdif=0
|
2015-07-10 20:04:25 +02:00
|
|
|
|
|
|
|
FATE_W3FDIF += fate-filter-w3fdif-complex
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-w3fdif-complex: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf w3fdif=1
|
2015-07-10 20:04:25 +02:00
|
|
|
|
2016-04-10 23:31:05 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, W3FDIF, MPEGTS, MPEG2VIDEO) += $(FATE_W3FDIF)
|
2015-07-10 20:04:25 +02:00
|
|
|
|
2013-05-28 14:41:41 +03:00
|
|
|
FATE_MCDEINT += fate-filter-mcdeint-fast
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-mcdeint-fast: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf mcdeint=fast
|
2013-05-28 14:41:41 +03:00
|
|
|
|
|
|
|
FATE_MCDEINT += fate-filter-mcdeint-medium
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-mcdeint-medium: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf mcdeint=mode=medium
|
2013-04-16 17:46:40 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, MCDEINT, MPEGTS, MPEG2VIDEO, SNOW_ENCODER) += $(FATE_MCDEINT)
|
2013-05-28 14:41:41 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, CODECVIEW, RM, RV40) += fate-filter-codecview-mvs
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-codecview-mvs: CMD = framecrc -flags2 +export_mvs -i $(TARGET_SAMPLES)/real/spygames-2MB.rmvb -vf codecview=mv=pf+bf+bb -frames:v 60 -an
|
2014-08-18 17:32:26 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, SHOWPALETTE SCALE, FLIC, FLIC) += fate-filter-showpalette
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-filter-showpalette: CMD = framecrc -i $(TARGET_SAMPLES)/fli/fli-engines.fli -vf showpalette=3,scale -pix_fmt bgra
|
2015-01-15 12:39:06 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_PALETTEGEN-$(call FILTERDEMDEC, SCALE PALETTEGEN, MATROSKA, H264) += fate-filter-palettegen-1 fate-filter-palettegen-2
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-filter-palettegen-1: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -vf scale,palettegen,scale -pix_fmt bgra
|
|
|
|
fate-filter-palettegen-2: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -vf scale,palettegen=max_colors=128:reserve_transparent=0:stats_mode=diff,scale -pix_fmt bgra
|
2015-02-23 14:51:06 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
fate-filter-palettegen: $(FATE_FILTER_PALETTEGEN-yes)
|
|
|
|
FATE_FILTER_SAMPLES-yes += $(FATE_FILTER_PALETTEGEN-yes)
|
2015-02-23 14:51:06 +02:00
|
|
|
|
2015-02-23 14:51:15 +02:00
|
|
|
FATE_FILTER_PALETTEUSE += fate-filter-paletteuse-nodither
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-paletteuse-nodither: CMD = framecrc -auto_conversion_filters -i $(TARGET_SAMPLES)/filter/anim.mkv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=none -pix_fmt bgra
|
2015-02-23 14:51:15 +02:00
|
|
|
|
|
|
|
FATE_FILTER_PALETTEUSE += fate-filter-paletteuse-bayer
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-paletteuse-bayer: CMD = framecrc -auto_conversion_filters -i $(TARGET_SAMPLES)/filter/anim.mkv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=bayer -pix_fmt bgra
|
2015-02-23 14:51:15 +02:00
|
|
|
|
vf_paletteuse: fix color cache lookup for Bayer dithering mode.
To trigger this bug, use `paletteuse=dither=bayer:bayer_scale=0`; you will see
that adjacent pixel lines will use the same dither pattern, instead of being
shifted from each other by 32 units (0x20).
One way to demostrate the bug is:
$ convert -size 64x256 gradient:black-white -rotate 270 grad.png
$ echo 'P2 2 1 255 0 255' > bw.pnm
$ ffmpeg -i grad.png -filter_complex 'movie=bw.pnm,scale=256x1[bw]; [0:v][bw]paletteuse=dither=bayer:bayer_scale=0' gradbw.png
Previously: https://www.rm.cloudns.org/img/uploaded/0bd152c11b9cd99e5945115534b1bdde.png
Now: https://www.rm.cloudns.org/img/uploaded/89caaa5e36c38bc2c01755b30811f969.png
This was caused by passing inconsistent color vs (a,r,g,b) parameters to
color_get(), and NBITS being 5 meaning actually hitting the same cache node
does happen in this case, but ONLY if bayer_scale is zero.
The fix is passing the correct color value to color_get().
Also added a previous-failing FATE test; image comparison of the first frame:
Previously: https://www.rm.cloudns.org/img/uploaded/d0ff9db8d8a7d8a3b8b88bbe92bf5fed.png
Now: https://www.rm.cloudns.org/img/uploaded/a72389707e719b5cd1c58916a9e79ca8.png
(on this less synthetic test image, the bug basically causes noise from cache
hits vs misses)
Tested: FATE passes, which exercises this filter but at the default bayer_scale.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
2022-01-10 20:25:31 +02:00
|
|
|
FATE_FILTER_PALETTEUSE += fate-filter-paletteuse-bayer0
|
|
|
|
fate-filter-paletteuse-bayer0: CMD = framecrc -auto_conversion_filters -i $(TARGET_SAMPLES)/filter/anim.mkv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=bayer:bayer_scale=0 -pix_fmt bgra
|
|
|
|
|
2015-02-23 14:51:15 +02:00
|
|
|
FATE_FILTER_PALETTEUSE += fate-filter-paletteuse-sierra2_4a
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-paletteuse-sierra2_4a: CMD = framecrc -auto_conversion_filters -i $(TARGET_SAMPLES)/filter/anim.mkv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=sierra2_4a:diff_mode=rectangle -pix_fmt bgra
|
2015-02-23 14:51:15 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_PALETTEUSE-$(call FILTERDEMDEC, PALETTEUSE SCALE, MATROSKA IMAGE2, H264 PNG) += $(FATE_FILTER_PALETTEUSE)
|
|
|
|
|
|
|
|
fate-filter-paletteuse: $(FATE_FILTER_PALETTEUSE-yes)
|
|
|
|
FATE_FILTER_SAMPLES-yes += $(FATE_FILTER_PALETTEUSE-yes)
|
2013-04-16 17:46:40 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, LIFE, LAVFI_INDEV) += fate-filter-lavd-life
|
2013-04-29 22:34:02 +03:00
|
|
|
fate-filter-lavd-life: CMD = framecrc -f lavfi -i life=s=40x40:r=5:seed=42:mold=64:ratio=0.1:death_color=red:life_color=green -t 2
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC, LAVFI_INDEV) += fate-filter-lavd-testsrc
|
2013-04-29 22:34:02 +03:00
|
|
|
fate-filter-lavd-testsrc: CMD = framecrc -f lavfi -i testsrc=r=7:n=2:d=10
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2) += $(addprefix fate-filter-testsrc2-, yuv420p yuv444p rgb24 rgba)
|
|
|
|
fate-filter-testsrc2-%: CMD = framecrc -lavfi testsrc2=r=7:d=10 -pix_fmt $(word 4, $(subst -, ,$(@)))
|
2015-10-25 17:31:00 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, ALLRGB) += fate-filter-allrgb
|
2017-08-17 14:40:40 +02:00
|
|
|
fate-filter-allrgb: CMD = framecrc -lavfi allrgb=rate=5:duration=1 -pix_fmt rgb24
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, ALLYUV) += fate-filter-allyuv
|
2017-08-17 14:40:40 +02:00
|
|
|
fate-filter-allyuv: CMD = framecrc -lavfi allyuv=rate=5:duration=1 -pix_fmt yuv444p
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, PAL75BARS) += fate-filter-pal75bars
|
2018-05-08 11:43:50 +02:00
|
|
|
fate-filter-pal75bars: CMD = framecrc -lavfi pal75bars=rate=5:duration=1 -pix_fmt yuv420p
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, PAL100BARS) += fate-filter-pal100bars
|
2018-05-08 11:43:50 +02:00
|
|
|
fate-filter-pal100bars: CMD = framecrc -lavfi pal100bars=rate=5:duration=1 -pix_fmt yuv420p
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc
|
2017-08-17 14:40:40 +02:00
|
|
|
fate-filter-rgbtestsrc: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt rgb24
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, SMPTEBARS) += fate-filter-smptebars
|
2017-08-17 14:40:40 +02:00
|
|
|
fate-filter-smptebars: CMD = framecrc -lavfi smptebars=rate=5:duration=1 -pix_fmt yuv420p
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, SMPTEHDBARS) += fate-filter-smptehdbars
|
2017-08-17 14:40:40 +02:00
|
|
|
fate-filter-smptehdbars: CMD = framecrc -lavfi smptehdbars=rate=5:duration=1 -pix_fmt yuv444p
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-yuv444p
|
2017-08-17 14:40:40 +02:00
|
|
|
fate-filter-yuvtestsrc-yuv444p: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt yuv444p
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC SCALE) += fate-filter-yuvtestsrc-yuv444p12
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-filter-yuvtestsrc-yuv444p12: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1,format=yuv444p12,scale -pix_fmt yuv444p12le
|
2017-08-17 14:40:40 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC FORMAT CONCAT SCALE, LAVFI_INDEV FILE_PROTOCOL) += fate-filter-lavd-scalenorm
|
2014-06-04 21:13:40 +03:00
|
|
|
fate-filter-lavd-scalenorm: tests/data/filtergraphs/scalenorm
|
|
|
|
fate-filter-lavd-scalenorm: CMD = framecrc -f lavfi -graph_file $(TARGET_PATH)/tests/data/filtergraphs/scalenorm -i dummy
|
2013-04-29 22:34:02 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, FRAMERATE TESTSRC2) += fate-filter-framerate-up fate-filter-framerate-down
|
2017-03-11 21:18:55 +02:00
|
|
|
fate-filter-framerate-up: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=10 -t 1
|
|
|
|
fate-filter-framerate-down: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=1 -t 1
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, FRAMERATE TESTSRC2 FORMAT SCALE) += fate-filter-framerate-12bit-up fate-filter-framerate-12bit-down
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-filter-framerate-12bit-up: CMD = framecrc -lavfi testsrc2=r=50:d=1,format=pix_fmts=yuv422p12le,scale,framerate=fps=60,scale -t 1 -pix_fmt yuv422p12le
|
|
|
|
fate-filter-framerate-12bit-down: CMD = framecrc -lavfi testsrc2=r=60:d=1,format=pix_fmts=yuv422p12le,scale,framerate=fps=50,scale -t 1 -pix_fmt yuv422p12le
|
2017-12-10 01:07:17 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, MINTERPOLATE TESTSRC2) += fate-filter-minterpolate-up fate-filter-minterpolate-down
|
2020-08-14 02:30:49 +02:00
|
|
|
fate-filter-minterpolate-up: CMD = framecrc -lavfi testsrc2=r=2:d=10,minterpolate=fps=10 -t 1
|
|
|
|
fate-filter-minterpolate-down: CMD = framecrc -lavfi testsrc2=r=2:d=10,minterpolate=fps=1 -t 1
|
2019-09-20 05:08:36 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur
|
2013-04-16 17:46:40 +03:00
|
|
|
fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1
|
2012-07-09 13:09:58 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, COLORCHANNELMIXER_FILTER SCALE_FILTER FORMAT_FILTER PERMS_FILTER) += fate-filter-colorchannelmixer
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-colorchannelmixer: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf scale,format=rgb24,perms=random,colorchannelmixer=.31415927:.4:.31415927:0:.27182818:.8:.27182818:0:.2:.6:.2:0 -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
2013-05-13 13:24:16 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_DRAWBOX_FILTER) += fate-filter-drawbox
|
2013-04-29 22:43:32 +03:00
|
|
|
fate-filter-drawbox: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf drawbox=224:24:88:72:red@0.5
|
2013-03-13 13:03:08 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_FADE_FILTER) += fate-filter-fade
|
2013-04-29 20:52:23 +03:00
|
|
|
fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:5:15,fade=out:30:15
|
2013-03-13 13:03:08 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, INTERLACE_FILTER SCALE_FILTER FIELDORDER_FILTER) += fate-filter-fieldorder
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=tff,scale,fieldorder=bff -sws_flags +accurate_rnd+bitexact
|
2013-10-13 13:41:47 +03:00
|
|
|
|
2013-11-05 18:00:49 +03:00
|
|
|
FPMODES = columns frameseq lines sbs tab
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_FRAMEPACK := $(addprefix fate-filter-framepack-, $(FPMODES))
|
|
|
|
$(FATE_FILTER_FRAMEPACK): CMD = framecrc -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -filter_complex framepack=$(@:fate-filter-framepack-%=%) -frames 15
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_FRAMEPACK_FILTER) += $(FATE_FILTER_FRAMEPACK)
|
2014-12-30 15:28:54 +02:00
|
|
|
fate-filter-framepack: $(FATE_FILTER_FRAMEPACK)
|
2013-11-05 18:00:49 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
|
2013-03-13 13:03:08 +03:00
|
|
|
fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_HQDN3D_FILTER) += fate-filter-hqdn3d
|
2013-03-13 13:03:08 +03:00
|
|
|
fate-filter-hqdn3d: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf hqdn3d
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_INTERLACE_FILTER) += fate-filter-interlace
|
2013-04-04 16:39:40 +03:00
|
|
|
fate-filter-interlace: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_INTERLACE_FILTER) += fate-filter-interlace-complex
|
2017-04-20 23:33:39 +02:00
|
|
|
fate-filter-interlace-complex: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=lowpass=complex
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, NEGATE_FILTER PERMS_FILTER) += fate-filter-negate
|
2013-04-17 13:07:46 +03:00
|
|
|
fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf perms=random,negate
|
2013-03-13 13:03:08 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-levels
|
2013-04-16 04:52:51 +03:00
|
|
|
fate-filter-histogram-levels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
2013-04-15 19:40:26 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_column
|
2015-08-22 23:16:56 +02:00
|
|
|
fate-filter-waveform_column: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_row
|
2015-08-22 23:16:56 +02:00
|
|
|
fate-filter-waveform_row: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=m=row -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_envelope
|
2015-08-22 23:16:56 +02:00
|
|
|
fate-filter-waveform_envelope: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=e=3 -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_uv
|
2015-08-22 23:16:56 +02:00
|
|
|
fate-filter-waveform_uv: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=c=6 -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
2013-04-15 19:40:26 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_gray
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-vectorscope_gray: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=gray -sws_flags +accurate_rnd+bitexact -frames:v 3
|
2015-08-24 09:43:04 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-vectorscope_color: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color -sws_flags +accurate_rnd+bitexact -frames:v 3
|
2015-08-24 09:43:04 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color2
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-vectorscope_color2: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color2 -sws_flags +accurate_rnd+bitexact -frames:v 3
|
2015-08-24 09:43:04 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color3
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-vectorscope_color3: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color3 -sws_flags +accurate_rnd+bitexact -frames:v 3
|
2015-08-24 09:43:04 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color4
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-vectorscope_color4: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color4 -sws_flags +accurate_rnd+bitexact -frames:v 3
|
2015-08-29 15:40:25 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, VECTORSCOPE_FILTER SCALE_FILTER) += fate-filter-vectorscope_xy
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-vectorscope_xy: CMD = framecrc -auto_conversion_filters -c:v pgmyuv -i $(SRC) -vf vectorscope=x=0:y=1 -sws_flags +accurate_rnd+bitexact -frames:v 3
|
2015-08-24 09:43:04 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_MERGEPLANES_FILTER) += fate-filter-mergeplanes
|
2015-07-17 14:52:22 +02:00
|
|
|
fate-filter-mergeplanes: tests/data/filtergraphs/mergeplanes
|
|
|
|
fate-filter-mergeplanes: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/mergeplanes
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_HSTACK_FILTER) += fate-filter-hstack
|
2016-09-09 12:49:15 +02:00
|
|
|
fate-filter-hstack: tests/data/filtergraphs/hstack
|
|
|
|
fate-filter-hstack: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/hstack
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_VSTACK_FILTER) += fate-filter-vstack
|
2016-09-09 12:49:15 +02:00
|
|
|
fate-filter-vstack: tests/data/filtergraphs/vstack
|
|
|
|
fate-filter-vstack: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/vstack
|
|
|
|
|
2022-05-17 19:31:08 +02:00
|
|
|
FATE_FILTER_OVERLAY-$(call FILTERDEMDEC, SCALE OVERLAY, IMAGE2, PGMYUV) += fate-filter-overlay
|
|
|
|
fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(FILTERGRAPH)
|
|
|
|
|
|
|
|
FATE_FILTER_OVERLAY-$(call FILTERDEMDEC, SPLIT SCALE PAD OVERLAY, IMAGE2, PGMYUV) += $(addprefix fate-filter-overlay_, rgb yuv420 yuv420p10 nv12 nv21 yuv422 yuv422p10 yuv444)
|
|
|
|
fate-filter-overlay_%: CMD = framecrc -auto_conversion_filters -c:v pgmyuv -i $(SRC) -filter_complex_script $(FILTERGRAPH)
|
|
|
|
fate-filter-overlay_yuv420: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(FILTERGRAPH)
|
|
|
|
fate-filter-overlay_%p10: CMD = framecrc -auto_conversion_filters -c:v pgmyuv -i $(SRC) -filter_complex_script $(FILTERGRAPH) -pix_fmt $(@:fate-filter-overlay_%=%)le -frames:v 3
|
|
|
|
|
|
|
|
$(addprefix fate-filter-overlay_, nv12 nv21): REF = $(SRC_PATH)/tests/ref/fate/filter-overlay_yuv420
|
|
|
|
|
|
|
|
FATE_FILTER_OVERLAY_SAMPLES-$(call FILTERDEMDEC, SCALE OVERLAY, MATROSKA, H264 DVDSUB) += fate-filter-overlay-dvdsub-2397
|
|
|
|
fate-filter-overlay-dvdsub-2397: CMD = framecrc -auto_conversion_filters -flags bitexact -i $(TARGET_SAMPLES)/filter/242_4.mkv -filter_complex_script $(FILTERGRAPH) -c:a copy
|
|
|
|
|
|
|
|
FATE_FILTER_OVERLAY := $(FATE_FILTER_OVERLAY-yes) $(FATE_FILTER_OVERLAY_SAMPLES-yes)
|
|
|
|
$(FATE_FILTER_OVERLAY): FILTERGRAPH = $(TARGET_PATH)/tests/data/filtergraphs/$(@:fate-filter-%=%)
|
|
|
|
$(FATE_FILTER_OVERLAY): fate-filter-%: tests/data/filtergraphs/%
|
|
|
|
FATE_FILTER_VSYNTH-yes += $(FATE_FILTER_OVERLAY-yes)
|
|
|
|
|
|
|
|
FATE_FILTER_OVERLAY_ALPHA-$(call FILTERDEMDEC, COLOR FORMAT OVERLAY SCALE, IMAGE_PNG_PIPE, PNG) := yuv420_yuva420 yuv422_yuva422 yuv444_yuva444 gbrp_gbrap yuva420_yuva420 yuva422_yuva422 yuva444_yuva444 gbrap_gbrap
|
|
|
|
FATE_FILTER_OVERLAY_ALPHA-$(call FILTERDEMDEC, COLOR FORMAT OVERLAY, IMAGE_PNG_PIPE, PNG) += rgb_rgba rgba_rgba
|
|
|
|
FATE_FILTER_OVERLAY_ALPHA := $(addprefix fate-filter-overlay_, $(FATE_FILTER_OVERLAY_ALPHA-yes))
|
2017-08-11 01:10:19 +02:00
|
|
|
$(FATE_FILTER_OVERLAY_ALPHA): SRC = $(TARGET_SAMPLES)/png1/lena-rgba.png
|
|
|
|
$(FATE_FILTER_OVERLAY_ALPHA): CMD = framecrc -i $(SRC) -sws_flags +accurate_rnd+bitexact -vf $(FILTER) -frames:v 1
|
|
|
|
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-overlay_yuv420_yuva420: FILTER = "scale,format=yuva420p[over];color=black:128x128,format=yuv420p[main];[main][over]overlay=format=yuv420"
|
|
|
|
fate-filter-overlay_yuv422_yuva422: FILTER = "scale,format=yuva422p[over];color=black:128x128,format=yuv422p[main];[main][over]overlay=format=yuv422"
|
|
|
|
fate-filter-overlay_yuv444_yuva444: FILTER = "scale,format=yuva444p[over];color=black:128x128,format=yuv444p[main];[main][over]overlay=format=yuv444"
|
2022-05-17 19:31:08 +02:00
|
|
|
fate-filter-overlay_rgb_rgba: FILTER = "format=rgba[over];color=black:128x128,format=rgb24[main];[main][over]overlay=format=rgb"
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-overlay_gbrp_gbrap: FILTER = "scale,format=gbrap[over];color=black:128x128,format=gbrp[main];[main][over]overlay=format=gbrp"
|
2017-08-11 01:10:19 +02:00
|
|
|
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-overlay_yuva420_yuva420: FILTER = "scale,format=yuva420p[over];color=black:128x128,format=yuva420p[main];[main][over]overlay=format=yuv420"
|
|
|
|
fate-filter-overlay_yuva422_yuva422: FILTER = "scale,format=yuva422p[over];color=black:128x128,format=yuva422p[main];[main][over]overlay=format=yuv422"
|
|
|
|
fate-filter-overlay_yuva444_yuva444: FILTER = "scale,format=yuva444p[over];color=black:128x128,format=yuva444p[main];[main][over]overlay=format=yuv444"
|
2022-05-17 19:31:08 +02:00
|
|
|
fate-filter-overlay_rgba_rgba: FILTER = "format=rgba[over];color=black:128x128,format=rgba[main];[main][over]overlay=format=rgb"
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-overlay_gbrap_gbrap: FILTER = "scale,format=gbrap[over];color=black:128x128,format=gbrap[main];[main][over]overlay=format=gbrp"
|
2017-08-11 01:10:19 +02:00
|
|
|
|
2022-05-17 19:31:08 +02:00
|
|
|
FATE_FILTER_SAMPLES-yes += $(FATE_FILTER_OVERLAY_SAMPLES-yes) $(FATE_FILTER_OVERLAY_ALPHA)
|
|
|
|
fate-filter-overlays: $(FATE_FILTER_OVERLAY) $(FATE_FILTER_OVERLAY_ALPHA)
|
2017-08-11 01:10:19 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_PHASE_FILTER) += fate-filter-phase
|
2013-09-27 12:22:49 +03:00
|
|
|
fate-filter-phase: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf phase
|
|
|
|
|
2022-05-16 23:39:54 +02:00
|
|
|
FATE_REMOVEGRAIN := 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 \
|
|
|
|
16 17 18 19 20 21 22 23 24
|
|
|
|
FATE_REMOVEGRAIN := $(addprefix fate-filter-removegrain-mode-, $(FATE_REMOVEGRAIN))
|
|
|
|
$(FATE_REMOVEGRAIN): MODE = $(word 5, $(subst -, ,$(@)))
|
|
|
|
$(FATE_REMOVEGRAIN): CMD = framecrc -c:v pgmyuv -i $(SRC) -frames:v 1 -vf removegrain=$(MODE):$(MODE):$(MODE)
|
|
|
|
FATE_REMOVEGRAIN-$(call FILTERDEMDEC, REMOVEGRAIN, IMAGE2, PGMYUV) += $(FATE_REMOVEGRAIN)
|
|
|
|
fate-filter-removegrain: $(FATE_REMOVEGRAIN-yes)
|
|
|
|
FATE_FILTER_VSYNTH-yes += $(FATE_REMOVEGRAIN-yes)
|
2015-07-09 10:00:50 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_SEPARATEFIELDS_FILTER) += fate-filter-separatefields
|
2013-04-30 13:22:16 +03:00
|
|
|
fate-filter-separatefields: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf separatefields
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_WEAVE_FILTER) += fate-filter-weave
|
2017-08-16 13:29:34 +02:00
|
|
|
fate-filter-weave: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf weave=bottom
|
2016-09-09 11:55:45 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_SELECT_FILTER) += fate-filter-select-alternate
|
2013-11-17 19:22:56 +03:00
|
|
|
fate-filter-select-alternate: tests/data/filtergraphs/select-alternate
|
|
|
|
fate-filter-select-alternate: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(TARGET_PATH)/tests/data/filtergraphs/select-alternate
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, SETPTS_FILTER SETTB_FILTER) += fate-filter-setpts
|
2013-05-20 01:46:21 +03:00
|
|
|
fate-filter-setpts: tests/data/filtergraphs/setpts
|
|
|
|
fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(TARGET_PATH)/tests/data/filtergraphs/setpts
|
2013-03-13 13:03:08 +03:00
|
|
|
|
2016-09-08 11:14:42 +02:00
|
|
|
FATE_SHUFFLEFRAMES += fate-filter-shuffleframes
|
|
|
|
fate-filter-shuffleframes: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf shuffleframes="2|1|0"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_SHUFFLEFRAMES_FILTER) += $(FATE_SHUFFLEFRAMES)
|
2016-09-08 11:14:42 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_SHUFFLEPLANES-$(call ALLYES, SCALE_FILTER SHUFFLEPLANES_FILTER) += fate-filter-shuffleplanes-dup-luma
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-shuffleplanes-dup-luma: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf scale,format=yuva444p,shuffleplanes=0:0:0:0
|
2014-02-24 13:32:16 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_SHUFFLEPLANES-$(CONFIG_SHUFFLEPLANES_FILTER) += fate-filter-shuffleplanes-swapuv
|
2019-10-18 23:19:50 +02:00
|
|
|
fate-filter-shuffleplanes-swapuv: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf shuffleplanes=0:2:1:0
|
2014-02-24 13:32:16 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-yes += $(FATE_SHUFFLEPLANES-yes)
|
2014-02-24 13:32:16 +03:00
|
|
|
|
2016-09-09 00:57:01 +02:00
|
|
|
FATE_SWAPRECT += fate-filter-swaprect
|
|
|
|
fate-filter-swaprect: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf swaprect
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_SWAPRECT_FILTER) += $(FATE_SWAPRECT)
|
2016-09-09 00:57:01 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_TBLEND_FILTER) += fate-filter-tblend
|
2015-07-18 04:30:59 +02:00
|
|
|
fate-filter-tblend: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf tblend=all_mode=difference128
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_TELECINE_FILTER) += fate-filter-telecine
|
2013-04-30 13:08:42 +03:00
|
|
|
fate-filter-telecine: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf telecine
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 TPAD) += fate-filter-tpad-add fate-filter-tpad-clone
|
2022-03-17 13:06:42 +02:00
|
|
|
fate-filter-tpad-add: CMD = framecrc -lavfi testsrc2=d=1:r=2,tpad=start=1:stop=3:color=gray
|
|
|
|
fate-filter-tpad-clone: CMD = framecrc -lavfi testsrc2=d=1:r=2,tpad=start=1:stop=2:stop_mode=clone:color=black
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-transpose
|
2013-03-13 13:03:08 +03:00
|
|
|
fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose
|
|
|
|
|
2013-04-02 20:30:11 +03:00
|
|
|
FATE_TRIM += fate-filter-trim-duration
|
|
|
|
fate-filter-trim-duration: CMD = framecrc -i $(SRC) -vf trim=start=0.4:duration=0.05
|
|
|
|
|
|
|
|
FATE_TRIM += fate-filter-trim-frame
|
|
|
|
fate-filter-trim-frame: CMD = framecrc -i $(SRC) -vf trim=start_frame=3:end_frame=10
|
|
|
|
|
|
|
|
FATE_TRIM += fate-filter-trim-mixed
|
|
|
|
fate-filter-trim-mixed: CMD = framecrc -i $(SRC) -vf trim=start=0.2:end=0.4:start_frame=1:end_frame=3
|
|
|
|
|
|
|
|
FATE_TRIM += fate-filter-trim-time
|
2013-05-05 08:59:46 +03:00
|
|
|
fate-filter-trim-time: CMD = framecrc -i $(SRC) -vf trim=0:0.09
|
2013-04-02 20:30:11 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(call FILTERDEMDEC, TRIM, IMAGE2, PGM) += $(FATE_TRIM)
|
2013-04-02 20:30:11 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 UNTILE) += fate-filter-untile
|
2020-04-16 22:25:24 +02:00
|
|
|
fate-filter-untile: CMD = framecrc -lavfi testsrc2=d=1:r=2,untile=2x2
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp
|
2013-04-29 20:52:23 +03:00
|
|
|
fate-filter-unsharp: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf unsharp=11:11:-1.5:11:11:-1.5
|
2013-03-13 13:03:08 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(call FILTERFRAMECRC, TESTSRC2 SCALE UNSHARP) += fate-filter-unsharp-yuv420p10
|
2020-11-02 01:30:21 +02:00
|
|
|
fate-filter-unsharp-yuv420p10: CMD = framecrc -lavfi testsrc2=r=2:d=10,scale,format=yuv420p10,unsharp=11:11:-1.5:11:11:-1.5,scale -pix_fmt yuv420p10le -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, PERMS HQDN3D, SMJPEG, MJPEG) += fate-filter-hqdn3d-sample
|
2014-06-04 21:13:40 +03:00
|
|
|
fate-filter-hqdn3d-sample: tests/data/filtergraphs/hqdn3d
|
|
|
|
fate-filter-hqdn3d-sample: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/smjpeg/scenwin.mjpg -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/hqdn3d -an
|
2012-12-02 19:15:01 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_EPX-$(call FILTERDEMDEC, SCALE EPX, IMAGE2, PNG) = fate-filter-ep2x fate-filter-ep3x
|
2022-03-15 00:08:55 +02:00
|
|
|
FATE_FILTER_SAMPLES-yes += $(FATE_FILTER_EPX-yes)
|
|
|
|
fate-filter-ep2x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,format=rgb32,epx=2,scale,format=bgra
|
|
|
|
fate-filter-ep3x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,format=rgb32,epx=3,scale,format=bgra
|
|
|
|
fate-filter-epx: $(FATE_FILTER_EPX-yes)
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_HQX-$(call FILTERDEMDEC, SCALE HQX, IMAGE2, PNG) = fate-filter-hq2x fate-filter-hq3x fate-filter-hq4x
|
2016-04-10 23:31:05 +02:00
|
|
|
FATE_FILTER_SAMPLES-yes += $(FATE_FILTER_HQX-yes)
|
2020-12-05 04:26:11 +02:00
|
|
|
fate-filter-hq2x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,format=rgb32,hqx=2,scale,format=bgra
|
|
|
|
fate-filter-hq3x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,format=rgb32,hqx=3,scale,format=bgra
|
|
|
|
fate-filter-hq4x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,format=rgb32,hqx=4,scale,format=bgra
|
2013-06-07 11:57:29 +03:00
|
|
|
fate-filter-hqx: $(FATE_FILTER_HQX-yes)
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_XBR-$(call FILTERDEMDEC, SCALE XBR, IMAGE2, PNG) = fate-filter-2xbr fate-filter-3xbr fate-filter-4xbr
|
2016-04-10 23:31:05 +02:00
|
|
|
FATE_FILTER_SAMPLES-yes += $(FATE_FILTER_XBR-yes)
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-2xbr: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,xbr=2,scale -pix_fmt bgra
|
|
|
|
fate-filter-3xbr: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,xbr=3,scale -pix_fmt bgra
|
|
|
|
fate-filter-4xbr: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,xbr=4,scale -pix_fmt bgra
|
2014-11-10 07:43:15 +02:00
|
|
|
fate-filter-xbr: $(FATE_FILTER_XBR-yes)
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, PERMS CURVES, AVI, UTVIDEO) += fate-filter-curves
|
2013-05-29 05:17:29 +03:00
|
|
|
fate-filter-curves: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_rgb_median.avi -vf perms=random,curves=vintage
|
2013-03-19 17:24:15 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, FORMAT PERMS GRADFUN SCALE, VMD, VMDVIDEO) += fate-filter-gradfun-sample
|
2014-06-04 21:13:40 +03:00
|
|
|
fate-filter-gradfun-sample: tests/data/filtergraphs/gradfun
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-gradfun-sample: CMD = framecrc -auto_conversion_filters -i $(TARGET_SAMPLES)/vmd/12.vmd -filter_script $(TARGET_PATH)/tests/data/filtergraphs/gradfun -an -frames:v 20
|
2012-12-02 21:52:33 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC SINE CONCAT, FILE_PROTOCOL) += fate-filter-concat fate-filter-concat-vfr
|
2014-06-04 21:13:40 +03:00
|
|
|
fate-filter-concat: tests/data/filtergraphs/concat
|
|
|
|
fate-filter-concat: CMD = framecrc -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/concat
|
2019-08-30 19:28:17 +02:00
|
|
|
fate-filter-concat-vfr: tests/data/filtergraphs/concat-vfr
|
|
|
|
fate-filter-concat-vfr: CMD = framecrc -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/concat-vfr
|
2013-03-21 15:42:44 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 CHROMASHIFT) += fate-filter-chromashift-smear fate-filter-chromashift-wrap
|
2022-03-14 22:11:10 +02:00
|
|
|
fate-filter-chromashift-smear: CMD = framecrc -lavfi testsrc2=r=5:d=1,chromashift=cbh=-1:cbv=1:crh=2:crv=-2:edge=smear -pix_fmt yuv420p
|
|
|
|
fate-filter-chromashift-wrap: CMD = framecrc -lavfi testsrc2=r=5:d=1,chromashift=cbh=-1:cbv=1:crh=2:crv=-2:edge=wrap -pix_fmt yuv420p
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 FPS DECIMATE) += fate-filter-decimate
|
2022-03-13 23:07:57 +02:00
|
|
|
fate-filter-decimate: CMD = framecrc -lavfi testsrc2=r=24:d=10,fps=60,decimate=5,decimate=4,decimate=3 -pix_fmt yuv420p
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 FPS MPDECIMATE) += fate-filter-mpdecimate
|
2015-10-25 21:40:48 +02:00
|
|
|
fate-filter-mpdecimate: CMD = framecrc -lavfi testsrc2=r=2:d=10,fps=3,mpdecimate -r 3 -pix_fmt yuv420p
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call FILTERFRAMECRC, FPS TESTSRC2) += $(addprefix fate-filter-fps-, up up-round-down up-round-up down down-round-down down-round-up down-eof-pass start-drop start-fill)
|
2018-02-16 22:02:02 +02:00
|
|
|
fate-filter-fps-up: CMD = framecrc -lavfi testsrc2=r=3:d=2,fps=7
|
|
|
|
fate-filter-fps-up-round-down: CMD = framecrc -lavfi testsrc2=r=3:d=2,fps=7:round=down
|
|
|
|
fate-filter-fps-up-round-up: CMD = framecrc -lavfi testsrc2=r=3:d=2,fps=7:round=up
|
|
|
|
fate-filter-fps-down: CMD = framecrc -lavfi testsrc2=r=7:d=3.5,fps=3
|
|
|
|
fate-filter-fps-down-round-down: CMD = framecrc -lavfi testsrc2=r=7:d=3.5,fps=3:round=down
|
|
|
|
fate-filter-fps-down-round-up: CMD = framecrc -lavfi testsrc2=r=7:d=3.5,fps=3:round=up
|
|
|
|
fate-filter-fps-down-eof-pass: CMD = framecrc -lavfi testsrc2=r=7:d=3.5,fps=3:eof_action=pass
|
2018-02-20 02:54:35 +02:00
|
|
|
fate-filter-fps-start-drop: CMD = framecrc -lavfi testsrc2=r=7:d=3.5,fps=3:start_time=1.5
|
|
|
|
fate-filter-fps-start-fill: CMD = framecrc -lavfi testsrc2=r=7:d=1.5,setpts=PTS+14,fps=3:start_time=1.5
|
2018-02-16 22:02:02 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, FPS SCALE, MOV, QTRLE) += fate-filter-fps-cfr fate-filter-fps fate-filter-fps-r
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-fps-cfr: CMD = framecrc -auto_conversion_filters -i $(TARGET_SAMPLES)/qtrle/apple-animation-variable-fps-bug.mov -r 30 -vsync cfr -pix_fmt yuv420p
|
|
|
|
fate-filter-fps-r: CMD = framecrc -auto_conversion_filters -i $(TARGET_SAMPLES)/qtrle/apple-animation-variable-fps-bug.mov -r 30 -vf fps -pix_fmt yuv420p
|
|
|
|
fate-filter-fps: CMD = framecrc -auto_conversion_filters -i $(TARGET_SAMPLES)/qtrle/apple-animation-variable-fps-bug.mov -vf fps=30 -pix_fmt yuv420p
|
2016-02-29 01:52:26 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_ALPHAEXTRACT_ALPHAMERGE := $(addprefix fate-filter-alphaextract_alphamerge_, rgb yuv)
|
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, SCALE_FILTER FORMAT_FILTER SPLIT_FILTER ALPHAEXTRACT_FILTER ALPHAMERGE_FILTER) += $(FATE_FILTER_ALPHAEXTRACT_ALPHAMERGE)
|
|
|
|
$(FATE_FILTER_ALPHAEXTRACT_ALPHAMERGE): fate-filter-alphaextract_alphamerge_%: tests/data/filtergraphs/alphamerge_alphaextract_%
|
|
|
|
$(FATE_FILTER_ALPHAEXTRACT_ALPHAMERGE): CMD = framecrc -auto_conversion_filters -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/alphamerge_alphaextract$(@:fate-filter-alphaextract_alphamerge%=%)
|
2013-04-29 21:59:52 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_CROP_FILTER) += fate-filter-crop
|
2013-04-16 00:39:08 +03:00
|
|
|
fate-filter-crop: CMD = video_filter "crop=iw-100:ih-100:100:100"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, CROP_FILTER SCALE_FILTER) += fate-filter-crop_scale
|
2013-07-10 20:37:05 +03:00
|
|
|
fate-filter-crop_scale: CMD = video_filter "crop=iw-100:ih-100:100:100,scale=w=400:h=-1"
|
2013-04-16 00:39:08 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, CROP_FILTER SCALE_FILTER VFLIP_FILTER) += fate-filter-crop_scale_vflip
|
2013-07-10 20:37:05 +03:00
|
|
|
fate-filter-crop_scale_vflip: CMD = video_filter "null,null,crop=iw-200:ih-200:200:200,crop=iw-20:ih-20:20:20,scale=w=200:h=200,scale=w=250:h=250,vflip,vflip,null,scale=w=200:h=200,crop=iw-100:ih-100:100:100,vflip,scale=w=200:h=200,null,vflip,crop=iw-100:ih-100:100:100,null"
|
2013-04-16 00:39:08 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-crop_vflip
|
2013-04-16 00:39:08 +03:00
|
|
|
fate-filter-crop_vflip: CMD = video_filter "crop=iw-100:ih-100:100:100,vflip"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_NULL_FILTER) += fate-filter-null
|
2013-04-16 00:39:08 +03:00
|
|
|
fate-filter-null: CMD = video_filter "null"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_SCALE_FILTER) += fate-filter-scale200
|
2013-07-10 20:37:05 +03:00
|
|
|
fate-filter-scale200: CMD = video_filter "scale=w=200:h=200"
|
2013-04-16 00:39:08 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_SCALE_FILTER) += fate-filter-scale500
|
2013-07-10 20:37:05 +03:00
|
|
|
fate-filter-scale500: CMD = video_filter "scale=w=500:h=500"
|
2013-04-16 00:39:08 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, TESTSRC_FILTER SCALE2REF_FILTER NULLSINK_FILTER FRAMEMD5_MUXER FILE_PROTOCOL PIPE_PROTOCOL) += fate-filter-scale2ref_keep_aspect
|
2017-06-04 09:53:31 +02:00
|
|
|
fate-filter-scale2ref_keep_aspect: tests/data/filtergraphs/scale2ref_keep_aspect
|
|
|
|
fate-filter-scale2ref_keep_aspect: CMD = framemd5 -frames:v 5 -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/scale2ref_keep_aspect -map "[main]"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(call FILTERDEMDEC, SCALE, RAWVIDEO, RAWVIDEO) += fate-filter-scalechroma
|
2015-09-23 15:06:02 +02:00
|
|
|
fate-filter-scalechroma: tests/data/vsynth1.yuv
|
2019-12-11 22:52:59 +02:00
|
|
|
fate-filter-scalechroma: CMD = framecrc -flags bitexact -s 352x288 -pix_fmt yuv444p -i $(TARGET_PATH)/tests/data/vsynth1.yuv -pix_fmt yuv420p -sws_flags +bitexact -vf scale=out_v_chr_pos=33:out_h_chr_pos=151
|
2015-09-23 15:06:02 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip
|
2013-04-16 00:39:08 +03:00
|
|
|
fate-filter-vflip: CMD = video_filter "vflip"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, SCALE_FILTER FORMAT_FILTER COLORLEVELS_FILTER) += fate-filter-colorlevels fate-filter-colorlevels-16
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-colorlevels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf scale,format=rgb24,colorlevels -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-filter-colorlevels-16: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf scale,format=rgb48,colorlevels,scale -pix_fmt rgb48le -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
2019-10-23 12:27:41 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, SCALE_FILTER FORMAT_FILTER COLORBALANCE_FILTER) += fate-filter-colorbalance fate-filter-colorbalance-gbrap fate-filter-colorbalance-rgba64 fate-filter-colorbalance-gbrap-16
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-colorbalance: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf scale,format=rgb24,colorbalance=rs=.2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -frames:v 3
|
|
|
|
fate-filter-colorbalance-gbrap: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf scale,format=gbrap,colorbalance=gh=.2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -frames:v 3
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-filter-colorbalance-rgba64: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf scale,format=rgba64,colorbalance=rm=.2,scale -pix_fmt rgba64le -flags +bitexact -sws_flags +accurate_rnd+bitexact -frames:v 3
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-colorbalance-gbrap-16: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf scale,format=gbrap,colorbalance=bh=.2 -pix_fmt gbrap -flags +bitexact -sws_flags +accurate_rnd+bitexact -frames:v 3
|
2019-11-15 17:12:49 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_COLORMATRIX_FILTER) += fate-filter-colormatrix1 fate-filter-colormatrix2
|
2013-04-29 21:11:08 +03:00
|
|
|
fate-filter-colormatrix1: CMD = video_filter "colormatrix=bt601:smpte240m,colormatrix=smpte240m:fcc,colormatrix=fcc:bt601,colormatrix=bt601:fcc,colormatrix=fcc:smpte240m,colormatrix=smpte240m:bt709"
|
|
|
|
fate-filter-colormatrix2: CMD = video_filter "colormatrix=bt709:fcc,colormatrix=fcc:bt709,colormatrix=bt709:bt601,colormatrix=bt601:bt709,colormatrix=bt709:smpte240m,colormatrix=smpte240m:bt601"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-vflip_crop
|
2013-04-16 00:39:08 +03:00
|
|
|
fate-filter-vflip_crop: CMD = video_filter "vflip,crop=iw-100:ih-100:100:100"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip_vflip
|
2013-04-16 00:39:08 +03:00
|
|
|
fate-filter-vflip_vflip: CMD = video_filter "vflip,vflip"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, SCALE_FILTER FORMAT_FILTER PERMS_FILTER EDGEDETECT_FILTER) += fate-filter-edgedetect fate-filter-edgedetect-colormix
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-edgedetect: CMD = video_filter "scale,format=gray,perms=random,edgedetect" -frames:v 20
|
|
|
|
fate-filter-edgedetect-colormix: CMD = video_filter "scale,format=gbrp,perms=random,edgedetect=mode=colormix" -frames:v 20
|
2014-05-03 18:41:32 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, PERMS_FILTER HUE_FILTER) += fate-filter-hue1 fate-filter-hue2 fate-filter-hue3
|
2018-05-09 11:30:40 +02:00
|
|
|
fate-filter-hue1: CMD = video_filter "perms=random,hue=s=sin(2*PI*t)+1" -frames:v 20
|
|
|
|
fate-filter-hue2: CMD = video_filter "perms=random,hue=h=18*n" -frames:v 20
|
|
|
|
fate-filter-hue3: CMD = video_filter "perms=random,hue=b=n-10" -frames:v 20
|
2013-04-29 20:17:41 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, SCALE_FILTER FORMAT_FILTER PERMS_FILTER HUE_FILTER) += fate-filter-hue4
|
2020-09-14 21:23:20 +02:00
|
|
|
fate-filter-hue4: CMD = video_filter "scale,format=yuv422p10,perms=random,hue=h=18*n:s=n/10,scale" -frames:v 20 -pix_fmt yuv422p10le
|
2018-08-03 11:29:50 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(call FILTERDEMDEC, IDET, IMAGE2, PGM) += fate-filter-idet
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-idet: CMD = framecrc -flags bitexact -idct simple -i $(SRC) -vf idet -frames:v 25 -flags +bitexact
|
2013-04-29 20:17:41 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_PAD_FILTER) += fate-filter-pad
|
2013-04-29 20:17:41 +03:00
|
|
|
fate-filter-pad: CMD = video_filter "pad=iw*1.5:ih*1.5:iw*0.3:ih*0.2"
|
|
|
|
|
2014-09-18 15:02:33 +03:00
|
|
|
fate-filter-pp1: CMD = video_filter "pp=fq|4/be/hb/vb/tn/l5/al"
|
2020-04-17 10:32:12 +02:00
|
|
|
fate-filter-pp2: CMD = video_filter "qp=2*(x+y),pp=be/h1/v1/lb"
|
|
|
|
fate-filter-pp3: CMD = video_filter "qp=2*(x+y),pp=be/ha|128|7/va/li"
|
2013-04-29 20:17:41 +03:00
|
|
|
fate-filter-pp4: CMD = video_filter "pp=be/ci"
|
|
|
|
fate-filter-pp5: CMD = video_filter "pp=md"
|
|
|
|
fate-filter-pp6: CMD = video_filter "pp=be/fd"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_PP_FILTER) += $(addprefix fate-filter-, pp1 pp4 pp5 pp6)
|
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, PP_FILTER QP_FILTER) += fate-filter-pp2 fate-filter-pp3
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH1_MPEG4_QPRD-$(call FILTERDEMDEC, PP, AVI, MPEG4) += pp
|
|
|
|
fate-filter-pp: CMD = framecrc -flags bitexact -export_side_data venc_params -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "pp=be/hb/vb/tn/l5/al"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH1_MPEG4_QPRD-$(call FILTERDEMDEC, PP7, AVI, MPEG4) += pp7
|
2020-04-17 10:32:12 +02:00
|
|
|
fate-filter-pp7: CMD = framecrc -flags bitexact -export_side_data venc_params -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "pp7"
|
2020-04-18 21:28:12 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH1_MPEG4_QPRD-$(call FILTERDEMDEC, SPP, AVI, MPEG4) += spp
|
2020-04-17 10:32:12 +02:00
|
|
|
fate-filter-spp: CMD = framecrc -flags bitexact -export_side_data venc_params -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "spp=idct=simple:dct=int"
|
2020-04-18 21:28:12 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH1_MPEG4_QPRD-$(call FILTERDEMDEC, PP, AVI, MPEG4) += codecview
|
2020-04-18 22:40:49 +02:00
|
|
|
fate-filter-codecview: CMD = framecrc -flags bitexact -idct simple -flags2 +export_mvs -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf codecview=mv=pf+bf+bb
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
# The above tests use vsynth1-mpeg4-qprd.avi created by fate-vsynth1-mpeg4-qprd
|
|
|
|
# as input. So only add them if all the requirements of fate-vsynth1-mpeg4-qprd
|
|
|
|
# are met, add a dependency to the test and ensure that the file is kept.
|
|
|
|
FATE_FILTER_VSYNTH1_MPEG4_QPRD := $(if $(filter fate-vsynth1-mpeg4-qprd, $(FATE_VSYNTH1)),$(addprefix fate-filter-, $(FATE_FILTER_VSYNTH1_MPEG4_QPRD-yes)))
|
|
|
|
FATE_FILTER_VSYNTH-yes += $(FATE_FILTER_VSYNTH1_MPEG4_QPRD)
|
|
|
|
$(FATE_FILTER_VSYNTH1_MPEG4_QPRD): fate-vsynth1-mpeg4-qprd
|
|
|
|
fate-vsynth1-mpeg4-qprd: KEEP_FILES ?= 1
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, QP_FILTER PP_FILTER) += fate-filter-qp
|
2020-04-17 10:32:12 +02:00
|
|
|
fate-filter-qp: CMD = video_filter "qp=34,pp=be/hb/vb/tn/l5/al"
|
2015-01-14 21:43:17 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(call FILTERDEMDEC, SELECT, IMAGE2, PGM) += fate-filter-select
|
2017-03-24 12:37:44 +02:00
|
|
|
fate-filter-select: CMD = framecrc -flags bitexact -idct simple -i $(SRC) -vf "select=not(eq(mod(n\,2)\,0)+eq(mod(n\,3)\,0))" -frames:v 25 -flags +bitexact
|
2013-04-29 20:17:41 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_SETDAR_FILTER) += fate-filter-setdar
|
2013-04-29 20:17:41 +03:00
|
|
|
fate-filter-setdar: CMD = video_filter "setdar=dar=16/9"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_SETSAR_FILTER) += fate-filter-setsar
|
2013-04-29 20:17:41 +03:00
|
|
|
fate-filter-setsar: CMD = video_filter "setsar=sar=16/11"
|
|
|
|
|
2022-05-16 23:21:38 +02:00
|
|
|
FATE_STEREO3D := al-sbsl ar-abl abr-mr abr-ml sbsl-abl sbsl-abr sbsl-al sbsl-sbsr
|
|
|
|
FATE_STEREO3D := $(addprefix fate-filter-stereo3d-, $(FATE_STEREO3D))
|
|
|
|
$(FATE_STEREO3D): CMD = framecrc -c:v pgmyuv -i $(SRC) -frames:v 5 -flags +bitexact -vf stereo3d=$(word 4, $(subst -, ,$(@))):$(word 5, $(subst -, ,$(@)))
|
|
|
|
FATE_STEREO3D-$(call FILTERDEMDEC, STEREO3D, IMAGE2, PGMYUV) += $(FATE_STEREO3D)
|
|
|
|
|
|
|
|
FATE_STEREO3D_ANAGLYPH := agmc agmd agmg agmh arbg arcc arcd arcg arch argg \
|
|
|
|
aybc aybd aybg aybh
|
|
|
|
FATE_STEREO3D_ANAGLYPH := $(addprefix fate-filter-stereo3d-sbsl-, $(FATE_STEREO3D_ANAGLYPH))
|
|
|
|
$(FATE_STEREO3D_ANAGLYPH): CMD = framecrc -c:v pgmyuv -i $(SRC) -frames:v 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf scale,stereo3d=$(word 4, $(subst -, ,$(@))):$(word 5, $(subst -, ,$(@)))
|
|
|
|
FATE_STEREO3D-$(call FILTERDEMDEC, SCALE STEREO3D, IMAGE2, PGMYUV) += $(FATE_STEREO3D_ANAGLYPH)
|
|
|
|
|
|
|
|
fate-filter-stereo3d: $(FATE_STEREO3D-yes)
|
|
|
|
FATE_FILTER_VSYNTH-yes += $(FATE_STEREO3D-yes)
|
2013-05-13 02:21:07 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, SCALE_FILTER THUMBNAIL_FILTER) += fate-filter-thumbnail
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-filter-thumbnail: CMD = video_filter "scale,thumbnail=10"
|
2013-04-29 20:17:41 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_TILE_FILTER) += fate-filter-tile
|
2013-04-29 20:17:41 +03:00
|
|
|
fate-filter-tile: CMD = video_filter "tile=3x3:nb_frames=5:padding=7:margin=2"
|
|
|
|
|
2013-04-16 00:39:08 +03:00
|
|
|
|
2014-07-29 12:41:28 +03:00
|
|
|
tests/pixfmts.mak: TAG = GEN
|
2017-03-20 12:00:07 +02:00
|
|
|
tests/pixfmts.mak: ffmpeg$(PROGSSUF)$(EXESUF) | tests
|
2014-07-29 12:41:28 +03:00
|
|
|
$(M)printf "PIXFMTS = " > $@
|
2021-12-17 03:04:11 +02:00
|
|
|
$(Q)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin -pix_fmts list 2> /dev/null | awk 'NR > 8 && /^IO/ { printf $$2 " " }' >> $@
|
2014-07-29 12:41:28 +03:00
|
|
|
$(Q)printf "\n" >> $@
|
|
|
|
|
2014-08-05 10:39:00 +03:00
|
|
|
RUNNING_PIXFMTS_TESTS := $(filter check fate fate-list fate-filter fate-vfilter fate-filter-pixdesc%,$(MAKECMDGOALS))
|
2014-08-03 16:21:15 +03:00
|
|
|
|
|
|
|
ifneq (,$(RUNNING_PIXFMTS_TESTS))
|
2014-07-29 12:41:28 +03:00
|
|
|
-include tests/pixfmts.mak
|
|
|
|
endif
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_PIXDESC-$(call VIDEO_FILTER, SCALE FORMAT PIXDESCTEST) += $(addprefix fate-filter-pixdesc-, $(PIXFMTS))
|
|
|
|
fate-filter-pixdesc-%: CMD = video_filter "scale,format=$(@:fate-filter-pixdesc-%=%),pixdesctest" -pix_fmt $(@:fate-filter-pixdesc-%=%)
|
2014-07-29 12:41:28 +03:00
|
|
|
|
|
|
|
fate-filter-pixdesc: $(FATE_FILTER_PIXDESC-yes)
|
|
|
|
FATE_FILTER_VSYNTH-yes += $(FATE_FILTER_PIXDESC-yes)
|
2013-04-16 01:15:15 +03:00
|
|
|
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_COPY_FILTER) += fate-filter-pixfmts-copy
|
2013-04-16 02:42:38 +03:00
|
|
|
fate-filter-pixfmts-copy: CMD = pixfmts
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_CROP_FILTER) += fate-filter-pixfmts-crop
|
2013-04-16 02:42:38 +03:00
|
|
|
fate-filter-pixfmts-crop: CMD = pixfmts "100:100:100:100"
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_FIELD_FILTER) += fate-filter-pixfmts-field
|
2013-04-29 23:05:57 +03:00
|
|
|
fate-filter-pixfmts-field: CMD = pixfmts "bottom"
|
|
|
|
|
2014-06-01 07:02:38 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(call ALLYES, TELECINE_FILTER FIELDMATCH_FILTER) += fate-filter-pixfmts-fieldmatch
|
2015-05-11 00:44:14 +02:00
|
|
|
fate-filter-pixfmts-fieldmatch: CMD = pixfmts "" "telecine," 25
|
2014-06-01 07:02:38 +03:00
|
|
|
|
2013-09-30 17:06:02 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_FIELDORDER_FILTER) += fate-filter-pixfmts-fieldorder
|
|
|
|
fate-filter-pixfmts-fieldorder: CMD = pixfmts "tff" "setfield=bff,"
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_HFLIP_FILTER) += fate-filter-pixfmts-hflip
|
2013-04-16 02:42:38 +03:00
|
|
|
fate-filter-pixfmts-hflip: CMD = pixfmts
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
#FATE_FILTER_PIXFMTS-$(CONFIG_HISTEQ_FILTER) += fate-filter-pixfmts-histeq
|
2013-04-29 23:05:57 +03:00
|
|
|
#fate-filter-pixfmts-histeq: CMD = pixfmts "antibanding=strong"
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_IL_FILTER) += fate-filter-pixfmts-il
|
2013-04-29 23:05:57 +03:00
|
|
|
fate-filter-pixfmts-il: CMD = pixfmts "luma_mode=d:chroma_mode=d:alpha_mode=d"
|
|
|
|
|
2013-04-30 02:45:08 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_KERNDEINT_FILTER) += fate-filter-pixfmts-kerndeint
|
|
|
|
fate-filter-pixfmts-kerndeint: CMD = pixfmts "" "tinterlace=interleave_top,"
|
|
|
|
|
2013-05-08 12:04:16 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_LUT_FILTER) += fate-filter-pixfmts-lut
|
|
|
|
fate-filter-pixfmts-lut: CMD = pixfmts "c0=2*val:c1=2*val:c2=val/2:c3=negval+40"
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_NULL_FILTER) += fate-filter-pixfmts-null
|
2013-04-16 02:42:38 +03:00
|
|
|
fate-filter-pixfmts-null: CMD = pixfmts
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_PAD_FILTER) += fate-filter-pixfmts-pad
|
2013-04-16 02:42:38 +03:00
|
|
|
fate-filter-pixfmts-pad: CMD = pixfmts "500:400:20:20"
|
|
|
|
|
2014-06-01 07:02:37 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(call ALLYES, TELECINE_FILTER PULLUP_FILTER) += fate-filter-pixfmts-pullup
|
2015-05-11 00:44:14 +02:00
|
|
|
fate-filter-pixfmts-pullup: CMD = pixfmts "" "telecine," 25
|
2014-06-01 07:02:37 +03:00
|
|
|
|
2013-06-12 18:24:44 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_ROTATE_FILTER) += fate-filter-pixfmts-rotate
|
|
|
|
fate-filter-pixfmts-rotate: CMD = pixfmts "2*PI*n/50"
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_SCALE_FILTER) += fate-filter-pixfmts-scale
|
2013-04-16 02:42:38 +03:00
|
|
|
fate-filter-pixfmts-scale: CMD = pixfmts "200:100"
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_SUPER2XSAI_FILTER) += fate-filter-pixfmts-super2xsai
|
2013-04-29 23:05:57 +03:00
|
|
|
fate-filter-pixfmts-super2xsai: CMD = pixfmts
|
|
|
|
|
2013-04-30 13:18:45 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_SWAPUV_FILTER) += fate-filter-pixfmts-swapuv
|
|
|
|
fate-filter-pixfmts-swapuv: CMD = pixfmts
|
|
|
|
|
2017-09-18 04:41:00 +02:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_TINTERLACE_FILTER) += fate-filter-pixfmts-tinterlace_cvlpf
|
|
|
|
fate-filter-pixfmts-tinterlace_cvlpf: CMD = pixfmts "interleave_top:cvlpf"
|
|
|
|
|
2013-04-30 03:08:48 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_TINTERLACE_FILTER) += fate-filter-pixfmts-tinterlace_merge
|
|
|
|
fate-filter-pixfmts-tinterlace_merge: CMD = pixfmts "merge"
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_TINTERLACE_FILTER) += fate-filter-pixfmts-tinterlace_pad
|
|
|
|
fate-filter-pixfmts-tinterlace_pad: CMD = pixfmts "pad"
|
|
|
|
|
2017-09-18 04:41:00 +02:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_TINTERLACE_FILTER) += fate-filter-pixfmts-tinterlace_vlpf
|
|
|
|
fate-filter-pixfmts-tinterlace_vlpf: CMD = pixfmts "interleave_top:vlpf"
|
|
|
|
|
2018-01-28 14:34:07 +02:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-pixfmts-transpose
|
|
|
|
fate-filter-pixfmts-transpose: CMD = pixfmts "dir=cclock_flip"
|
|
|
|
|
2013-04-29 23:19:12 +03:00
|
|
|
FATE_FILTER_PIXFMTS-$(CONFIG_VFLIP_FILTER) += fate-filter-pixfmts-vflip
|
2013-04-16 02:42:38 +03:00
|
|
|
fate-filter-pixfmts-vflip: CMD = pixfmts
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
# pixfmts uses video_filter internally and also adds format and scale filters.
|
|
|
|
FATE_FILTER_PIXFMTS := $(if $(call VIDEO_FILTER, FORMAT SCALE),$(FATE_FILTER_PIXFMTS-yes))
|
2013-04-16 02:42:38 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
$(FATE_FILTER_PIXFMTS): libavfilter/tests/filtfmts$(EXESUF)
|
|
|
|
FATE_FILTER_VSYNTH-yes += $(FATE_FILTER_PIXFMTS)
|
2013-04-16 02:42:38 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
fate-filter-pixfmts: $(FATE_FILTER_PIXFMTS)
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(call VIDEO_FILTER) += $(FATE_FILTER_VSYNTH_VIDEO_FILTER-yes)
|
|
|
|
FATE_FILTER_VSYNTH-$(call FRAMECRC, IMAGE2, PGMYUV) += $(FATE_FILTER_VSYNTH_PGMYUV-yes)
|
2013-04-16 17:32:18 +03:00
|
|
|
$(FATE_FILTER_VSYNTH-yes): $(VREF)
|
2013-03-13 13:03:08 +03:00
|
|
|
$(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FFMPEG += $(FATE_FILTER_VSYNTH-yes)
|
2012-10-21 21:10:37 +03:00
|
|
|
|
2012-10-10 01:36:19 +03:00
|
|
|
#
|
|
|
|
# Metadata tests
|
|
|
|
#
|
2021-07-14 17:48:10 +02:00
|
|
|
FILTER_METADATA_COMMAND = ffprobe$(PROGSSUF)$(EXESUF) -of compact=p=0 -show_entries frame=pts:frame_tags -bitexact -f lavfi
|
2012-10-10 01:36:19 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
SCENEDETECT_DEPS = LAVFI_INDEV FILE_PROTOCOL MOVIE_FILTER SELECT_FILTER \
|
|
|
|
SCALE_FILTER MOV_DEMUXER SVQ3_DECODER ZLIB
|
2012-10-22 23:12:19 +03:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(SCENEDETECT_DEPS)) += fate-filter-metadata-scenedetect
|
2014-03-18 03:29:50 +03:00
|
|
|
fate-filter-metadata-scenedetect: SRC = $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov
|
2019-07-21 01:24:19 +02:00
|
|
|
fate-filter-metadata-scenedetect: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',select=gt(scene\,.25)"
|
2012-10-10 01:36:19 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
SCDET_DEPS = LAVFI_INDEV FILE_PROTOCOL MOVIE_FILTER SCDET_FILTER SCALE_FILTER \
|
|
|
|
MOV_DEMUXER SVQ3_DECODER ZLIB
|
2019-10-08 17:28:39 +02:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(SCDET_DEPS)) += fate-filter-metadata-scdet
|
|
|
|
fate-filter-metadata-scdet: SRC = $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov
|
|
|
|
fate-filter-metadata-scdet: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',scdet=s=1"
|
|
|
|
|
2022-07-30 13:10:45 +02:00
|
|
|
CROPDETECT_DEPS = LAVFI_INDEV FILE_PROTOCOL MOVIE_FILTER MOVIE_FILTER MESTIMATE_FILTER CROPDETECT_FILTER \
|
2022-05-18 10:50:02 +02:00
|
|
|
SCALE_FILTER MOV_DEMUXER H264_DECODER
|
2016-03-24 18:55:11 +02:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(CROPDETECT_DEPS)) += fate-filter-metadata-cropdetect
|
|
|
|
fate-filter-metadata-cropdetect: SRC = $(TARGET_SAMPLES)/filter/cropdetect.mp4
|
|
|
|
fate-filter-metadata-cropdetect: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',cropdetect=max_outliers=3"
|
2022-07-30 13:10:45 +02:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(CROPDETECT_DEPS)) += fate-filter-metadata-cropdetect1
|
|
|
|
fate-filter-metadata-cropdetect1: SRC = $(TARGET_SAMPLES)/filter/cropdetect1.mp4
|
|
|
|
fate-filter-metadata-cropdetect1: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',mestimate,cropdetect=mode=mvedges,metadata=mode=print"
|
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(CROPDETECT_DEPS)) += fate-filter-metadata-cropdetect2
|
|
|
|
fate-filter-metadata-cropdetect2: SRC = $(TARGET_SAMPLES)/filter/cropdetect2.mp4
|
|
|
|
fate-filter-metadata-cropdetect2: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',mestimate,cropdetect=mode=mvedges,metadata=mode=print"
|
2016-03-24 18:55:11 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FREEZEDETECT_DEPS = LAVFI_INDEV MPTESTSRC_FILTER SCALE_FILTER FREEZEDETECT_FILTER
|
2019-10-21 12:12:13 +02:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(FREEZEDETECT_DEPS)) += fate-filter-metadata-freezedetect
|
|
|
|
fate-filter-metadata-freezedetect: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;mptestsrc=r=25:d=10:m=51,freezedetect"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
SIGNALSTATS_DEPS = LAVFI_INDEV COLOR_FILTER SCALE_FILTER SIGNALSTATS_FILTER
|
2019-12-30 13:09:54 +02:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(SIGNALSTATS_DEPS)) += fate-filter-metadata-signalstats-yuv420p fate-filter-metadata-signalstats-yuv420p10
|
|
|
|
fate-filter-metadata-signalstats-yuv420p: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;color=white:duration=1:r=1,signalstats"
|
|
|
|
fate-filter-metadata-signalstats-yuv420p10: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;color=white:duration=1:r=1,format=yuv420p10,signalstats"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
SILENCEDETECT_DEPS = LAVFI_INDEV FILE_PROTOCOL AMOVIE_FILTER TTA_DEMUXER TTA_DECODER SILENCEDETECT_FILTER
|
2012-10-22 23:12:19 +03:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(SILENCEDETECT_DEPS)) += fate-filter-metadata-silencedetect
|
2018-04-13 15:50:54 +02:00
|
|
|
fate-filter-metadata-silencedetect: SRC = $(TARGET_SAMPLES)/lossless-audio/inside.tta
|
2019-10-08 17:04:52 +02:00
|
|
|
fate-filter-metadata-silencedetect: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',silencedetect=n=-33.5dB:d=0.2"
|
2012-10-10 00:01:31 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
EBUR128_METADATA_DEPS = LAVFI_INDEV FILE_PROTOCOL AMOVIE_FILTER FLAC_DEMUXER FLAC_DECODER ARESAMPLE_FILTER EBUR128_FILTER
|
2013-03-15 04:52:30 +03:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(EBUR128_METADATA_DEPS)) += fate-filter-metadata-ebur128
|
2014-03-18 03:29:50 +03:00
|
|
|
fate-filter-metadata-ebur128: SRC = $(TARGET_SAMPLES)/filter/seq-3341-7_seq-3342-5-24bit.flac
|
2013-03-20 01:09:36 +03:00
|
|
|
fate-filter-metadata-ebur128: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',ebur128=metadata=1"
|
2013-03-15 04:52:30 +03:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
READVITC_METADATA_DEPS = FILE_PROTOCOL LAVFI_INDEV MOVIE_FILTER \
|
2016-04-07 14:39:33 +02:00
|
|
|
AVI_DEMUXER FFVHUFF_DECODER READVITC_FILTER
|
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(READVITC_METADATA_DEPS)) += fate-filter-metadata-readvitc-def
|
|
|
|
fate-filter-metadata-readvitc-def: SRC = $(TARGET_SAMPLES)/filter/sample-vitc.avi
|
|
|
|
fate-filter-metadata-readvitc-def: CMD = run $(FILTER_METADATA_COMMAND) "movie='$(SRC)',readvitc"
|
|
|
|
|
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(READVITC_METADATA_DEPS)) += fate-filter-metadata-readvitc-thr
|
|
|
|
fate-filter-metadata-readvitc-thr: SRC = $(TARGET_SAMPLES)/filter/sample-vitc.avi
|
|
|
|
fate-filter-metadata-readvitc-thr: CMD = run $(FILTER_METADATA_COMMAND) "movie='$(SRC)',readvitc=thr_b=0.3:thr_w=0.5"
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
AVF_PHASE_METER_DEPS = FFPROBE LAVFI_INDEV AMOVIE_FILTER FLAC_DEMUXER FLAC_DECODER SINE_FILTER APHASEMETER_FILTER ARESAMPLE_FILTER
|
2016-10-24 23:00:23 +02:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(AVF_PHASE_METER_DEPS)) += fate-filter-metadata-avf-aphase-meter-mono
|
2016-12-28 17:52:32 +02:00
|
|
|
fate-filter-metadata-avf-aphase-meter-mono: CMD = run $(FILTER_METADATA_COMMAND) sine="frequency=1000:sample_rate=48000:duration=1,aphasemeter=video=0"
|
2016-10-24 23:00:23 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(AVF_PHASE_METER_DEPS) FILE_PROTOCOL) += fate-filter-metadata-avf-aphase-meter-out-of-phase
|
2016-10-24 23:00:23 +02:00
|
|
|
fate-filter-metadata-avf-aphase-meter-out-of-phase: SRC = $(TARGET_SAMPLES)/filter/out-of-phase-1000hz.flac
|
2016-12-28 17:52:32 +02:00
|
|
|
fate-filter-metadata-avf-aphase-meter-out-of-phase: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',aphasemeter=video=0"
|
2016-10-24 23:00:23 +02:00
|
|
|
|
2022-05-03 11:35:56 +02:00
|
|
|
FATE_FILTER_SAMPLES-$(call TRANSCODE, RAWVIDEO H264, MOV, ARESAMPLE_FILTER AAC_FIXED_DECODER) += fate-filter-meta-4560-rotate0
|
2022-05-04 12:04:21 +02:00
|
|
|
fate-filter-meta-4560-rotate0: CMD = transcode mov $(TARGET_SAMPLES)/filter/sample-in-issue-505.mov mov "-c copy -metadata:s:v:0 rotate=0" "-af aresample" "" "" "-flags +bitexact -c:a aac_fixed"
|
2016-04-01 00:57:14 +02:00
|
|
|
|
2022-05-24 11:20:14 +02:00
|
|
|
FATE_FILTER_CMP_METADATA-$(CONFIG_BLOCKDETECT_FILTER) += fate-filter-refcmp-blockdetect-yuv
|
|
|
|
fate-filter-refcmp-blockdetect-yuv: CMD = cmp_metadata blockdetect yuv420p 0.015
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_CMP_METADATA-$(CONFIG_BLURDETECT_FILTER) += fate-filter-refcmp-blurdetect-yuv
|
2022-04-25 00:07:04 +02:00
|
|
|
fate-filter-refcmp-blurdetect-yuv: CMD = cmp_metadata blurdetect yuv420p 0.015
|
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_CMP_METADATA-$(CONFIG_SITI_FILTER) += fate-filter-refcmp-siti-yuv
|
|
|
|
fate-filter-refcmp-siti-yuv: CMD = cmp_metadata siti yuv420p 0.015
|
|
|
|
|
|
|
|
FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER METADATA_FILTER WRAPPED_AVFRAME_ENCODER \
|
|
|
|
NULL_MUXER PIPE_PROTOCOL) += $(FATE_FILTER_CMP_METADATA-yes)
|
|
|
|
|
|
|
|
FATE_FILTER_REFCMP_METADATA-$(call ALLYES, PSNR_FILTER SCALE_FILTER) += fate-filter-refcmp-psnr-rgb
|
2018-12-06 22:51:22 +02:00
|
|
|
fate-filter-refcmp-psnr-rgb: CMD = refcmp_metadata psnr rgb24 0.002
|
2017-08-29 14:45:13 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_REFCMP_METADATA-$(CONFIG_PSNR_FILTER) += fate-filter-refcmp-psnr-yuv
|
2017-09-28 09:15:41 +02:00
|
|
|
fate-filter-refcmp-psnr-yuv: CMD = refcmp_metadata psnr yuv422p 0.0015
|
2017-08-29 14:45:13 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_REFCMP_METADATA-$(call ALLYES, SSIM_FILTER SCALE_FILTER) += fate-filter-refcmp-ssim-rgb
|
2017-09-28 09:15:41 +02:00
|
|
|
fate-filter-refcmp-ssim-rgb: CMD = refcmp_metadata ssim rgb24 0.015
|
2017-08-29 14:45:13 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER_REFCMP_METADATA-$(CONFIG_SSIM_FILTER) += fate-filter-refcmp-ssim-yuv
|
2017-09-28 09:15:41 +02:00
|
|
|
fate-filter-refcmp-ssim-yuv: CMD = refcmp_metadata ssim yuv422p 0.015
|
2017-08-29 14:45:13 +02:00
|
|
|
|
2022-05-18 10:50:02 +02:00
|
|
|
FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER SPLIT_FILTER AVGBLUR_FILTER \
|
|
|
|
METADATA_FILTER WRAPPED_AVFRAME_ENCODER NULL_MUXER \
|
|
|
|
PIPE_PROTOCOL) += $(FATE_FILTER_REFCMP_METADATA-yes)
|
2022-03-22 10:34:02 +02:00
|
|
|
|
2012-10-22 08:56:00 +03:00
|
|
|
FATE_SAMPLES_FFPROBE += $(FATE_METADATA_FILTER-yes)
|
2016-04-10 23:31:05 +02:00
|
|
|
FATE_SAMPLES_FFMPEG += $(FATE_FILTER_SAMPLES-yes)
|
|
|
|
FATE_FFMPEG += $(FATE_FILTER-yes)
|
2012-10-10 01:36:19 +03:00
|
|
|
|
2016-04-10 23:31:05 +02:00
|
|
|
fate-vfilter: $(FATE_FILTER-yes) $(FATE_FILTER_SAMPLES-yes) $(FATE_FILTER_VSYNTH-yes)
|
2013-04-16 17:43:49 +03:00
|
|
|
|
2013-04-20 00:26:55 +03:00
|
|
|
fate-filter: fate-afilter fate-vfilter $(FATE_METADATA_FILTER-yes)
|