From f35b2fa8c9b8fea87448bf585020e93198ae47fd Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 19 Sep 2013 17:32:09 +0000 Subject: [PATCH] fate: add adelay test Signed-off-by: Paul B Mahol --- tests/fate/filter-audio.mak | 5 + tests/ref/fate/filter-adelay | 261 +++++++++++++++++++++++++++++++++++ 2 files changed, 266 insertions(+) create mode 100644 tests/ref/fate/filter-adelay diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak index a76d3a406b..84c4b0d0de 100644 --- a/tests/fate/filter-audio.mak +++ b/tests/fate/filter-audio.mak @@ -1,3 +1,8 @@ +FATE_AFILTER-$(call FILTERDEMDECENCMUX, ADELAY, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-adelay +fate-filter-adelay: tests/data/asynth-44100-2.wav +fate-filter-adelay: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav +fate-filter-adelay: CMD = framecrc -i $(SRC) -af adelay=42 + FATE_AMIX += fate-filter-amix-simple fate-filter-amix-simple: CMD = ffmpeg -filter_complex amix -i $(SRC) -ss 3 -i $(SRC1) -f f32le - fate-filter-amix-simple: REF = $(SAMPLES)/filter/amix_simple.pcm diff --git a/tests/ref/fate/filter-adelay b/tests/ref/fate/filter-adelay new file mode 100644 index 0000000000..ac1c5847f9 --- /dev/null +++ b/tests/ref/fate/filter-adelay @@ -0,0 +1,261 @@ +#tb 0: 1/44100 +0, 0, 0, 1024, 4096, 0x9d7bf760 +0, 1024, 1024, 1024, 4096, 0xdf42c46b +0, 2048, 2048, 1024, 4096, 0x2214fd20 +0, 3072, 3072, 1024, 4096, 0x811bfcf0 +0, 4096, 4096, 1024, 4096, 0x671ee9af +0, 5120, 5120, 1024, 4096, 0x5e60fb90 +0, 6144, 6144, 1024, 4096, 0x857bfa49 +0, 7168, 7168, 1024, 4096, 0x100e028d +0, 8192, 8192, 1024, 4096, 0xa351ed1e +0, 9216, 9216, 1024, 4096, 0xa79cf58c +0, 10240, 10240, 1024, 4096, 0x63c1f86a +0, 11264, 11264, 1024, 4096, 0x325a055f +0, 12288, 12288, 1024, 4096, 0x8457f621 +0, 13312, 13312, 1024, 4096, 0xa158f43e +0, 14336, 14336, 1024, 4096, 0x69b6ef60 +0, 15360, 15360, 1024, 4096, 0x3bf1fb3c +0, 16384, 16384, 1024, 4096, 0x942f00cc +0, 17408, 17408, 1024, 4096, 0x16c2f0ab +0, 18432, 18432, 1024, 4096, 0x6b9ff3b6 +0, 19456, 19456, 1024, 4096, 0x1616f3e7 +0, 20480, 20480, 1024, 4096, 0x1ec90735 +0, 21504, 21504, 1024, 4096, 0x3fd3f547 +0, 22528, 22528, 1024, 4096, 0x062af68d +0, 23552, 23552, 1024, 4096, 0x9179ee59 +0, 24576, 24576, 1024, 4096, 0x172d01cb +0, 25600, 25600, 1024, 4096, 0xd9bff94c +0, 26624, 26624, 1024, 4096, 0x3db6f86e +0, 27648, 27648, 1024, 4096, 0x617deb86 +0, 28672, 28672, 1024, 4096, 0x0e06fab5 +0, 29696, 29696, 1024, 4096, 0xf660fc98 +0, 30720, 30720, 1024, 4096, 0x31a30186 +0, 31744, 31744, 1024, 4096, 0x5312f599 +0, 32768, 32768, 1024, 4096, 0x0592f01a +0, 33792, 33792, 1024, 4096, 0x6e770039 +0, 34816, 34816, 1024, 4096, 0x2214fd20 +0, 35840, 35840, 1024, 4096, 0x811bfcf0 +0, 36864, 36864, 1024, 4096, 0x671ee9af +0, 37888, 37888, 1024, 4096, 0x5e60fb90 +0, 38912, 38912, 1024, 4096, 0x857bfa49 +0, 39936, 39936, 1024, 4096, 0x100e028d +0, 40960, 40960, 1024, 4096, 0xa351ed1e +0, 41984, 41984, 1024, 4096, 0xa79cf58c +0, 43008, 43008, 1024, 4096, 0x63c1f86a +0, 44032, 44032, 1024, 4096, 0x96ebeed8 +0, 45056, 45056, 1024, 4096, 0xdfa8cc5b +0, 46080, 46080, 1024, 4096, 0x50660dab +0, 47104, 47104, 1024, 4096, 0x58f1f11c +0, 48128, 48128, 1024, 4096, 0x5a7ceb7d +0, 49152, 49152, 1024, 4096, 0x27fe02db +0, 50176, 50176, 1024, 4096, 0x6d83f8ed +0, 51200, 51200, 1024, 4096, 0x3cc1f309 +0, 52224, 52224, 1024, 4096, 0x2bc5fea4 +0, 53248, 53248, 1024, 4096, 0x0a4ef2ca +0, 54272, 54272, 1024, 4096, 0xd580ed7f +0, 55296, 55296, 1024, 4096, 0x67c210b1 +0, 56320, 56320, 1024, 4096, 0x45d1e8a4 +0, 57344, 57344, 1024, 4096, 0xd9a820a6 +0, 58368, 58368, 1024, 4096, 0x27f405da +0, 59392, 59392, 1024, 4096, 0x863a1b65 +0, 60416, 60416, 1024, 4096, 0xf7770535 +0, 61440, 61440, 1024, 4096, 0x069cee20 +0, 62464, 62464, 1024, 4096, 0x6564f3bb +0, 63488, 63488, 1024, 4096, 0xd953e9dd +0, 64512, 64512, 1024, 4096, 0x6a23f296 +0, 65536, 65536, 1024, 4096, 0x8051f8ed +0, 66560, 66560, 1024, 4096, 0x226af522 +0, 67584, 67584, 1024, 4096, 0x526bf350 +0, 68608, 68608, 1024, 4096, 0x5b8cf6e5 +0, 69632, 69632, 1024, 4096, 0xd155fd1e +0, 70656, 70656, 1024, 4096, 0x0fd2ed83 +0, 71680, 71680, 1024, 4096, 0x0df7f50c +0, 72704, 72704, 1024, 4096, 0x96aa05fc +0, 73728, 73728, 1024, 4096, 0x763ef755 +0, 74752, 74752, 1024, 4096, 0x2022fbb2 +0, 75776, 75776, 1024, 4096, 0x33f0fd78 +0, 76800, 76800, 1024, 4096, 0x91701636 +0, 77824, 77824, 1024, 4096, 0xb43106b7 +0, 78848, 78848, 1024, 4096, 0x3ec312cd +0, 79872, 79872, 1024, 4096, 0x2f97ecb0 +0, 80896, 80896, 1024, 4096, 0x2872f93d +0, 81920, 81920, 1024, 4096, 0xb9fc0bb6 +0, 82944, 82944, 1024, 4096, 0xdba41993 +0, 83968, 83968, 1024, 4096, 0x13f42827 +0, 84992, 84992, 1024, 4096, 0x19c0fc72 +0, 86016, 86016, 1024, 4096, 0x0c760320 +0, 87040, 87040, 1024, 4096, 0x739803c6 +0, 88064, 88064, 1024, 4096, 0x8101e8e8 +0, 89088, 89088, 1024, 4096, 0x521ef51e +0, 90112, 90112, 1024, 4096, 0x5796c18e +0, 91136, 91136, 1024, 4096, 0xae15b81c +0, 92160, 92160, 1024, 4096, 0xa14da4f6 +0, 93184, 93184, 1024, 4096, 0x0df4a2c5 +0, 94208, 94208, 1024, 4096, 0xe6d6b7db +0, 95232, 95232, 1024, 4096, 0x4d83aec1 +0, 96256, 96256, 1024, 4096, 0x1c8dbffb +0, 97280, 97280, 1024, 4096, 0xff62da79 +0, 98304, 98304, 1024, 4096, 0xf41ca375 +0, 99328, 99328, 1024, 4096, 0x32a6dc8a +0, 100352, 100352, 1024, 4096, 0x2d77bdfb +0, 101376, 101376, 1024, 4096, 0x91fec716 +0, 102400, 102400, 1024, 4096, 0x599bdb67 +0, 103424, 103424, 1024, 4096, 0xeeb0c5e7 +0, 104448, 104448, 1024, 4096, 0x1c79cae2 +0, 105472, 105472, 1024, 4096, 0x3b5cbe5e +0, 106496, 106496, 1024, 4096, 0x1168a813 +0, 107520, 107520, 1024, 4096, 0x13e8b7f7 +0, 108544, 108544, 1024, 4096, 0x9cebb015 +0, 109568, 109568, 1024, 4096, 0xcaf5da54 +0, 110592, 110592, 1024, 4096, 0xc555e4d2 +0, 111616, 111616, 1024, 4096, 0x67c2de67 +0, 112640, 112640, 1024, 4096, 0xd642f9ea +0, 113664, 113664, 1024, 4096, 0xa4320e7f +0, 114688, 114688, 1024, 4096, 0xf1b0f37b +0, 115712, 115712, 1024, 4096, 0x4e33f2f2 +0, 116736, 116736, 1024, 4096, 0x17d5edfd +0, 117760, 117760, 1024, 4096, 0x9849e28e +0, 118784, 118784, 1024, 4096, 0x1af9f3a2 +0, 119808, 119808, 1024, 4096, 0x37730916 +0, 120832, 120832, 1024, 4096, 0xe737fd3c +0, 121856, 121856, 1024, 4096, 0x8a590d88 +0, 122880, 122880, 1024, 4096, 0xe6d401e5 +0, 123904, 123904, 1024, 4096, 0xc8e2ec17 +0, 124928, 124928, 1024, 4096, 0x4019cf7d +0, 125952, 125952, 1024, 4096, 0x1f93dd9c +0, 126976, 126976, 1024, 4096, 0x2f9ff3f1 +0, 128000, 128000, 1024, 4096, 0x1530e129 +0, 129024, 129024, 1024, 4096, 0xcd79066a +0, 130048, 130048, 1024, 4096, 0x6b9cfba7 +0, 131072, 131072, 1024, 4096, 0x43170f0b +0, 132096, 132096, 1024, 4096, 0xf183fecf +0, 133120, 133120, 1024, 4096, 0xf1e3f9ca +0, 134144, 134144, 1024, 4096, 0x7d3fef31 +0, 135168, 135168, 1024, 4096, 0x4ea3f680 +0, 136192, 136192, 1024, 4096, 0x80e8ff67 +0, 137216, 137216, 1024, 4096, 0xba58f3b6 +0, 138240, 138240, 1024, 4096, 0xf18d0602 +0, 139264, 139264, 1024, 4096, 0xf7b2f8dc +0, 140288, 140288, 1024, 4096, 0x7ab5fdab +0, 141312, 141312, 1024, 4096, 0x0b04ef46 +0, 142336, 142336, 1024, 4096, 0xb23bf464 +0, 143360, 143360, 1024, 4096, 0xba08edbe +0, 144384, 144384, 1024, 4096, 0x7e1af596 +0, 145408, 145408, 1024, 4096, 0xf23ff63c +0, 146432, 146432, 1024, 4096, 0x7a55efca +0, 147456, 147456, 1024, 4096, 0x427515b0 +0, 148480, 148480, 1024, 4096, 0x653de823 +0, 149504, 149504, 1024, 4096, 0x93a70335 +0, 150528, 150528, 1024, 4096, 0x60eaed4c +0, 151552, 151552, 1024, 4096, 0xe9f30f02 +0, 152576, 152576, 1024, 4096, 0x1e9ff096 +0, 153600, 153600, 1024, 4096, 0xcc7d00a0 +0, 154624, 154624, 1024, 4096, 0xf994fa05 +0, 155648, 155648, 1024, 4096, 0x4577fc19 +0, 156672, 156672, 1024, 4096, 0xa312ed95 +0, 157696, 157696, 1024, 4096, 0xdbe0df34 +0, 158720, 158720, 1024, 4096, 0x4080f766 +0, 159744, 159744, 1024, 4096, 0x2751ec59 +0, 160768, 160768, 1024, 4096, 0xcd14f684 +0, 161792, 161792, 1024, 4096, 0xd42aeee0 +0, 162816, 162816, 1024, 4096, 0x21d3f3f6 +0, 163840, 163840, 1024, 4096, 0x32a6f850 +0, 164864, 164864, 1024, 4096, 0xc4c01074 +0, 165888, 165888, 1024, 4096, 0x27fef9bd +0, 166912, 166912, 1024, 4096, 0x8f29fc33 +0, 167936, 167936, 1024, 4096, 0x0e360352 +0, 168960, 168960, 1024, 4096, 0xc992ecaf +0, 169984, 169984, 1024, 4096, 0x05eff12c +0, 171008, 171008, 1024, 4096, 0x700def8b +0, 172032, 172032, 1024, 4096, 0xfbc3ef85 +0, 173056, 173056, 1024, 4096, 0x6908f67c +0, 174080, 174080, 1024, 4096, 0xf6c305d6 +0, 175104, 175104, 1024, 4096, 0xbfdfe430 +0, 176128, 176128, 1024, 4096, 0xef7902ec +0, 177152, 177152, 1024, 4096, 0x62adeb88 +0, 178176, 178176, 1024, 4096, 0x1fea0128 +0, 179200, 179200, 1024, 4096, 0xfeb0f860 +0, 180224, 180224, 1024, 4096, 0xa9e7e63b +0, 181248, 181248, 1024, 4096, 0x62ffe62f +0, 182272, 182272, 1024, 4096, 0xf743fbed +0, 183296, 183296, 1024, 4096, 0x3953f3f3 +0, 184320, 184320, 1024, 4096, 0x17a6fc18 +0, 185344, 185344, 1024, 4096, 0x1531dc96 +0, 186368, 186368, 1024, 4096, 0x2560950a +0, 187392, 187392, 1024, 4096, 0xa87704d0 +0, 188416, 188416, 1024, 4096, 0x89540f7f +0, 189440, 189440, 1024, 4096, 0xa22ff108 +0, 190464, 190464, 1024, 4096, 0xd3e5fed6 +0, 191488, 191488, 1024, 4096, 0x10eafd99 +0, 192512, 192512, 1024, 4096, 0x7f6beeea +0, 193536, 193536, 1024, 4096, 0x4fe101f7 +0, 194560, 194560, 1024, 4096, 0x5f94ef98 +0, 195584, 195584, 1024, 4096, 0x9cb4f877 +0, 196608, 196608, 1024, 4096, 0x03960aac +0, 197632, 197632, 1024, 4096, 0x3fec0ab8 +0, 198656, 198656, 1024, 4096, 0x8225f4e7 +0, 199680, 199680, 1024, 4096, 0x5ffafce4 +0, 200704, 200704, 1024, 4096, 0x15caf2c1 +0, 201728, 201728, 1024, 4096, 0x7d54144f +0, 202752, 202752, 1024, 4096, 0xa2139295 +0, 203776, 203776, 1024, 4096, 0xf2c1ec16 +0, 204800, 204800, 1024, 4096, 0x0c61e166 +0, 205824, 205824, 1024, 4096, 0xfdb7ffce +0, 206848, 206848, 1024, 4096, 0xb783f1ff +0, 207872, 207872, 1024, 4096, 0x8c07f340 +0, 208896, 208896, 1024, 4096, 0x8a03e20d +0, 209920, 209920, 1024, 4096, 0x389eeeec +0, 210944, 210944, 1024, 4096, 0x2f6b014c +0, 211968, 211968, 1024, 4096, 0xfeb0f860 +0, 212992, 212992, 1024, 4096, 0xa9e7e63b +0, 214016, 214016, 1024, 4096, 0x62ffe62f +0, 215040, 215040, 1024, 4096, 0xf743fbed +0, 216064, 216064, 1024, 4096, 0x3953f3f3 +0, 217088, 217088, 1024, 4096, 0x17a6fc18 +0, 218112, 218112, 1024, 4096, 0x1531dc96 +0, 219136, 219136, 1024, 4096, 0x2560950a +0, 220160, 220160, 1024, 4096, 0xa87704d0 +0, 221184, 221184, 1024, 4096, 0x89540f7f +0, 222208, 222208, 1024, 4096, 0xa22ff108 +0, 223232, 223232, 1024, 4096, 0xd3e5fed6 +0, 224256, 224256, 1024, 4096, 0x10eafd99 +0, 225280, 225280, 1024, 4096, 0x7f6beeea +0, 226304, 226304, 1024, 4096, 0x4fe101f7 +0, 227328, 227328, 1024, 4096, 0x5f94ef98 +0, 228352, 228352, 1024, 4096, 0x9cb4f877 +0, 229376, 229376, 1024, 4096, 0x03960aac +0, 230400, 230400, 1024, 4096, 0x3fec0ab8 +0, 231424, 231424, 1024, 4096, 0x8225f4e7 +0, 232448, 232448, 1024, 4096, 0x5ffafce4 +0, 233472, 233472, 1024, 4096, 0x15caf2c1 +0, 234496, 234496, 1024, 4096, 0x7d54144f +0, 235520, 235520, 1024, 4096, 0xa2139295 +0, 236544, 236544, 1024, 4096, 0xf2c1ec16 +0, 237568, 237568, 1024, 4096, 0x0c61e166 +0, 238592, 238592, 1024, 4096, 0xfdb7ffce +0, 239616, 239616, 1024, 4096, 0xb783f1ff +0, 240640, 240640, 1024, 4096, 0x8c07f340 +0, 241664, 241664, 1024, 4096, 0x8a03e20d +0, 242688, 242688, 1024, 4096, 0x389eeeec +0, 243712, 243712, 1024, 4096, 0x2f6b014c +0, 244736, 244736, 1024, 4096, 0xfeb0f860 +0, 245760, 245760, 1024, 4096, 0xa9e7e63b +0, 246784, 246784, 1024, 4096, 0x62ffe62f +0, 247808, 247808, 1024, 4096, 0xf743fbed +0, 248832, 248832, 1024, 4096, 0x3953f3f3 +0, 249856, 249856, 1024, 4096, 0x17a6fc18 +0, 250880, 250880, 1024, 4096, 0x1531dc96 +0, 251904, 251904, 1024, 4096, 0x2560950a +0, 252928, 252928, 1024, 4096, 0xa87704d0 +0, 253952, 253952, 1024, 4096, 0x89540f7f +0, 254976, 254976, 1024, 4096, 0xa22ff108 +0, 256000, 256000, 1024, 4096, 0xd3e5fed6 +0, 257024, 257024, 1024, 4096, 0x10eafd99 +0, 258048, 258048, 1024, 4096, 0x7f6beeea +0, 259072, 259072, 1024, 4096, 0x4fe101f7 +0, 260096, 260096, 1024, 4096, 0x5f94ef98 +0, 261120, 261120, 1024, 4096, 0x9cb4f877 +0, 262144, 262144, 1024, 4096, 0x03960aac +0, 263168, 263168, 1024, 4096, 0x3fec0ab8 +0, 264192, 264192, 408, 1632, 0x23933452 +0, 264600, 264600, 1852, 7408, 0x77074171