[FFmpeg-cvslog] fate: add anequalizer test

Petru Rares Sincraian git at videolan.org
Fri Jun 24 14:56:41 CEST 2016


ffmpeg | branch: master | Petru Rares Sincraian <psincraian at outlook.com> | Wed Jun 22 12:58:14 2016 +0200| [84b252ba2a561b627aeed75ce58c413a1bcc7cbe] | committer: Michael Niedermayer

fate: add anequalizer test

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=84b252ba2a561b627aeed75ce58c413a1bcc7cbe
---

 tests/fate/filter-audio.mak       |    6 +
 tests/filtergraphs/anequalizer    |    1 +
 tests/ref/fate/filter-anequalizer |  264 +++++++++++++++++++++++++++++++++++++
 3 files changed, 271 insertions(+)

diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index f678cfb..acac4c0 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -78,6 +78,12 @@ fate-filter-apad: tests/data/asynth-44100-2.wav
 fate-filter-apad: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
 fate-filter-apad: CMD = framecrc -i $(SRC) -af apad=pad_len=10
 
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, ANEQUALIZER, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-anequalizer
+fate-filter-anequalizer: tests/data/asynth-44100-2.wav
+fate-filter-anequalizer: tests/data/filtergraphs/anequalizer
+fate-filter-anequalizer: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
+fate-filter-anequalizer: CMD = framecrc -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/anequalizer
+
 tests/data/hls-list.m3u8: TAG = GEN
 tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
 	$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
diff --git a/tests/filtergraphs/anequalizer b/tests/filtergraphs/anequalizer
new file mode 100644
index 0000000..fd4a86f
--- /dev/null
+++ b/tests/filtergraphs/anequalizer
@@ -0,0 +1 @@
+anequalizer='c0 f=200 w=200 g=-80 t=1'
diff --git a/tests/ref/fate/filter-anequalizer b/tests/ref/fate/filter-anequalizer
new file mode 100644
index 0000000..21c7aaf
--- /dev/null
+++ b/tests/ref/fate/filter-anequalizer
@@ -0,0 +1,264 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 3
+0,          0,          0,     1024,     4096, 0x8e1bf8e0
+0,       1024,       1024,     1024,     4096, 0xe315f564
+0,       2048,       2048,     1024,     4096, 0x3d0efa98
+0,       3072,       3072,     1024,     4096, 0x5c1bf6b2
+0,       4096,       4096,     1024,     4096, 0xb5b4ff02
+0,       5120,       5120,     1024,     4096, 0xb9b1f4b6
+0,       6144,       6144,     1024,     4096, 0x86e9f411
+0,       7168,       7168,     1024,     4096, 0x36aafbd3
+0,       8192,       8192,     1024,     4096, 0x05d2f63f
+0,       9216,       9216,     1024,     4096, 0x1d95fd16
+0,      10240,      10240,     1024,     4096, 0x4fb0f009
+0,      11264,      11264,     1024,     4096, 0x6a6301c6
+0,      12288,      12288,     1024,     4096, 0x299cfbd8
+0,      13312,      13312,     1024,     4096, 0x2a7ffe8c
+0,      14336,      14336,     1024,     4096, 0xceace509
+0,      15360,      15360,     1024,     4096, 0xd084feec
+0,      16384,      16384,     1024,     4096, 0xd956f613
+0,      17408,      17408,     1024,     4096, 0xf61dfa8c
+0,      18432,      18432,     1024,     4096, 0x6ebcf53e
+0,      19456,      19456,     1024,     4096, 0x8601f9f2
+0,      20480,      20480,     1024,     4096, 0x6a4bf2d9
+0,      21504,      21504,     1024,     4096, 0xb917fc1d
+0,      22528,      22528,     1024,     4096, 0x85cffbca
+0,      23552,      23552,     1024,     4096, 0x80d9f509
+0,      24576,      24576,     1024,     4096, 0xa4acf898
+0,      25600,      25600,     1024,     4096, 0x7614f3c0
+0,      26624,      26624,     1024,     4096, 0x5f3700dc
+0,      27648,      27648,     1024,     4096, 0x4308ef21
+0,      28672,      28672,     1024,     4096, 0x670df4fe
+0,      29696,      29696,     1024,     4096, 0x98d0f24f
+0,      30720,      30720,     1024,     4096, 0xed360be0
+0,      31744,      31744,     1024,     4096, 0xbe10f1eb
+0,      32768,      32768,     1024,     4096, 0xb5d0fac0
+0,      33792,      33792,     1024,     4096, 0x94c1f649
+0,      34816,      34816,     1024,     4096, 0x3617fb9b
+0,      35840,      35840,     1024,     4096, 0x1840f6e6
+0,      36864,      36864,     1024,     4096, 0x0ce8fdfa
+0,      37888,      37888,     1024,     4096, 0xd7c1f4b8
+0,      38912,      38912,     1024,     4096, 0x86e9f411
+0,      39936,      39936,     1024,     4096, 0x36aafbd3
+0,      40960,      40960,     1024,     4096, 0x05d2f63f
+0,      41984,      41984,     1024,     4096, 0x1d95fd16
+0,      43008,      43008,     1024,     4096, 0x4fb0f009
+0,      44032,      44032,     1024,     4096, 0xc6de743e
+0,      45056,      45056,     1024,     4096, 0xe878f6e3
+0,      46080,      46080,     1024,     4096, 0x40c3fdf9
+0,      47104,      47104,     1024,     4096, 0x19def744
+0,      48128,      48128,     1024,     4096, 0x9e3d0016
+0,      49152,      49152,     1024,     4096, 0x2d3bfaee
+0,      50176,      50176,     1024,     4096, 0x0ae800c8
+0,      51200,      51200,     1024,     4096, 0xd6530007
+0,      52224,      52224,     1024,     4096, 0x3ec6fa96
+0,      53248,      53248,     1024,     4096, 0x4f3df4c4
+0,      54272,      54272,     1024,     4096, 0x8584f574
+0,      55296,      55296,     1024,     4096, 0xaa2311e8
+0,      56320,      56320,     1024,     4096, 0xfc04ed39
+0,      57344,      57344,     1024,     4096, 0xdefc1dcf
+0,      58368,      58368,     1024,     4096, 0x26120297
+0,      59392,      59392,     1024,     4096, 0x12db0600
+0,      60416,      60416,     1024,     4096, 0x590cfb36
+0,      61440,      61440,     1024,     4096, 0x03d2e732
+0,      62464,      62464,     1024,     4096, 0xa0b1eecb
+0,      63488,      63488,     1024,     4096, 0x89e6f0f8
+0,      64512,      64512,     1024,     4096, 0x96c3fde6
+0,      65536,      65536,     1024,     4096, 0x5d3ef320
+0,      66560,      66560,     1024,     4096, 0x780beba1
+0,      67584,      67584,     1024,     4096, 0x8a6ef641
+0,      68608,      68608,     1024,     4096, 0x716df2d2
+0,      69632,      69632,     1024,     4096, 0xe02bf742
+0,      70656,      70656,     1024,     4096, 0x636f0676
+0,      71680,      71680,     1024,     4096, 0x211fef81
+0,      72704,      72704,     1024,     4096, 0x230d03c2
+0,      73728,      73728,     1024,     4096, 0x78c7ec7e
+0,      74752,      74752,     1024,     4096, 0x57aaf08e
+0,      75776,      75776,     1024,     4096, 0xf35c034e
+0,      76800,      76800,     1024,     4096, 0xa52120e1
+0,      77824,      77824,     1024,     4096, 0xcd0ffe7c
+0,      78848,      78848,     1024,     4096, 0x76a40264
+0,      79872,      79872,     1024,     4096, 0x3daae73c
+0,      80896,      80896,     1024,     4096, 0x02bfebb8
+0,      81920,      81920,     1024,     4096, 0x2fad0aef
+0,      82944,      82944,     1024,     4096, 0xaf3d1e35
+0,      83968,      83968,     1024,     4096, 0x1577f70b
+0,      84992,      84992,     1024,     4096, 0x7330ff44
+0,      86016,      86016,     1024,     4096, 0xfc10f794
+0,      87040,      87040,     1024,     4096, 0xf883ff53
+0,      88064,      88064,     1024,     4096, 0x4d91f664
+0,      89088,      89088,     1024,     4096, 0x7bbcf94a
+0,      90112,      90112,     1024,     4096, 0x5243da5a
+0,      91136,      91136,     1024,     4096, 0xc9f2b510
+0,      92160,      92160,     1024,     4096, 0xd45daee9
+0,      93184,      93184,     1024,     4096, 0xf040cbe7
+0,      94208,      94208,     1024,     4096, 0xc755db61
+0,      95232,      95232,     1024,     4096, 0x2a2bdb39
+0,      96256,      96256,     1024,     4096, 0xd180faf7
+0,      97280,      97280,     1024,     4096, 0xe05bf3b3
+0,      98304,      98304,     1024,     4096, 0xee84c6a1
+0,      99328,      99328,     1024,     4096, 0xb05ec71b
+0,     100352,     100352,     1024,     4096, 0xf788e856
+0,     101376,     101376,     1024,     4096, 0x884fe6b4
+0,     102400,     102400,     1024,     4096, 0xc474ef2f
+0,     103424,     103424,     1024,     4096, 0x8ea2e3e3
+0,     104448,     104448,     1024,     4096, 0x32e2ba03
+0,     105472,     105472,     1024,     4096, 0xde62e2be
+0,     106496,     106496,     1024,     4096, 0xd9c1a387
+0,     107520,     107520,     1024,     4096, 0xb923e9c8
+0,     108544,     108544,     1024,     4096, 0xe0e2ef73
+0,     109568,     109568,     1024,     4096, 0xdc66f037
+0,     110592,     110592,     1024,     4096, 0x4c5ddb65
+0,     111616,     111616,     1024,     4096, 0xddc5e6dc
+0,     112640,     112640,     1024,     4096, 0x2c2afa48
+0,     113664,     113664,     1024,     4096, 0xfe1cefab
+0,     114688,     114688,     1024,     4096, 0xa761d9b1
+0,     115712,     115712,     1024,     4096, 0xac1af519
+0,     116736,     116736,     1024,     4096, 0x1d3e0455
+0,     117760,     117760,     1024,     4096, 0xca8bdaec
+0,     118784,     118784,     1024,     4096, 0x1c890dd7
+0,     119808,     119808,     1024,     4096, 0xd01023ec
+0,     120832,     120832,     1024,     4096, 0xd608fa07
+0,     121856,     121856,     1024,     4096, 0xa01bdceb
+0,     122880,     122880,     1024,     4096, 0x5b6e0428
+0,     123904,     123904,     1024,     4096, 0x699bffc9
+0,     124928,     124928,     1024,     4096, 0x7200d6ea
+0,     125952,     125952,     1024,     4096, 0x60ece933
+0,     126976,     126976,     1024,     4096, 0x6d1305ad
+0,     128000,     128000,     1024,     4096, 0xf932e234
+0,     129024,     129024,     1024,     4096, 0xc88dfc53
+0,     130048,     130048,     1024,     4096, 0xecaafd32
+0,     131072,     131072,     1024,     4096, 0x4683eec4
+0,     132096,     132096,     1024,     4096, 0x01a40877
+0,     133120,     133120,     1024,     4096, 0x68affdb9
+0,     134144,     134144,     1024,     4096, 0x3d50049a
+0,     135168,     135168,     1024,     4096, 0x28c3e64a
+0,     136192,     136192,     1024,     4096, 0xe77eff83
+0,     137216,     137216,     1024,     4096, 0x778ef1d7
+0,     138240,     138240,     1024,     4096, 0x8632016c
+0,     139264,     139264,     1024,     4096, 0x113ff74d
+0,     140288,     140288,     1024,     4096, 0x8a410144
+0,     141312,     141312,     1024,     4096, 0xf1f8032c
+0,     142336,     142336,     1024,     4096, 0x4ea9f305
+0,     143360,     143360,     1024,     4096, 0x08beed52
+0,     144384,     144384,     1024,     4096, 0xe62e0599
+0,     145408,     145408,     1024,     4096, 0xabc1f9cb
+0,     146432,     146432,     1024,     4096, 0x0a3cf37c
+0,     147456,     147456,     1024,     4096, 0x9d84eaec
+0,     148480,     148480,     1024,     4096, 0x0ecafb82
+0,     149504,     149504,     1024,     4096, 0x3898f9f9
+0,     150528,     150528,     1024,     4096, 0xbe95f626
+0,     151552,     151552,     1024,     4096, 0x2bd01290
+0,     152576,     152576,     1024,     4096, 0xb3ccf9cc
+0,     153600,     153600,     1024,     4096, 0x1d6510a7
+0,     154624,     154624,     1024,     4096, 0xb758f5ec
+0,     155648,     155648,     1024,     4096, 0xe163f2f7
+0,     156672,     156672,     1024,     4096, 0x208cf625
+0,     157696,     157696,     1024,     4096, 0x0e7ee529
+0,     158720,     158720,     1024,     4096, 0x82fef772
+0,     159744,     159744,     1024,     4096, 0xbcadfd1a
+0,     160768,     160768,     1024,     4096, 0xb84914e1
+0,     161792,     161792,     1024,     4096, 0xae9de78e
+0,     162816,     162816,     1024,     4096, 0x17afdd4d
+0,     163840,     163840,     1024,     4096, 0x6f41e1ac
+0,     164864,     164864,     1024,     4096, 0x07b2019e
+0,     165888,     165888,     1024,     4096, 0x92a9f923
+0,     166912,     166912,     1024,     4096, 0xb284f10b
+0,     167936,     167936,     1024,     4096, 0x6a3ffa40
+0,     168960,     168960,     1024,     4096, 0xaee7e8bd
+0,     169984,     169984,     1024,     4096, 0xa409e2f3
+0,     171008,     171008,     1024,     4096, 0x26f3f5ff
+0,     172032,     172032,     1024,     4096, 0x1a89eca5
+0,     173056,     173056,     1024,     4096, 0x8a49f293
+0,     174080,     174080,     1024,     4096, 0x9d4506f7
+0,     175104,     175104,     1024,     4096, 0x0ca2f075
+0,     176128,     176128,     1024,     4096, 0x7beb063f
+0,     177152,     177152,     1024,     4096, 0xe2b1e8a0
+0,     178176,     178176,     1024,     4096, 0xcc77fbd0
+0,     179200,     179200,     1024,     4096, 0x7c93f956
+0,     180224,     180224,     1024,     4096, 0xdb28fb69
+0,     181248,     181248,     1024,     4096, 0xe49afc39
+0,     182272,     182272,     1024,     4096, 0x60e904b5
+0,     183296,     183296,     1024,     4096, 0xbb67ebbc
+0,     184320,     184320,     1024,     4096, 0xc1e4ca2b
+0,     185344,     185344,     1024,     4096, 0xdcb8e550
+0,     186368,     186368,     1024,     4096, 0xe70bfe5d
+0,     187392,     187392,     1024,     4096, 0x5da3f4d4
+0,     188416,     188416,     1024,     4096, 0xfe9f04f6
+0,     189440,     189440,     1024,     4096, 0xf960f3cd
+0,     190464,     190464,     1024,     4096, 0xe6b7fc42
+0,     191488,     191488,     1024,     4096, 0xb8b9f1e2
+0,     192512,     192512,     1024,     4096, 0x520dd814
+0,     193536,     193536,     1024,     4096, 0x00f30212
+0,     194560,     194560,     1024,     4096, 0x8298f610
+0,     195584,     195584,     1024,     4096, 0xf0d9f47f
+0,     196608,     196608,     1024,     4096, 0x5063f4c4
+0,     197632,     197632,     1024,     4096, 0x6910f4bf
+0,     198656,     198656,     1024,     4096, 0x8c27ec24
+0,     199680,     199680,     1024,     4096, 0xf803052a
+0,     200704,     200704,     1024,     4096, 0xe31b1507
+0,     201728,     201728,     1024,     4096, 0x0ca30bbf
+0,     202752,     202752,     1024,     4096, 0x2659f272
+0,     203776,     203776,     1024,     4096, 0x54c0fc05
+0,     204800,     204800,     1024,     4096, 0x7427ebec
+0,     205824,     205824,     1024,     4096, 0xb652fd0c
+0,     206848,     206848,     1024,     4096, 0xa6c9f494
+0,     207872,     207872,     1024,     4096, 0xd429fef3
+0,     208896,     208896,     1024,     4096, 0xbbd5f8e3
+0,     209920,     209920,     1024,     4096, 0x8b74eed4
+0,     210944,     210944,     1024,     4096, 0xf21cfac1
+0,     211968,     211968,     1024,     4096, 0x055efc5f
+0,     212992,     212992,     1024,     4096, 0x334efc0f
+0,     214016,     214016,     1024,     4096, 0x29e7fc16
+0,     215040,     215040,     1024,     4096, 0xf0f904c0
+0,     216064,     216064,     1024,     4096, 0xaec3ebbb
+0,     217088,     217088,     1024,     4096, 0xc1e4ca2b
+0,     218112,     218112,     1024,     4096, 0xdcb8e550
+0,     219136,     219136,     1024,     4096, 0xe70bfe5d
+0,     220160,     220160,     1024,     4096, 0x5da3f4d4
+0,     221184,     221184,     1024,     4096, 0xfe9f04f6
+0,     222208,     222208,     1024,     4096, 0xf960f3cd
+0,     223232,     223232,     1024,     4096, 0xe6b7fc42
+0,     224256,     224256,     1024,     4096, 0xb8b9f1e2
+0,     225280,     225280,     1024,     4096, 0x520dd814
+0,     226304,     226304,     1024,     4096, 0x00f30212
+0,     227328,     227328,     1024,     4096, 0x8298f610
+0,     228352,     228352,     1024,     4096, 0xf0d9f47f
+0,     229376,     229376,     1024,     4096, 0x5063f4c4
+0,     230400,     230400,     1024,     4096, 0x6910f4bf
+0,     231424,     231424,     1024,     4096, 0x8c27ec24
+0,     232448,     232448,     1024,     4096, 0xf803052a
+0,     233472,     233472,     1024,     4096, 0xe31b1507
+0,     234496,     234496,     1024,     4096, 0x0ca30bbf
+0,     235520,     235520,     1024,     4096, 0x2659f272
+0,     236544,     236544,     1024,     4096, 0x54c0fc05
+0,     237568,     237568,     1024,     4096, 0x7427ebec
+0,     238592,     238592,     1024,     4096, 0xb652fd0c
+0,     239616,     239616,     1024,     4096, 0xa6c9f494
+0,     240640,     240640,     1024,     4096, 0xd429fef3
+0,     241664,     241664,     1024,     4096, 0xbbd5f8e3
+0,     242688,     242688,     1024,     4096, 0x8b74eed4
+0,     243712,     243712,     1024,     4096, 0xf21cfac1
+0,     244736,     244736,     1024,     4096, 0x055efc5f
+0,     245760,     245760,     1024,     4096, 0x334efc0f
+0,     246784,     246784,     1024,     4096, 0x29e7fc16
+0,     247808,     247808,     1024,     4096, 0xf0f904c0
+0,     248832,     248832,     1024,     4096, 0xaec3ebbb
+0,     249856,     249856,     1024,     4096, 0xc1e4ca2b
+0,     250880,     250880,     1024,     4096, 0xdcb8e550
+0,     251904,     251904,     1024,     4096, 0xe70bfe5d
+0,     252928,     252928,     1024,     4096, 0x5da3f4d4
+0,     253952,     253952,     1024,     4096, 0xfe9f04f6
+0,     254976,     254976,     1024,     4096, 0xf960f3cd
+0,     256000,     256000,     1024,     4096, 0xe6b7fc42
+0,     257024,     257024,     1024,     4096, 0xb8b9f1e2
+0,     258048,     258048,     1024,     4096, 0x520dd814
+0,     259072,     259072,     1024,     4096, 0x00f30212
+0,     260096,     260096,     1024,     4096, 0x8298f610
+0,     261120,     261120,     1024,     4096, 0xf0d9f47f
+0,     262144,     262144,     1024,     4096, 0x5063f4c4
+0,     263168,     263168,     1024,     4096, 0x6910f4bf
+0,     264192,     264192,      408,     1632, 0xe6d032c8



More information about the ffmpeg-cvslog mailing list