FATE: add a test for the drawbox filter

pull/13/merge
Anton Khirnov 12 years ago
parent a222997650
commit feb4922b25
  1. 3
      tests/fate/filter.mak
  2. 51
      tests/ref/fate/filter-drawbox

@ -37,6 +37,9 @@ fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:
FATE_FILTER-$(call FILTERDEMDEC, DELOGO, RM, RV30) += fate-filter-delogo FATE_FILTER-$(call FILTERDEMDEC, DELOGO, RM, RV30) += fate-filter-delogo
FATE_FILTER_VSYNTH-$(CONFIG_DRAWBOX_FILTER) += fate-filter-drawbox
fate-filter-drawbox: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf drawbox=10:20:200:60:red@0.5
FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun

@ -0,0 +1,51 @@
#tb 0: 1/25
0, 0, 0, 1, 152064, 0x7eee5ca3
0, 1, 1, 1, 152064, 0x61125759
0, 2, 2, 1, 152064, 0x2a64f47f
0, 3, 3, 1, 152064, 0xc1089594
0, 4, 4, 1, 152064, 0xd9e18830
0, 5, 5, 1, 152064, 0xeb135e03
0, 6, 6, 1, 152064, 0x6a5b40d7
0, 7, 7, 1, 152064, 0x0a356a16
0, 8, 8, 1, 152064, 0xfc1d7858
0, 9, 9, 1, 152064, 0xa04bfeb8
0, 10, 10, 1, 152064, 0x2d952ef0
0, 11, 11, 1, 152064, 0x7f360233
0, 12, 12, 1, 152064, 0xdd2bd142
0, 13, 13, 1, 152064, 0xd231ad4a
0, 14, 14, 1, 152064, 0x0543400e
0, 15, 15, 1, 152064, 0x8252be2b
0, 16, 16, 1, 152064, 0xd9f702be
0, 17, 17, 1, 152064, 0xed5cf787
0, 18, 18, 1, 152064, 0xf9472f8e
0, 19, 19, 1, 152064, 0x89e4a60b
0, 20, 20, 1, 152064, 0x1f12c1f5
0, 21, 21, 1, 152064, 0x76eaf390
0, 22, 22, 1, 152064, 0x60b5eba3
0, 23, 23, 1, 152064, 0xf09e348c
0, 24, 24, 1, 152064, 0x1afabf8a
0, 25, 25, 1, 152064, 0xd16c558e
0, 26, 26, 1, 152064, 0x78634796
0, 27, 27, 1, 152064, 0xcd13b1e3
0, 28, 28, 1, 152064, 0x59c2c6e5
0, 29, 29, 1, 152064, 0x265e6beb
0, 30, 30, 1, 152064, 0x82c656af
0, 31, 31, 1, 152064, 0x919e923c
0, 32, 32, 1, 152064, 0xc428fc15
0, 33, 33, 1, 152064, 0x488760cd
0, 34, 34, 1, 152064, 0x0a080c93
0, 35, 35, 1, 152064, 0xaab649e6
0, 36, 36, 1, 152064, 0x9b34edaa
0, 37, 37, 1, 152064, 0x44e12816
0, 38, 38, 1, 152064, 0x03777927
0, 39, 39, 1, 152064, 0x6644573e
0, 40, 40, 1, 152064, 0x18574df7
0, 41, 41, 1, 152064, 0x5dce82f6
0, 42, 42, 1, 152064, 0xb8be9205
0, 43, 43, 1, 152064, 0xb927eacb
0, 44, 44, 1, 152064, 0x303ec874
0, 45, 45, 1, 152064, 0x05eb3c6f
0, 46, 46, 1, 152064, 0x74a614d6
0, 47, 47, 1, 152064, 0x6d078969
0, 48, 48, 1, 152064, 0xe57a7ae0
0, 49, 49, 1, 152064, 0xd6fca9ec
Loading…
Cancel
Save