diff mbox series

[FFmpeg-devel] fate: add crystalizer test

Message ID 20220317113141.16245-1-onemda@gmail.com
State Accepted
Commit 89083142fa52734b246c4569acdcabb72d99e42a
Headers show
Series [FFmpeg-devel] fate: add crystalizer test | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_aarch64_jetson success Make finished
andriy/make_fate_aarch64_jetson success Make fate finished

Commit Message

Paul B Mahol March 17, 2022, 11:31 a.m. UTC
Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 tests/fate/filter-audio.mak       |   5 +
 tests/ref/fate/filter-crystalizer | 264 ++++++++++++++++++++++++++++++
 2 files changed, 269 insertions(+)
 create mode 100644 tests/ref/fate/filter-crystalizer

Comments

Paul B Mahol March 22, 2022, 10:05 a.m. UTC | #1
will apply soon
diff mbox series

Patch

diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index f97318476f..eff32b9f81 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -104,6 +104,11 @@  fate-filter-chorus: tests/data/asynth-22050-1.wav
 fate-filter-chorus: SRC = $(TARGET_PATH)/tests/data/asynth-22050-1.wav
 fate-filter-chorus: CMD = framecrc -i $(SRC) -frames:a 10 -af aresample,chorus=0.050001:0.050002:64:0.050001:0.025003:2.00004,aresample
 
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, CRYSTALIZER, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-crystalizer
+fate-filter-crystalizer: tests/data/asynth-44100-2.wav
+fate-filter-crystalizer: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
+fate-filter-crystalizer: CMD = framecrc -i $(SRC) -af aresample,crystalizer=2:0,crystalizer=-2:0,aresample
+
 FATE_AFILTER-$(call FILTERDEMDECENCMUX, DCSHIFT, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-dcshift
 fate-filter-dcshift: tests/data/asynth-44100-2.wav
 fate-filter-dcshift: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
diff --git a/tests/ref/fate/filter-crystalizer b/tests/ref/fate/filter-crystalizer
new file mode 100644
index 0000000000..ed50fb9788
--- /dev/null
+++ b/tests/ref/fate/filter-crystalizer
@@ -0,0 +1,264 @@ 
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout_name 0: stereo
+0,          0,          0,     1024,     4096, 0x29e3eecf
+0,       1024,       1024,     1024,     4096, 0x18390b96
+0,       2048,       2048,     1024,     4096, 0xc477fa99
+0,       3072,       3072,     1024,     4096, 0x3bc0f14f
+0,       4096,       4096,     1024,     4096, 0x2379ed91
+0,       5120,       5120,     1024,     4096, 0xfd6a0070
+0,       6144,       6144,     1024,     4096, 0x0b01f4cf
+0,       7168,       7168,     1024,     4096, 0x6716fd93
+0,       8192,       8192,     1024,     4096, 0x1840f25b
+0,       9216,       9216,     1024,     4096, 0x9c1ffaf1
+0,      10240,      10240,     1024,     4096, 0xcbedefaf
+0,      11264,      11264,     1024,     4096, 0x3e050390
+0,      12288,      12288,     1024,     4096, 0xb30e0090
+0,      13312,      13312,     1024,     4096, 0x26b8f75b
+0,      14336,      14336,     1024,     4096, 0xd706e311
+0,      15360,      15360,     1024,     4096, 0x0c480138
+0,      16384,      16384,     1024,     4096, 0x6c9a0216
+0,      17408,      17408,     1024,     4096, 0x7abce54f
+0,      18432,      18432,     1024,     4096, 0xda45f63f
+0,      19456,      19456,     1024,     4096, 0x50d5ff87
+0,      20480,      20480,     1024,     4096, 0x59be0352
+0,      21504,      21504,     1024,     4096, 0xa61af077
+0,      22528,      22528,     1024,     4096, 0x84c4fc07
+0,      23552,      23552,     1024,     4096, 0x4a35f345
+0,      24576,      24576,     1024,     4096, 0xbb65fa81
+0,      25600,      25600,     1024,     4096, 0xf6c7f5e5
+0,      26624,      26624,     1024,     4096, 0xd3270138
+0,      27648,      27648,     1024,     4096, 0x4782ed53
+0,      28672,      28672,     1024,     4096, 0xe308f055
+0,      29696,      29696,     1024,     4096, 0x7d33f97d
+0,      30720,      30720,     1024,     4096, 0xb8b00dd4
+0,      31744,      31744,     1024,     4096, 0x7ff7efab
+0,      32768,      32768,     1024,     4096, 0x29e3eecf
+0,      33792,      33792,     1024,     4096, 0x18390b96
+0,      34816,      34816,     1024,     4096, 0xc477fa99
+0,      35840,      35840,     1024,     4096, 0x3bc0f14f
+0,      36864,      36864,     1024,     4096, 0x2379ed91
+0,      37888,      37888,     1024,     4096, 0xfd6a0070
+0,      38912,      38912,     1024,     4096, 0x0b01f4cf
+0,      39936,      39936,     1024,     4096, 0x6716fd93
+0,      40960,      40960,     1024,     4096, 0x1840f25b
+0,      41984,      41984,     1024,     4096, 0x9c1ffaf1
+0,      43008,      43008,     1024,     4096, 0xcbedefaf
+0,      44032,      44032,     1024,     4096, 0xda37d691
+0,      45056,      45056,     1024,     4096, 0x7193ecbf
+0,      46080,      46080,     1024,     4096, 0x6e4a0a36
+0,      47104,      47104,     1024,     4096, 0x61cfe70d
+0,      48128,      48128,     1024,     4096, 0xc19ffa15
+0,      49152,      49152,     1024,     4096, 0x7b32fb3d
+0,      50176,      50176,     1024,     4096, 0xdacefd3f
+0,      51200,      51200,     1024,     4096, 0x3964f64d
+0,      52224,      52224,     1024,     4096, 0xdcf2edad
+0,      53248,      53248,     1024,     4096, 0x1367f69b
+0,      54272,      54272,     1024,     4096, 0xd4c6f7b9
+0,      55296,      55296,     1024,     4096, 0x9e041186
+0,      56320,      56320,     1024,     4096, 0xe939edd7
+0,      57344,      57344,     1024,     4096, 0xa932336a
+0,      58368,      58368,     1024,     4096, 0x5f510e28
+0,      59392,      59392,     1024,     4096, 0x4b8501c8
+0,      60416,      60416,     1024,     4096, 0xfbc30250
+0,      61440,      61440,     1024,     4096, 0x5e7fd855
+0,      62464,      62464,     1024,     4096, 0x8ef1f265
+0,      63488,      63488,     1024,     4096, 0x9f7601c2
+0,      64512,      64512,     1024,     4096, 0xb400f0b7
+0,      65536,      65536,     1024,     4096, 0x4c91e10b
+0,      66560,      66560,     1024,     4096, 0x3f41fe61
+0,      67584,      67584,     1024,     4096, 0x74fff9b9
+0,      68608,      68608,     1024,     4096, 0x18bbf5a5
+0,      69632,      69632,     1024,     4096, 0x51a70180
+0,      70656,      70656,     1024,     4096, 0x29f3e8c5
+0,      71680,      71680,     1024,     4096, 0x562efdb9
+0,      72704,      72704,     1024,     4096, 0xa2e006e0
+0,      73728,      73728,     1024,     4096, 0xa1bff541
+0,      74752,      74752,     1024,     4096, 0xd95b0012
+0,      75776,      75776,     1024,     4096, 0xd93e0912
+0,      76800,      76800,     1024,     4096, 0x6c2a1d88
+0,      77824,      77824,     1024,     4096, 0xb4d8fb8b
+0,      78848,      78848,     1024,     4096, 0xf14b0492
+0,      79872,      79872,     1024,     4096, 0x1c7be7b7
+0,      80896,      80896,     1024,     4096, 0xc181f877
+0,      81920,      81920,     1024,     4096, 0xba132d14
+0,      82944,      82944,     1024,     4096, 0xabae2d9a
+0,      83968,      83968,     1024,     4096, 0xb07fff15
+0,      84992,      84992,     1024,     4096, 0xa0c1ff2d
+0,      86016,      86016,     1024,     4096, 0x19f7fd1f
+0,      87040,      87040,     1024,     4096, 0xcb6d11a4
+0,      88064,      88064,     1024,     4096, 0x166ac8b7
+0,      89088,      89088,     1024,     4096, 0xe68dda8f
+0,      90112,      90112,     1024,     4096, 0xe457b505
+0,      91136,      91136,     1024,     4096, 0xda25a409
+0,      92160,      92160,     1024,     4096, 0x5b5d9d3b
+0,      93184,      93184,     1024,     4096, 0xa61eb13d
+0,      94208,      94208,     1024,     4096, 0xac93b66f
+0,      95232,      95232,     1024,     4096, 0xc7aeb33f
+0,      96256,      96256,     1024,     4096, 0x52cccfb5
+0,      97280,      97280,     1024,     4096, 0x4e4cf487
+0,      98304,      98304,     1024,     4096, 0x19c07f35
+0,      99328,      99328,     1024,     4096, 0x63ecd34f
+0,     100352,     100352,     1024,     4096, 0x122aec53
+0,     101376,     101376,     1024,     4096, 0x6581c0ad
+0,     102400,     102400,     1024,     4096, 0x640edb15
+0,     103424,     103424,     1024,     4096, 0x5d66c66f
+0,     104448,     104448,     1024,     4096, 0x069e9d35
+0,     105472,     105472,     1024,     4096, 0x5c9fd0e9
+0,     106496,     106496,     1024,     4096, 0x72468667
+0,     107520,     107520,     1024,     4096, 0x6e6dd02b
+0,     108544,     108544,     1024,     4096, 0x93edce33
+0,     109568,     109568,     1024,     4096, 0xcdfbd519
+0,     110592,     110592,     1024,     4096, 0x8463f2bb
+0,     111616,     111616,     1024,     4096, 0x5ca6f869
+0,     112640,     112640,     1024,     4096, 0x099a0398
+0,     113664,     113664,     1024,     4096, 0xa7fa10f0
+0,     114688,     114688,     1024,     4096, 0x28caddd3
+0,     115712,     115712,     1024,     4096, 0x4852ef8b
+0,     116736,     116736,     1024,     4096, 0x0250ee7b
+0,     117760,     117760,     1024,     4096, 0x9583da21
+0,     118784,     118784,     1024,     4096, 0x7365fb33
+0,     119808,     119808,     1024,     4096, 0x28c82066
+0,     120832,     120832,     1024,     4096, 0x94650be4
+0,     121856,     121856,     1024,     4096, 0xeb21f8eb
+0,     122880,     122880,     1024,     4096, 0xcd88f455
+0,     123904,     123904,     1024,     4096, 0x66a9efaf
+0,     124928,     124928,     1024,     4096, 0x5500c6ed
+0,     125952,     125952,     1024,     4096, 0x0ee0c62d
+0,     126976,     126976,     1024,     4096, 0x34d30762
+0,     128000,     128000,     1024,     4096, 0x8c0dec9f
+0,     129024,     129024,     1024,     4096, 0x790011d8
+0,     130048,     130048,     1024,     4096, 0xb76a1136
+0,     131072,     131072,     1024,     4096, 0x7dddfea7
+0,     132096,     132096,     1024,     4096, 0xdfa3ed49
+0,     133120,     133120,     1024,     4096, 0xc129f54e
+0,     134144,     134144,     1024,     4096, 0x9a86f077
+0,     135168,     135168,     1024,     4096, 0xc9eef209
+0,     136192,     136192,     1024,     4096, 0x72d4029b
+0,     137216,     137216,     1024,     4096, 0x8ec20590
+0,     138240,     138240,     1024,     4096, 0xd48f18ed
+0,     139264,     139264,     1024,     4096, 0xd807eadc
+0,     140288,     140288,     1024,     4096, 0x1e2bea09
+0,     141312,     141312,     1024,     4096, 0x937af12e
+0,     142336,     142336,     1024,     4096, 0xdedbf303
+0,     143360,     143360,     1024,     4096, 0xdc75df88
+0,     144384,     144384,     1024,     4096, 0x1845ffd6
+0,     145408,     145408,     1024,     4096, 0x20e8150c
+0,     146432,     146432,     1024,     4096, 0x5ea7eeef
+0,     147456,     147456,     1024,     4096, 0x4c7efa21
+0,     148480,     148480,     1024,     4096, 0x8b97e30e
+0,     149504,     149504,     1024,     4096, 0xe5040228
+0,     150528,     150528,     1024,     4096, 0x6283f78c
+0,     151552,     151552,     1024,     4096, 0xe7100140
+0,     152576,     152576,     1024,     4096, 0x9ea6f9b2
+0,     153600,     153600,     1024,     4096, 0x5f0e1563
+0,     154624,     154624,     1024,     4096, 0x510bf18e
+0,     155648,     155648,     1024,     4096, 0x5f4fe425
+0,     156672,     156672,     1024,     4096, 0x507af3c0
+0,     157696,     157696,     1024,     4096, 0xbf14ddc6
+0,     158720,     158720,     1024,     4096, 0x1871ed69
+0,     159744,     159744,     1024,     4096, 0xc349ef9f
+0,     160768,     160768,     1024,     4096, 0x4e2c1834
+0,     161792,     161792,     1024,     4096, 0x2383fe04
+0,     162816,     162816,     1024,     4096, 0x6626f415
+0,     163840,     163840,     1024,     4096, 0x283be379
+0,     164864,     164864,     1024,     4096, 0xc76c0ceb
+0,     165888,     165888,     1024,     4096, 0xa0b8040f
+0,     166912,     166912,     1024,     4096, 0x2535eb6d
+0,     167936,     167936,     1024,     4096, 0xeb180bb5
+0,     168960,     168960,     1024,     4096, 0xbc5cf059
+0,     169984,     169984,     1024,     4096, 0x1862f1ac
+0,     171008,     171008,     1024,     4096, 0x9cc2ea2b
+0,     172032,     172032,     1024,     4096, 0xbb9ae754
+0,     173056,     173056,     1024,     4096, 0x716debb5
+0,     174080,     174080,     1024,     4096, 0xff3aff2a
+0,     175104,     175104,     1024,     4096, 0x755dfa5c
+0,     176128,     176128,     1024,     4096, 0x3b830605
+0,     177152,     177152,     1024,     4096, 0x0030dc9e
+0,     178176,     178176,     1024,     4096, 0xb017fd54
+0,     179200,     179200,     1024,     4096, 0x5c7dfa2e
+0,     180224,     180224,     1024,     4096, 0x7887e599
+0,     181248,     181248,     1024,     4096, 0xb730e72f
+0,     182272,     182272,     1024,     4096, 0x6bb3fae4
+0,     183296,     183296,     1024,     4096, 0xcc08fc36
+0,     184320,     184320,     1024,     4096, 0x5afd9ec2
+0,     185344,     185344,     1024,     4096, 0xa1d3e83d
+0,     186368,     186368,     1024,     4096, 0x7f96013c
+0,     187392,     187392,     1024,     4096, 0x7a0afe31
+0,     188416,     188416,     1024,     4096, 0xa37d1701
+0,     189440,     189440,     1024,     4096, 0x4615ebc2
+0,     190464,     190464,     1024,     4096, 0x217005c1
+0,     191488,     191488,     1024,     4096, 0x1755f789
+0,     192512,     192512,     1024,     4096, 0x83e6db65
+0,     193536,     193536,     1024,     4096, 0x92ab1447
+0,     194560,     194560,     1024,     4096, 0xedbdf383
+0,     195584,     195584,     1024,     4096, 0x4316f6a9
+0,     196608,     196608,     1024,     4096, 0x1a6a0b4c
+0,     197632,     197632,     1024,     4096, 0xdfd809b7
+0,     198656,     198656,     1024,     4096, 0x1d2cf5f1
+0,     199680,     199680,     1024,     4096, 0xd366f4a1
+0,     200704,     200704,     1024,     4096, 0x6a2f86e0
+0,     201728,     201728,     1024,     4096, 0xf51f08a9
+0,     202752,     202752,     1024,     4096, 0x05edefa8
+0,     203776,     203776,     1024,     4096, 0x255df2a6
+0,     204800,     204800,     1024,     4096, 0xe881d9e4
+0,     205824,     205824,     1024,     4096, 0x50380523
+0,     206848,     206848,     1024,     4096, 0x8b93eb26
+0,     207872,     207872,     1024,     4096, 0x759cf94c
+0,     208896,     208896,     1024,     4096, 0x8474f591
+0,     209920,     209920,     1024,     4096, 0x0030dc9e
+0,     210944,     210944,     1024,     4096, 0xb017fd54
+0,     211968,     211968,     1024,     4096, 0x5c7dfa2e
+0,     212992,     212992,     1024,     4096, 0x7887e599
+0,     214016,     214016,     1024,     4096, 0xb730e72f
+0,     215040,     215040,     1024,     4096, 0x6bb3fae4
+0,     216064,     216064,     1024,     4096, 0xcc08fc36
+0,     217088,     217088,     1024,     4096, 0x5afd9ec2
+0,     218112,     218112,     1024,     4096, 0xa1d3e83d
+0,     219136,     219136,     1024,     4096, 0x7f96013c
+0,     220160,     220160,     1024,     4096, 0x7a0afe31
+0,     221184,     221184,     1024,     4096, 0xa37d1701
+0,     222208,     222208,     1024,     4096, 0x4615ebc2
+0,     223232,     223232,     1024,     4096, 0x217005c1
+0,     224256,     224256,     1024,     4096, 0x1755f789
+0,     225280,     225280,     1024,     4096, 0x83e6db65
+0,     226304,     226304,     1024,     4096, 0x92ab1447
+0,     227328,     227328,     1024,     4096, 0xedbdf383
+0,     228352,     228352,     1024,     4096, 0x4316f6a9
+0,     229376,     229376,     1024,     4096, 0x1a6a0b4c
+0,     230400,     230400,     1024,     4096, 0xdfd809b7
+0,     231424,     231424,     1024,     4096, 0x1d2cf5f1
+0,     232448,     232448,     1024,     4096, 0xd366f4a1
+0,     233472,     233472,     1024,     4096, 0x6a2f86e0
+0,     234496,     234496,     1024,     4096, 0xf51f08a9
+0,     235520,     235520,     1024,     4096, 0x05edefa8
+0,     236544,     236544,     1024,     4096, 0x255df2a6
+0,     237568,     237568,     1024,     4096, 0xe881d9e4
+0,     238592,     238592,     1024,     4096, 0x50380523
+0,     239616,     239616,     1024,     4096, 0x8b93eb26
+0,     240640,     240640,     1024,     4096, 0x759cf94c
+0,     241664,     241664,     1024,     4096, 0x8474f591
+0,     242688,     242688,     1024,     4096, 0x0030dc9e
+0,     243712,     243712,     1024,     4096, 0xb017fd54
+0,     244736,     244736,     1024,     4096, 0x5c7dfa2e
+0,     245760,     245760,     1024,     4096, 0x7887e599
+0,     246784,     246784,     1024,     4096, 0xb730e72f
+0,     247808,     247808,     1024,     4096, 0x6bb3fae4
+0,     248832,     248832,     1024,     4096, 0xcc08fc36
+0,     249856,     249856,     1024,     4096, 0x5afd9ec2
+0,     250880,     250880,     1024,     4096, 0xa1d3e83d
+0,     251904,     251904,     1024,     4096, 0x7f96013c
+0,     252928,     252928,     1024,     4096, 0x7a0afe31
+0,     253952,     253952,     1024,     4096, 0xa37d1701
+0,     254976,     254976,     1024,     4096, 0x4615ebc2
+0,     256000,     256000,     1024,     4096, 0x217005c1
+0,     257024,     257024,     1024,     4096, 0x1755f789
+0,     258048,     258048,     1024,     4096, 0x83e6db65
+0,     259072,     259072,     1024,     4096, 0x92ab1447
+0,     260096,     260096,     1024,     4096, 0xedbdf383
+0,     261120,     261120,     1024,     4096, 0x4316f6a9
+0,     262144,     262144,     1024,     4096, 0x1a6a0b4c
+0,     263168,     263168,     1024,     4096, 0xdfd809b7
+0,     264192,     264192,      408,     1632, 0xf412313e