Commit c864de3c authored by Paul B Mahol's avatar Paul B Mahol

fate: add tests for waveform filter

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 4a9bc12f
...@@ -111,8 +111,17 @@ fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf perms=random,negate ...@@ -111,8 +111,17 @@ fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf perms=random,negate
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-levels FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-levels
fate-filter-histogram-levels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram -flags +bitexact -sws_flags +accurate_rnd+bitexact fate-filter-histogram-levels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram -flags +bitexact -sws_flags +accurate_rnd+bitexact
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-waveform FATE_FILTER_VSYNTH-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_column
fate-filter-histogram-waveform: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf format=yuv444p,histogram=mode=waveform -flags +bitexact -sws_flags +accurate_rnd+bitexact fate-filter-waveform_column: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform -flags +bitexact -sws_flags +accurate_rnd+bitexact
FATE_FILTER_VSYNTH-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_row
fate-filter-waveform_row: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=m=row -flags +bitexact -sws_flags +accurate_rnd+bitexact
FATE_FILTER_VSYNTH-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_envelope
fate-filter-waveform_envelope: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=e=3 -flags +bitexact -sws_flags +accurate_rnd+bitexact
FATE_FILTER_VSYNTH-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_uv
fate-filter-waveform_uv: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=c=6 -flags +bitexact -sws_flags +accurate_rnd+bitexact
FATE_FILTER_VSYNTH-$(CONFIG_MERGEPLANES_FILTER) += fate-filter-mergeplanes FATE_FILTER_VSYNTH-$(CONFIG_MERGEPLANES_FILTER) += fate-filter-mergeplanes
fate-filter-mergeplanes: tests/data/filtergraphs/mergeplanes fate-filter-mergeplanes: tests/data/filtergraphs/mergeplanes
......
#tb 0: 1/25
0, 0, 0, 1, 663552, 0x8a55d4d9
0, 1, 1, 1, 663552, 0xf4c4d42d
0, 2, 2, 1, 663552, 0x291cd441
0, 3, 3, 1, 663552, 0xce5bd56b
0, 4, 4, 1, 663552, 0x1dc0d637
0, 5, 5, 1, 663552, 0x4676d387
0, 6, 6, 1, 663552, 0x8064d607
0, 7, 7, 1, 663552, 0x1981d54f
0, 8, 8, 1, 663552, 0x8fffd4a3
0, 9, 9, 1, 663552, 0x5041d2f7
0, 10, 10, 1, 663552, 0x03bbd401
0, 11, 11, 1, 663552, 0x965bd2f3
0, 12, 12, 1, 663552, 0x0d39d27d
0, 13, 13, 1, 663552, 0xad39d1fb
0, 14, 14, 1, 663552, 0x1809d195
0, 15, 15, 1, 663552, 0xe083cf2f
0, 16, 16, 1, 663552, 0x0d6fd3b3
0, 17, 17, 1, 663552, 0x3a8ed3f3
0, 18, 18, 1, 663552, 0xbbb5d00d
0, 19, 19, 1, 663552, 0xe6ead0df
0, 20, 20, 1, 663552, 0xf5dcd35f
0, 21, 21, 1, 663552, 0x9cd9d32b
0, 22, 22, 1, 663552, 0xcb91d1b9
0, 23, 23, 1, 663552, 0x5640cfd7
0, 24, 24, 1, 663552, 0x5370d285
0, 25, 25, 1, 663552, 0xd894d1dd
0, 26, 26, 1, 663552, 0xace4ce65
0, 27, 27, 1, 663552, 0x6e15ce17
0, 28, 28, 1, 663552, 0xd21cce21
0, 29, 29, 1, 663552, 0xec1ecd83
0, 30, 30, 1, 663552, 0x9852ce0f
0, 31, 31, 1, 663552, 0xe488cba3
0, 32, 32, 1, 663552, 0x2e15cbed
0, 33, 33, 1, 663552, 0x5e59ca97
0, 34, 34, 1, 663552, 0x7cefcd7d
0, 35, 35, 1, 663552, 0xcb99ccfb
0, 36, 36, 1, 663552, 0xce32cf29
0, 37, 37, 1, 663552, 0x7fb8ceef
0, 38, 38, 1, 663552, 0x4014d18f
0, 39, 39, 1, 663552, 0x224dd381
0, 40, 40, 1, 663552, 0x5347d125
0, 41, 41, 1, 663552, 0xec83ce79
0, 42, 42, 1, 663552, 0x4d24ce8b
0, 43, 43, 1, 663552, 0xfdc5ccbd
0, 44, 44, 1, 663552, 0x592cd18b
0, 45, 45, 1, 663552, 0xff06d43b
0, 46, 46, 1, 663552, 0x7f69d4ef
0, 47, 47, 1, 663552, 0x1607d3f1
0, 48, 48, 1, 663552, 0x33e0d211
0, 49, 49, 1, 663552, 0xe1b1d2cd
#tb 0: 1/25
0, 0, 0, 1, 135168, 0xef68cdfa
0, 1, 1, 1, 135168, 0x3db0cdfa
0, 2, 2, 1, 135168, 0xd5e6cdfa
0, 3, 3, 1, 135168, 0x7f71cdfa
0, 4, 4, 1, 135168, 0x9df7cdfa
0, 5, 5, 1, 135168, 0xff48cdfa
0, 6, 6, 1, 135168, 0xb46acdfa
0, 7, 7, 1, 135168, 0x485acdfa
0, 8, 8, 1, 135168, 0x8be2cdfa
0, 9, 9, 1, 135168, 0x86dbcdfa
0, 10, 10, 1, 135168, 0xdecacdfa
0, 11, 11, 1, 135168, 0x29a3cdfa
0, 12, 12, 1, 135168, 0x04c5cdfa
0, 13, 13, 1, 135168, 0x5f2ccdfa
0, 14, 14, 1, 135168, 0x9680cdfa
0, 15, 15, 1, 135168, 0xe397cdfa
0, 16, 16, 1, 135168, 0xa40ecdfa
0, 17, 17, 1, 135168, 0x5f35cdfa
0, 18, 18, 1, 135168, 0x32fbcdfa
0, 19, 19, 1, 135168, 0x983dcdfa
0, 20, 20, 1, 135168, 0xb67dcdfa
0, 21, 21, 1, 135168, 0x5d41cdfa
0, 22, 22, 1, 135168, 0x35cecdfa
0, 23, 23, 1, 135168, 0xee17cdfa
0, 24, 24, 1, 135168, 0x6599cdfa
0, 25, 25, 1, 135168, 0x918bcdfa
0, 26, 26, 1, 135168, 0xbd30cdfa
0, 27, 27, 1, 135168, 0xc2a6cdfa
0, 28, 28, 1, 135168, 0x688fcdfa
0, 29, 29, 1, 135168, 0xb11bcdfa
0, 30, 30, 1, 135168, 0x8316cdfa
0, 31, 31, 1, 135168, 0x8073cdfa
0, 32, 32, 1, 135168, 0x3bc1cdfa
0, 33, 33, 1, 135168, 0xb581cdfa
0, 34, 34, 1, 135168, 0xdf90cdfa
0, 35, 35, 1, 135168, 0x6297cdfa
0, 36, 36, 1, 135168, 0xe8e8cdfa
0, 37, 37, 1, 135168, 0xa238cdfa
0, 38, 38, 1, 135168, 0xdc68cdfa
0, 39, 39, 1, 135168, 0x7545cdfa
0, 40, 40, 1, 135168, 0xa29dcdfa
0, 41, 41, 1, 135168, 0x874bcdfa
0, 42, 42, 1, 135168, 0x7dfacdfa
0, 43, 43, 1, 135168, 0x7fdfcdfa
0, 44, 44, 1, 135168, 0xebb4cdfa
0, 45, 45, 1, 135168, 0x7295cdfa
0, 46, 46, 1, 135168, 0x54eecdfa
0, 47, 47, 1, 135168, 0x18c4cdfa
0, 48, 48, 1, 135168, 0xaa8fcdfa
0, 49, 49, 1, 135168, 0x99edcdfa
#tb 0: 1/25
0, 0, 0, 1, 135168, 0x60746d0d
0, 1, 1, 1, 135168, 0x3a19788d
0, 2, 2, 1, 135168, 0x18e0d247
0, 3, 3, 1, 135168, 0x8b4c177f
0, 4, 4, 1, 135168, 0xc4b34d26
0, 5, 5, 1, 135168, 0xba364556
0, 6, 6, 1, 135168, 0xfcab7319
0, 7, 7, 1, 135168, 0x363d77ce
0, 8, 8, 1, 135168, 0x04367b07
0, 9, 9, 1, 135168, 0x6e5b55a0
0, 10, 10, 1, 135168, 0x33918421
0, 11, 11, 1, 135168, 0x05ba7ff3
0, 12, 12, 1, 135168, 0xcae09d62
0, 13, 13, 1, 135168, 0xca78c5cb
0, 14, 14, 1, 135168, 0x1542db51
0, 15, 15, 1, 135168, 0xe013f307
0, 16, 16, 1, 135168, 0x064008dd
0, 17, 17, 1, 135168, 0xeb7010d5
0, 18, 18, 1, 135168, 0x0cd313e1
0, 19, 19, 1, 135168, 0xaf1b135f
0, 20, 20, 1, 135168, 0x1b3c02c0
0, 21, 21, 1, 135168, 0x50940658
0, 22, 22, 1, 135168, 0x83a2046e
0, 23, 23, 1, 135168, 0x1edf0a54
0, 24, 24, 1, 135168, 0x37141206
0, 25, 25, 1, 135168, 0x7832163e
0, 26, 26, 1, 135168, 0xd4ba13dc
0, 27, 27, 1, 135168, 0x9ba710a3
0, 28, 28, 1, 135168, 0x434a108f
0, 29, 29, 1, 135168, 0x86b01071
0, 30, 30, 1, 135168, 0x7bd91c8d
0, 31, 31, 1, 135168, 0x7a4c179c
0, 32, 32, 1, 135168, 0x023f15b2
0, 33, 33, 1, 135168, 0xe8901b20
0, 34, 34, 1, 135168, 0x49d3157b
0, 35, 35, 1, 135168, 0xdc990af9
0, 36, 36, 1, 135168, 0x1ff707a2
0, 37, 37, 1, 135168, 0xe6610022
0, 38, 38, 1, 135168, 0x6fc3f168
0, 39, 39, 1, 135168, 0x719809ff
0, 40, 40, 1, 135168, 0xd1d9144f
0, 41, 41, 1, 135168, 0x2f801797
0, 42, 42, 1, 135168, 0x111c1eae
0, 43, 43, 1, 135168, 0x23c11c4c
0, 44, 44, 1, 135168, 0x07351d23
0, 45, 45, 1, 135168, 0x04f1173d
0, 46, 46, 1, 135168, 0xb2b71c10
0, 47, 47, 1, 135168, 0x58c01a53
0, 48, 48, 1, 135168, 0xadd11b7a
0, 49, 49, 1, 135168, 0x924123c2
#tb 0: 1/25
0, 0, 0, 1, 110592, 0xa6deed0a
0, 1, 1, 1, 110592, 0xe659ed0a
0, 2, 2, 1, 110592, 0x1ca5ed0a
0, 3, 3, 1, 110592, 0xc2e8ed0a
0, 4, 4, 1, 110592, 0x78d4ed0a
0, 5, 5, 1, 110592, 0xbe2eed0a
0, 6, 6, 1, 110592, 0x482ded0a
0, 7, 7, 1, 110592, 0x994eed0a
0, 8, 8, 1, 110592, 0x93aeed0a
0, 9, 9, 1, 110592, 0xbba8ed0a
0, 10, 10, 1, 110592, 0xeb2bed0a
0, 11, 11, 1, 110592, 0xe41ced0a
0, 12, 12, 1, 110592, 0xb404ed0a
0, 13, 13, 1, 110592, 0xbad1ed0a
0, 14, 14, 1, 110592, 0x952aed0a
0, 15, 15, 1, 110592, 0xbed4ed0a
0, 16, 16, 1, 110592, 0x5c7ded0a
0, 17, 17, 1, 110592, 0xbfe8ed0a
0, 18, 18, 1, 110592, 0xbb6bed0a
0, 19, 19, 1, 110592, 0x7473ed0a
0, 20, 20, 1, 110592, 0x7489ed0a
0, 21, 21, 1, 110592, 0x88a4ed0a
0, 22, 22, 1, 110592, 0xff0ced0a
0, 23, 23, 1, 110592, 0x04b8ed0a
0, 24, 24, 1, 110592, 0xeb8ded0a
0, 25, 25, 1, 110592, 0xc752ed0a
0, 26, 26, 1, 110592, 0x5b1bed0a
0, 27, 27, 1, 110592, 0x1c97ed0a
0, 28, 28, 1, 110592, 0x0a28ed0a
0, 29, 29, 1, 110592, 0x302ced0a
0, 30, 30, 1, 110592, 0x280bed0a
0, 31, 31, 1, 110592, 0xaa30ed0a
0, 32, 32, 1, 110592, 0xce59ed0a
0, 33, 33, 1, 110592, 0xe5f6ed0a
0, 34, 34, 1, 110592, 0x5b34ed0a
0, 35, 35, 1, 110592, 0x1b97ed0a
0, 36, 36, 1, 110592, 0x3283ed0a
0, 37, 37, 1, 110592, 0xe0d1ed0a
0, 38, 38, 1, 110592, 0x03f1ed0a
0, 39, 39, 1, 110592, 0x5744ed0a
0, 40, 40, 1, 110592, 0x8bbfed0a
0, 41, 41, 1, 110592, 0xde8fed0a
0, 42, 42, 1, 110592, 0x9975ed0a
0, 43, 43, 1, 110592, 0x72eded0a
0, 44, 44, 1, 110592, 0xe3efed0a
0, 45, 45, 1, 110592, 0xee7fed0a
0, 46, 46, 1, 110592, 0x44ffed0a
0, 47, 47, 1, 110592, 0x91e6ed0a
0, 48, 48, 1, 110592, 0x0a58ed0a
0, 49, 49, 1, 110592, 0x68d2ed0a
#tb 0: 1/25
0, 0, 0, 1, 270336, 0x7be065a8
0, 1, 1, 1, 270336, 0xa4e56622
0, 2, 2, 1, 270336, 0xae4a662a
0, 3, 3, 1, 270336, 0x367e6678
0, 4, 4, 1, 270336, 0x970f667c
0, 5, 5, 1, 270336, 0xdf7565f6
0, 6, 6, 1, 270336, 0xc4a36652
0, 7, 7, 1, 270336, 0x2f426630
0, 8, 8, 1, 270336, 0xc095662c
0, 9, 9, 1, 270336, 0x75fa6626
0, 10, 10, 1, 270336, 0x95616592
0, 11, 11, 1, 270336, 0x78916608
0, 12, 12, 1, 270336, 0x118c65bc
0, 13, 13, 1, 270336, 0x75446604
0, 14, 14, 1, 270336, 0xe5fb6612
0, 15, 15, 1, 270336, 0x3b8f6618
0, 16, 16, 1, 270336, 0xdeee6646
0, 17, 17, 1, 270336, 0xede46606
0, 18, 18, 1, 270336, 0x64336606
0, 19, 19, 1, 270336, 0xfc50663a
0, 20, 20, 1, 270336, 0xe5fc660a
0, 21, 21, 1, 270336, 0x6ecb6612
0, 22, 22, 1, 270336, 0x06a4662a
0, 23, 23, 1, 270336, 0xc7b66656
0, 24, 24, 1, 270336, 0x033e6636
0, 25, 25, 1, 270336, 0xc14f6650
0, 26, 26, 1, 270336, 0x7462662c
0, 27, 27, 1, 270336, 0xf8cb65e4
0, 28, 28, 1, 270336, 0x6351665e
0, 29, 29, 1, 270336, 0x44e6666e
0, 30, 30, 1, 270336, 0x1d5f660e
0, 31, 31, 1, 270336, 0xc248662e
0, 32, 32, 1, 270336, 0x36256642
0, 33, 33, 1, 270336, 0xe4426598
0, 34, 34, 1, 270336, 0xde81665a
0, 35, 35, 1, 270336, 0xaeab6622
0, 36, 36, 1, 270336, 0x134e6668
0, 37, 37, 1, 270336, 0x6c6e665e
0, 38, 38, 1, 270336, 0x500b6670
0, 39, 39, 1, 270336, 0x2c4c6648
0, 40, 40, 1, 270336, 0xe4ae664c
0, 41, 41, 1, 270336, 0x9b7e664c
0, 42, 42, 1, 270336, 0xfefb6570
0, 43, 43, 1, 270336, 0x04e96600
0, 44, 44, 1, 270336, 0xcbba6670
0, 45, 45, 1, 270336, 0x9f9666a6
0, 46, 46, 1, 270336, 0x85b76642
0, 47, 47, 1, 270336, 0x1a0e667c
0, 48, 48, 1, 270336, 0x92c9662a
0, 49, 49, 1, 270336, 0x9ed76682
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment