mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-03 00:56:54 +00:00
tests: add palettegen test
This commit is contained in:
parent
4629993d99
commit
e0f03de8f5
@ -29,6 +29,15 @@ fate-filter-codecview-mvs: CMD = framecrc -flags2 +export_mvs -i $(TARGET_SAMPLE
|
||||
FATE_FILTER-$(call ALLYES, SHOWPALETTE_FILTER FLIC_DEMUXER FLIC_DECODER) += fate-filter-showpalette
|
||||
fate-filter-showpalette: CMD = framecrc -i $(TARGET_SAMPLES)/fli/fli-engines.fli -vf showpalette=3 -pix_fmt bgra
|
||||
|
||||
FATE_FILTER_PALETTEGEN += fate-filter-palettegen-1
|
||||
fate-filter-palettegen-1: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -vf palettegen -pix_fmt bgra
|
||||
|
||||
FATE_FILTER_PALETTEGEN += fate-filter-palettegen-2
|
||||
fate-filter-palettegen-2: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -vf palettegen=max_colors=128:reserve_transparent=0:stats_mode=diff -pix_fmt bgra
|
||||
|
||||
fate-filter-palettegen: $(FATE_FILTER_PALETTEGEN)
|
||||
FATE_FILTER-$(call ALLYES, PALETTEGEN_FILTER MATROSKA_DEMUXER H264_DECODER) += $(FATE_FILTER_PALETTEGEN)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes)
|
||||
|
||||
FATE_FILTER-$(call ALLYES, AVDEVICE LIFE_FILTER) += fate-filter-lavd-life
|
||||
|
2
tests/ref/fate/filter-palettegen-1
Normal file
2
tests/ref/fate/filter-palettegen-1
Normal file
@ -0,0 +1,2 @@
|
||||
#tb 0: 1001/24000
|
||||
0, 0, 0, 1, 1024, 0x3395ef5a
|
2
tests/ref/fate/filter-palettegen-2
Normal file
2
tests/ref/fate/filter-palettegen-2
Normal file
@ -0,0 +1,2 @@
|
||||
#tb 0: 1001/24000
|
||||
0, 0, 0, 1, 1024, 0x906ff5aa
|
Loading…
Reference in New Issue
Block a user