FATE: add a test for the histogram filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-04-15 16:40:26 +00:00
parent 9e6dd24fa1
commit a4f03f082b
3 changed files with 108 additions and 0 deletions

View File

@ -82,6 +82,12 @@ fate-filter-join: REF = 38fa1b18b0c46d77df6f17bfc4f078dd
FATE_FILTER_VSYNTH-$(CONFIG_NEGATE_FILTER) += fate-filter-negate
fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf negate
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-levels
fate-filter-histogram-levels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-waveform
fate-filter-histogram-waveform: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram=mode=waveform
FATE_FILTER_VSYNTH-$(CONFIG_OVERLAY_FILTER) += fate-filter-overlay
fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/overlay

View File

@ -0,0 +1,51 @@
#tb 0: 1/25
0, 0, 0, 1, 488448, 0x4425756b
0, 1, 1, 1, 488448, 0x04dd16e6
0, 2, 2, 1, 488448, 0x2bcbbceb
0, 3, 3, 1, 488448, 0x7cdb0233
0, 4, 4, 1, 488448, 0xfea6b19f
0, 5, 5, 1, 488448, 0xdc52c70b
0, 6, 6, 1, 488448, 0xd0e542ac
0, 7, 7, 1, 488448, 0x7da62502
0, 8, 8, 1, 488448, 0xbbe0ba18
0, 9, 9, 1, 488448, 0x29d7e5a6
0, 10, 10, 1, 488448, 0x9428b9ee
0, 11, 11, 1, 488448, 0x83b3cc4f
0, 12, 12, 1, 488448, 0x6fbe351f
0, 13, 13, 1, 488448, 0x27b165e0
0, 14, 14, 1, 488448, 0xc1301e0c
0, 15, 15, 1, 488448, 0x585778a3
0, 16, 16, 1, 488448, 0x3a9a5a24
0, 17, 17, 1, 488448, 0x5f238e1a
0, 18, 18, 1, 488448, 0xccbbd463
0, 19, 19, 1, 488448, 0x5e819b1b
0, 20, 20, 1, 488448, 0x1ac67c1e
0, 21, 21, 1, 488448, 0xa30d486e
0, 22, 22, 1, 488448, 0x79981486
0, 23, 23, 1, 488448, 0x542c8325
0, 24, 24, 1, 488448, 0x8fdf8efd
0, 25, 25, 1, 488448, 0x11ad9232
0, 26, 26, 1, 488448, 0x26bd6353
0, 27, 27, 1, 488448, 0xfcb3873d
0, 28, 28, 1, 488448, 0x4c14852e
0, 29, 29, 1, 488448, 0x738ce85a
0, 30, 30, 1, 488448, 0xdb84785a
0, 31, 31, 1, 488448, 0x2b92ab6d
0, 32, 32, 1, 488448, 0x6487d4c5
0, 33, 33, 1, 488448, 0xbad7f74e
0, 34, 34, 1, 488448, 0x2f5c9612
0, 35, 35, 1, 488448, 0x5eb7b32d
0, 36, 36, 1, 488448, 0xa624f119
0, 37, 37, 1, 488448, 0xbf5d39d1
0, 38, 38, 1, 488448, 0xb599e8bf
0, 39, 39, 1, 488448, 0x9137df1d
0, 40, 40, 1, 488448, 0x48ddaa52
0, 41, 41, 1, 488448, 0x7a0d8c38
0, 42, 42, 1, 488448, 0x1b3f05db
0, 43, 43, 1, 488448, 0x09665339
0, 44, 44, 1, 488448, 0x9fb1fc46
0, 45, 45, 1, 488448, 0x73a73835
0, 46, 46, 1, 488448, 0x2deb500f
0, 47, 47, 1, 488448, 0x750c86a0
0, 48, 48, 1, 488448, 0x55b2b0bf
0, 49, 49, 1, 488448, 0xeedae5ec

View File

@ -0,0 +1,51 @@
#tb 0: 1/25
0, 0, 0, 1, 663552, 0xc3f7d47b
0, 1, 1, 1, 663552, 0xd43ed327
0, 2, 2, 1, 663552, 0xcf2fd4b9
0, 3, 3, 1, 663552, 0x5752d511
0, 4, 4, 1, 663552, 0x2427d5d3
0, 5, 5, 1, 663552, 0x7ee8d43d
0, 6, 6, 1, 663552, 0xf16bd5d7
0, 7, 7, 1, 663552, 0xe86cd5c7
0, 8, 8, 1, 663552, 0x760ad43f
0, 9, 9, 1, 663552, 0x2b52d243
0, 10, 10, 1, 663552, 0x98f9d437
0, 11, 11, 1, 663552, 0xc9cdd1b3
0, 12, 12, 1, 663552, 0x5378d1e7
0, 13, 13, 1, 663552, 0xd538d275
0, 14, 14, 1, 663552, 0x695cd0bd
0, 15, 15, 1, 663552, 0x5571d02b
0, 16, 16, 1, 663552, 0x60bfd375
0, 17, 17, 1, 663552, 0x9dc3d435
0, 18, 18, 1, 663552, 0x8fb7d075
0, 19, 19, 1, 663552, 0x969ad181
0, 20, 20, 1, 663552, 0x4d9bd299
0, 21, 21, 1, 663552, 0x1564d3b7
0, 22, 22, 1, 663552, 0xb26ad175
0, 23, 23, 1, 663552, 0x1194d08b
0, 24, 24, 1, 663552, 0x2dd8d259
0, 25, 25, 1, 663552, 0x470ed159
0, 26, 26, 1, 663552, 0xf1b9cd67
0, 27, 27, 1, 663552, 0x15c0ce0b
0, 28, 28, 1, 663552, 0x57bdcdcb
0, 29, 29, 1, 663552, 0x8b6ccd15
0, 30, 30, 1, 663552, 0xa329cc7f
0, 31, 31, 1, 663552, 0x6945cabd
0, 32, 32, 1, 663552, 0x4ca4cacb
0, 33, 33, 1, 663552, 0x996fca55
0, 34, 34, 1, 663552, 0x252bcc73
0, 35, 35, 1, 663552, 0x1072cceb
0, 36, 36, 1, 663552, 0x1e5dce5d
0, 37, 37, 1, 663552, 0xeabecf17
0, 38, 38, 1, 663552, 0x5601d139
0, 39, 39, 1, 663552, 0xd843d211
0, 40, 40, 1, 663552, 0x6ee8d08f
0, 41, 41, 1, 663552, 0x2519cdc9
0, 42, 42, 1, 663552, 0x1381ce55
0, 43, 43, 1, 663552, 0x5e26cbed
0, 44, 44, 1, 663552, 0xa14ed151
0, 45, 45, 1, 663552, 0xbaddd4af
0, 46, 46, 1, 663552, 0xa3b9d405
0, 47, 47, 1, 663552, 0x4a40d3c5
0, 48, 48, 1, 663552, 0xc98bd245
0, 49, 49, 1, 663552, 0xbec6d2f7