[FFmpeg-devel] [PATCH 1/4] avfilter/asrc_sine: increase phase precision
Marton Balint
cus at passwd.hu
Mon Nov 4 22:30:20 EET 2024
Signed-off-by: Marton Balint <cus at passwd.hu>
---
libavfilter/asrc_sine.c | 16 +-
tests/ref/fate/copy-shortest1 | 58 ++---
tests/ref/fate/copy-shortest2 | 58 ++---
tests/ref/fate/filter-concat | 344 ++++++++++++++--------------
tests/ref/fate/filter-concat-vfr | 344 ++++++++++++++--------------
tests/ref/fate/filter-crazychannels | 64 +++---
tests/ref/fate/shortest | 58 ++---
tests/ref/fate/swr-async-firstpts | 34 +--
8 files changed, 488 insertions(+), 488 deletions(-)
diff --git a/libavfilter/asrc_sine.c b/libavfilter/asrc_sine.c
index 96b603dd26..cb0d11e5b4 100644
--- a/libavfilter/asrc_sine.c
+++ b/libavfilter/asrc_sine.c
@@ -40,13 +40,13 @@ typedef struct SineContext {
int64_t duration;
int16_t *sin;
int64_t pts;
- uint32_t phi; ///< current phase of the sine (2pi = 1<<32)
- uint32_t dphi; ///< phase increment between two samples
+ uint64_t phi; ///< current phase of the sine (2pi = 1<<64)
+ uint64_t dphi; ///< phase increment between two samples
unsigned beep_period;
unsigned beep_index;
unsigned beep_length;
- uint32_t phi_beep; ///< current phase of the beep
- uint32_t dphi_beep; ///< phase increment of the beep
+ uint64_t phi_beep; ///< current phase of the beep
+ uint64_t dphi_beep; ///< phase increment of the beep
} SineContext;
#define CONTEXT SineContext
@@ -150,13 +150,13 @@ static av_cold int init(AVFilterContext *ctx)
if (!(sine->sin = av_malloc(sizeof(*sine->sin) << LOG_PERIOD)))
return AVERROR(ENOMEM);
- sine->dphi = ldexp(sine->frequency, 32) / sine->sample_rate + 0.5;
+ sine->dphi = ldexp(sine->frequency, 64) / sine->sample_rate + 0.5;
make_sin_table(sine->sin);
if (sine->beep_factor) {
sine->beep_period = sine->sample_rate;
sine->beep_length = sine->beep_period / 25;
- sine->dphi_beep = ldexp(sine->beep_factor * sine->frequency, 32) /
+ sine->dphi_beep = ldexp(sine->beep_factor * sine->frequency, 64) /
sine->sample_rate + 0.5;
}
@@ -241,10 +241,10 @@ static int activate(AVFilterContext *ctx)
samples = (int16_t *)frame->data[0];
for (i = 0; i < nb_samples; i++) {
- samples[i] = sine->sin[sine->phi >> (32 - LOG_PERIOD)];
+ samples[i] = sine->sin[sine->phi >> (64 - LOG_PERIOD)];
sine->phi += sine->dphi;
if (sine->beep_index < sine->beep_length) {
- samples[i] += sine->sin[sine->phi_beep >> (32 - LOG_PERIOD)] * 2;
+ samples[i] += sine->sin[sine->phi_beep >> (64 - LOG_PERIOD)] * 2;
sine->phi_beep += sine->dphi_beep;
}
if (++sine->beep_index == sine->beep_period)
diff --git a/tests/ref/fate/copy-shortest1 b/tests/ref/fate/copy-shortest1
index c72f9c11fd..5c85cec988 100644
--- a/tests/ref/fate/copy-shortest1
+++ b/tests/ref/fate/copy-shortest1
@@ -13,60 +13,60 @@
#sample_rate 1: 44100
#channel_layout_name 1: mono
#stream#, dts, pts, duration, size, hash
-1, -256, -256, 1536, 416, 91b0c4b4dff3de421544d4a3926616e6
+1, -256, -256, 1536, 416, 5bb618ab899ccf11ac464ef86b73b5bb
0, 0, 0, 2048, 8719, bbea2a7487d61d39a0b2f2fe62a4df4a
-1, 1280, 1280, 1536, 418, 6e79527e2af3448d7a0e4a8e29cd9722
+1, 1280, 1280, 1536, 418, e5526e043a53915be13d4e762badb89d
0, 2048, 2048, 2048, 975, 94f30e410595452ee981d96224516504
-1, 2816, 2816, 1536, 418, cf49595ac385e497672e5a814f7bcd79
+1, 2816, 2816, 1536, 418, 8ce1f4549a7cce0d0d1158d297defe4d
0, 4096, 4096, 2048, 1167, d3b895191e8a06d19bbc8ac90e564b3b
-1, 4352, 4352, 1536, 418, 846982243d330ab782f0120988d52ade
+1, 4352, 4352, 1536, 418, 85b1c7929297709fb56b2748ed8c7eff
0, 6144, 6144, 2048, 1274, 272f548f13dd6a45a5cd187f0e43e635
-1, 5888, 5888, 1536, 418, 77b2d15948434a4831e30c47b8214591
+1, 5888, 5888, 1536, 418, c0f75cca4fe84a5851c14986d695395e
0, 8192, 8192, 2048, 1361, a0c67fc195fe867ae240dc8c48f85b2e
-1, 7424, 7424, 1536, 418, 4fce87d5cce10f6d0268fb398c385af5
+1, 7424, 7424, 1536, 418, e610bc5b31592746cd346db2587d53e2
0, 10240, 10240, 2048, 1415, f7a3746adb348eb00042b3eccff54a87
-1, 8960, 8960, 1536, 418, 963f2dac9af4672809521f2174b78f10
-1, 10496, 10496, 1536, 418, eb7a20193c157b02f7b5d5abf802af24
+1, 8960, 8960, 1536, 418, c43b6b2d248688ebe69b9661a8971802
+1, 10496, 10496, 1536, 418, 6cf0917c27facb9500519f2c7beac606
0, 12288, 12288, 2048, 1421, 8396b1c23f7d39f6f73c3469826317d6
-1, 12032, 12032, 1536, 418, 219b234a1e01d3538bfe09fda58b3289
+1, 12032, 12032, 1536, 418, 245d21188d240cdcb89e8e437665f07a
0, 14336, 14336, 2048, 1474, a9c493c020d710af7f2c98b9aae846ff
-1, 13568, 13568, 1536, 418, ef7bd3e9c13f03aa6676629101a9a8a0
+1, 13568, 13568, 1536, 418, 9216db3917e257278d0281028d39c429
0, 16384, 16384, 2048, 1467, b801d1a76c84923ab813e9a5d9ebdb78
-1, 15104, 15104, 1536, 418, f7ef9460b971b5b8b61e91c489d1dd4e
+1, 15104, 15104, 1536, 418, f6f13d421f554b52e6db3e736dd4722f
0, 18432, 18432, 2048, 1469, 22f7fcd055bf124436de9a9432f7c9d2
-1, 16640, 16640, 1536, 418, 48e7a9f574654dd95a325cfec5072254
+1, 16640, 16640, 1536, 418, 4513a535f950f8408681ce5e47b97474
0, 20480, 20480, 2048, 1506, da18f30d7008f2307ec51863a9873afd
-1, 18176, 18176, 1536, 418, 737d867e328377a3e6623f77f646ea61
+1, 18176, 18176, 1536, 418, 2ede63e818b127ec345b76f6b59e2eb1
0, 22528, 22528, 2048, 1520, 2c7d44ca3485373af6cfb3e44e495bf7
-1, 19712, 19712, 1536, 418, ed9eb5db5c03725564239eb25d28c137
+1, 19712, 19712, 1536, 418, 93a7d1fd85614e9cb2f4574eedc9b378
0, 24576, 24576, 2048, 8524, 0634c69955cbffe94f4e15b288557cac
-1, 21248, 21248, 1536, 418, 3aa5eac505cb898030c705bcfe5ee850
-1, 22784, 22784, 1536, 418, 08ee7262d55437ba687e4f887249d92a
+1, 21248, 21248, 1536, 418, ae73196c0e970756329d511af548afcb
+1, 22784, 22784, 1536, 418, 599a966d9864536d4df04cbbfd74bd4e
0, 26624, 26624, 2048, 1079, f081cbd559dab2b579f40d2fa988a959
-1, 24320, 24320, 1536, 418, eb6d62198a5472a1c179d42cde60b869
+1, 24320, 24320, 1536, 418, 80a590a1f126f53d02765c5ab1a89563
0, 28672, 28672, 2048, 1343, fdf8069cd511f4fa185748118acfb72e
-1, 25856, 25856, 1536, 418, 53e2ab46c2d6e7c6da1416e2dd581136
+1, 25856, 25856, 1536, 418, 76298175f3ce53229e37bb6be8fea0c8
0, 30720, 30720, 2048, 1486, e72dfcd069f5be3a30310002b1b5e252
-1, 27392, 27392, 1536, 418, 6847924a11575b3628ccdfd81a2fb1dc
+1, 27392, 27392, 1536, 418, aeb2fe00f87e3027761f98b54f8343ec
0, 32768, 32768, 2048, 1491, 710c5421d44a8c9356c1477cbcd27c0e
-1, 28928, 28928, 1536, 418, 6f76bbe03d8b4e0080226247e0e54f96
+1, 28928, 28928, 1536, 418, 2607ef95d1df2522fc0dd1a53a39e679
0, 34816, 34816, 2048, 1504, 16a6d624b8175f1191ede25e2d588b92
-1, 30464, 30464, 1536, 418, c946a8d690aa31fde929678b594cc432
+1, 30464, 30464, 1536, 418, 22c2e019ab648f79517066c5a173a94a
0, 36864, 36864, 2048, 1481, 8696aa412629328687bda5e88dd40b81
-1, 32000, 32000, 1536, 418, 3add3833b86a38c229faf8e602f83dcb
+1, 32000, 32000, 1536, 418, e2673a0cc1bfbd3aa22176d4b1852f60
0, 38912, 38912, 2048, 1521, 3c974bf799b8e35d295c6567ffeb7276
-1, 33536, 33536, 1536, 418, 303adaf2b35e2b8742d0553d21ddb00f
-1, 35072, 35072, 1536, 418, f12224af46440d663ea238c313afd664
+1, 33536, 33536, 1536, 418, 33b6e6ba031338da48d6946402db3e53
+1, 35072, 35072, 1536, 418, 61b5c6c50d038248b91fbb34e645c19a
0, 40960, 40960, 2048, 1514, 1a54ec5296f1551a7f67c515e40ca646
-1, 36608, 36608, 1536, 418, 8b986c15b9ab86432c43cedd1a182e8d
+1, 36608, 36608, 1536, 418, a4cea9811715e6d292e9531d27cb6685
0, 43008, 43008, 2048, 1562, d285916a1c7a2fb9f37d18bfa977e075
-1, 38144, 38144, 1536, 418, 0dd29cc7f63f2afac3eec5e5944165e7
+1, 38144, 38144, 1536, 418, 8eecba34980aa60b2a0ce1ddb7a96b5e
0, 45056, 45056, 2048, 1562, 320c26adae1dad1741e02febdbd5b916
-1, 39680, 39680, 1536, 418, c4c14deb03d5048f8c6101260c617fae
+1, 39680, 39680, 1536, 418, f24da901f8e0d8c830355fe99b6d2128
0, 47104, 47104, 2048, 1629, 60c6ebd71f641ebcff9997ee338d82bf
-1, 41216, 41216, 1536, 418, 4a3480d888fa0dd49a7bbf2669b5d3ed
+1, 41216, 41216, 1536, 418, f4ab844a4511ab7964ced6aed5ca4cd8
0, 49152, 49152, 2048, 9634, b72deda826b002179c46789e92c07978
-1, 42752, 42752, 1536, 418, aaeabe149b9185a6f09c271eb2c656dd
+1, 42752, 42752, 1536, 418, 502b184117519a0cefd6e2a2454fb3e3
0, 51200, 51200, 2048, 1239, 407105508656c920761e60c90540ee18
1, 44288, 44288, 1536, 418, 0995488ad1bb84ec4a3e738b568484a4
1, 45824, 45824, 1536, 418, baa39bdfd9f47f7d312312985f59fb72
diff --git a/tests/ref/fate/copy-shortest2 b/tests/ref/fate/copy-shortest2
index c72f9c11fd..5c85cec988 100644
--- a/tests/ref/fate/copy-shortest2
+++ b/tests/ref/fate/copy-shortest2
@@ -13,60 +13,60 @@
#sample_rate 1: 44100
#channel_layout_name 1: mono
#stream#, dts, pts, duration, size, hash
-1, -256, -256, 1536, 416, 91b0c4b4dff3de421544d4a3926616e6
+1, -256, -256, 1536, 416, 5bb618ab899ccf11ac464ef86b73b5bb
0, 0, 0, 2048, 8719, bbea2a7487d61d39a0b2f2fe62a4df4a
-1, 1280, 1280, 1536, 418, 6e79527e2af3448d7a0e4a8e29cd9722
+1, 1280, 1280, 1536, 418, e5526e043a53915be13d4e762badb89d
0, 2048, 2048, 2048, 975, 94f30e410595452ee981d96224516504
-1, 2816, 2816, 1536, 418, cf49595ac385e497672e5a814f7bcd79
+1, 2816, 2816, 1536, 418, 8ce1f4549a7cce0d0d1158d297defe4d
0, 4096, 4096, 2048, 1167, d3b895191e8a06d19bbc8ac90e564b3b
-1, 4352, 4352, 1536, 418, 846982243d330ab782f0120988d52ade
+1, 4352, 4352, 1536, 418, 85b1c7929297709fb56b2748ed8c7eff
0, 6144, 6144, 2048, 1274, 272f548f13dd6a45a5cd187f0e43e635
-1, 5888, 5888, 1536, 418, 77b2d15948434a4831e30c47b8214591
+1, 5888, 5888, 1536, 418, c0f75cca4fe84a5851c14986d695395e
0, 8192, 8192, 2048, 1361, a0c67fc195fe867ae240dc8c48f85b2e
-1, 7424, 7424, 1536, 418, 4fce87d5cce10f6d0268fb398c385af5
+1, 7424, 7424, 1536, 418, e610bc5b31592746cd346db2587d53e2
0, 10240, 10240, 2048, 1415, f7a3746adb348eb00042b3eccff54a87
-1, 8960, 8960, 1536, 418, 963f2dac9af4672809521f2174b78f10
-1, 10496, 10496, 1536, 418, eb7a20193c157b02f7b5d5abf802af24
+1, 8960, 8960, 1536, 418, c43b6b2d248688ebe69b9661a8971802
+1, 10496, 10496, 1536, 418, 6cf0917c27facb9500519f2c7beac606
0, 12288, 12288, 2048, 1421, 8396b1c23f7d39f6f73c3469826317d6
-1, 12032, 12032, 1536, 418, 219b234a1e01d3538bfe09fda58b3289
+1, 12032, 12032, 1536, 418, 245d21188d240cdcb89e8e437665f07a
0, 14336, 14336, 2048, 1474, a9c493c020d710af7f2c98b9aae846ff
-1, 13568, 13568, 1536, 418, ef7bd3e9c13f03aa6676629101a9a8a0
+1, 13568, 13568, 1536, 418, 9216db3917e257278d0281028d39c429
0, 16384, 16384, 2048, 1467, b801d1a76c84923ab813e9a5d9ebdb78
-1, 15104, 15104, 1536, 418, f7ef9460b971b5b8b61e91c489d1dd4e
+1, 15104, 15104, 1536, 418, f6f13d421f554b52e6db3e736dd4722f
0, 18432, 18432, 2048, 1469, 22f7fcd055bf124436de9a9432f7c9d2
-1, 16640, 16640, 1536, 418, 48e7a9f574654dd95a325cfec5072254
+1, 16640, 16640, 1536, 418, 4513a535f950f8408681ce5e47b97474
0, 20480, 20480, 2048, 1506, da18f30d7008f2307ec51863a9873afd
-1, 18176, 18176, 1536, 418, 737d867e328377a3e6623f77f646ea61
+1, 18176, 18176, 1536, 418, 2ede63e818b127ec345b76f6b59e2eb1
0, 22528, 22528, 2048, 1520, 2c7d44ca3485373af6cfb3e44e495bf7
-1, 19712, 19712, 1536, 418, ed9eb5db5c03725564239eb25d28c137
+1, 19712, 19712, 1536, 418, 93a7d1fd85614e9cb2f4574eedc9b378
0, 24576, 24576, 2048, 8524, 0634c69955cbffe94f4e15b288557cac
-1, 21248, 21248, 1536, 418, 3aa5eac505cb898030c705bcfe5ee850
-1, 22784, 22784, 1536, 418, 08ee7262d55437ba687e4f887249d92a
+1, 21248, 21248, 1536, 418, ae73196c0e970756329d511af548afcb
+1, 22784, 22784, 1536, 418, 599a966d9864536d4df04cbbfd74bd4e
0, 26624, 26624, 2048, 1079, f081cbd559dab2b579f40d2fa988a959
-1, 24320, 24320, 1536, 418, eb6d62198a5472a1c179d42cde60b869
+1, 24320, 24320, 1536, 418, 80a590a1f126f53d02765c5ab1a89563
0, 28672, 28672, 2048, 1343, fdf8069cd511f4fa185748118acfb72e
-1, 25856, 25856, 1536, 418, 53e2ab46c2d6e7c6da1416e2dd581136
+1, 25856, 25856, 1536, 418, 76298175f3ce53229e37bb6be8fea0c8
0, 30720, 30720, 2048, 1486, e72dfcd069f5be3a30310002b1b5e252
-1, 27392, 27392, 1536, 418, 6847924a11575b3628ccdfd81a2fb1dc
+1, 27392, 27392, 1536, 418, aeb2fe00f87e3027761f98b54f8343ec
0, 32768, 32768, 2048, 1491, 710c5421d44a8c9356c1477cbcd27c0e
-1, 28928, 28928, 1536, 418, 6f76bbe03d8b4e0080226247e0e54f96
+1, 28928, 28928, 1536, 418, 2607ef95d1df2522fc0dd1a53a39e679
0, 34816, 34816, 2048, 1504, 16a6d624b8175f1191ede25e2d588b92
-1, 30464, 30464, 1536, 418, c946a8d690aa31fde929678b594cc432
+1, 30464, 30464, 1536, 418, 22c2e019ab648f79517066c5a173a94a
0, 36864, 36864, 2048, 1481, 8696aa412629328687bda5e88dd40b81
-1, 32000, 32000, 1536, 418, 3add3833b86a38c229faf8e602f83dcb
+1, 32000, 32000, 1536, 418, e2673a0cc1bfbd3aa22176d4b1852f60
0, 38912, 38912, 2048, 1521, 3c974bf799b8e35d295c6567ffeb7276
-1, 33536, 33536, 1536, 418, 303adaf2b35e2b8742d0553d21ddb00f
-1, 35072, 35072, 1536, 418, f12224af46440d663ea238c313afd664
+1, 33536, 33536, 1536, 418, 33b6e6ba031338da48d6946402db3e53
+1, 35072, 35072, 1536, 418, 61b5c6c50d038248b91fbb34e645c19a
0, 40960, 40960, 2048, 1514, 1a54ec5296f1551a7f67c515e40ca646
-1, 36608, 36608, 1536, 418, 8b986c15b9ab86432c43cedd1a182e8d
+1, 36608, 36608, 1536, 418, a4cea9811715e6d292e9531d27cb6685
0, 43008, 43008, 2048, 1562, d285916a1c7a2fb9f37d18bfa977e075
-1, 38144, 38144, 1536, 418, 0dd29cc7f63f2afac3eec5e5944165e7
+1, 38144, 38144, 1536, 418, 8eecba34980aa60b2a0ce1ddb7a96b5e
0, 45056, 45056, 2048, 1562, 320c26adae1dad1741e02febdbd5b916
-1, 39680, 39680, 1536, 418, c4c14deb03d5048f8c6101260c617fae
+1, 39680, 39680, 1536, 418, f24da901f8e0d8c830355fe99b6d2128
0, 47104, 47104, 2048, 1629, 60c6ebd71f641ebcff9997ee338d82bf
-1, 41216, 41216, 1536, 418, 4a3480d888fa0dd49a7bbf2669b5d3ed
+1, 41216, 41216, 1536, 418, f4ab844a4511ab7964ced6aed5ca4cd8
0, 49152, 49152, 2048, 9634, b72deda826b002179c46789e92c07978
-1, 42752, 42752, 1536, 418, aaeabe149b9185a6f09c271eb2c656dd
+1, 42752, 42752, 1536, 418, 502b184117519a0cefd6e2a2454fb3e3
0, 51200, 51200, 2048, 1239, 407105508656c920761e60c90540ee18
1, 44288, 44288, 1536, 418, 0995488ad1bb84ec4a3e738b568484a4
1, 45824, 45824, 1536, 418, baa39bdfd9f47f7d312312985f59fb72
diff --git a/tests/ref/fate/filter-concat b/tests/ref/fate/filter-concat
index 42879a45e0..f54c13a67f 100644
--- a/tests/ref/fate/filter-concat
+++ b/tests/ref/fate/filter-concat
@@ -9,54 +9,54 @@
#sample_rate 1: 44100
#channel_layout_name 1: mono
0, 0, 0, 1, 230400, 0x88c4d19a
-1, 0, 0, 1024, 2048, 0xb3f10192
-1, 1024, 1024, 1024, 2048, 0xb340fe4e
-1, 2048, 2048, 1024, 2048, 0x0a5f0111
-1, 3072, 3072, 1024, 2048, 0x51be06b8
-1, 4096, 4096, 1024, 2048, 0x71a1ffcb
-1, 5120, 5120, 1024, 2048, 0x7f64f50f
-1, 6144, 6144, 1024, 2048, 0x70a8fa17
-1, 7168, 7168, 1024, 2048, 0x0dad072a
-1, 8192, 8192, 1024, 2048, 0x5e810c51
+1, 0, 0, 1024, 2048, 0xb59f0193
+1, 1024, 1024, 1024, 2048, 0xba70fe4e
+1, 2048, 2048, 1024, 2048, 0x28ca0012
+1, 3072, 3072, 1024, 2048, 0x487e06b5
+1, 4096, 4096, 1024, 2048, 0xbd39fec8
+1, 5120, 5120, 1024, 2048, 0x869ef510
+1, 6144, 6144, 1024, 2048, 0xef51f915
+1, 7168, 7168, 1024, 2048, 0xca830826
+1, 8192, 8192, 1024, 2048, 0x20aa0b52
0, 1, 1, 1, 230400, 0x0d77c977
-1, 9216, 9216, 1024, 2048, 0xbe5bf462
-1, 10240, 10240, 1024, 2048, 0xbcd9faeb
-1, 11264, 11264, 1024, 2048, 0x0d5bfe9c
-1, 12288, 12288, 1024, 2048, 0x97d80297
-1, 13312, 13312, 1024, 2048, 0xba0f0894
-1, 14336, 14336, 1024, 2048, 0xcc22f291
-1, 15360, 15360, 1024, 2048, 0x11a9fa03
-1, 16384, 16384, 1024, 2048, 0x9a920378
-1, 17408, 17408, 1024, 2048, 0x901b0525
+1, 9216, 9216, 1024, 2048, 0x3759f55c
+1, 10240, 10240, 1024, 2048, 0xc41bf9ec
+1, 11264, 11264, 1024, 2048, 0xfb78fe99
+1, 12288, 12288, 1024, 2048, 0xd920038f
+1, 13312, 13312, 1024, 2048, 0x079f0797
+1, 14336, 14336, 1024, 2048, 0xcf5ff38b
+1, 15360, 15360, 1024, 2048, 0x770ff8ff
+1, 16384, 16384, 1024, 2048, 0x7aac0476
+1, 17408, 17408, 1024, 2048, 0x2bff0420
0, 2, 2, 1, 230400, 0x242629d7
-1, 18432, 18432, 1024, 2048, 0x74b2003f
-1, 19456, 19456, 1024, 2048, 0xa20ef3ed
-1, 20480, 20480, 1024, 2048, 0x44cef9de
-1, 21504, 21504, 1024, 2048, 0x4b2e039b
-1, 22528, 22528, 1024, 2048, 0x198509a1
-1, 23552, 23552, 1024, 2048, 0xcab6f9e5
-1, 24576, 24576, 1024, 2048, 0x67f8f608
-1, 25600, 25600, 1024, 2048, 0x8d7f03fa
+1, 18432, 18432, 1024, 2048, 0x160b013e
+1, 19456, 19456, 1024, 2048, 0x76b9f2e9
+1, 20480, 20480, 1024, 2048, 0x9b51fada
+1, 21504, 21504, 1024, 2048, 0x5d620295
+1, 22528, 22528, 1024, 2048, 0x40b90a9d
+1, 23552, 23552, 1024, 2048, 0x2032f8e5
+1, 24576, 24576, 1024, 2048, 0x3efcf601
+1, 25600, 25600, 1024, 2048, 0x135b03f8
0, 3, 3, 1, 230400, 0x62cdc018
-1, 26624, 26624, 1024, 2048, 0x3e1e0566
-1, 27648, 27648, 1024, 2048, 0x2cfe0308
-1, 28672, 28672, 1024, 2048, 0x1ceaf702
-1, 29696, 29696, 1024, 2048, 0x38a9f3d1
-1, 30720, 30720, 1024, 2048, 0x6c3306b7
-1, 31744, 31744, 1024, 2048, 0x600f0579
-1, 32768, 32768, 1024, 2048, 0x3e5afa28
-1, 33792, 33792, 1024, 2048, 0x053ff47a
-1, 34816, 34816, 1024, 2048, 0x0d28fed9
+1, 26624, 26624, 1024, 2048, 0x2cd00562
+1, 27648, 27648, 1024, 2048, 0xe4d30402
+1, 28672, 28672, 1024, 2048, 0x00faf605
+1, 29696, 29696, 1024, 2048, 0xb031f4cd
+1, 30720, 30720, 1024, 2048, 0x656a05b3
+1, 31744, 31744, 1024, 2048, 0xb11e067a
+1, 32768, 32768, 1024, 2048, 0x6826f923
+1, 33792, 33792, 1024, 2048, 0x010df577
+1, 34816, 34816, 1024, 2048, 0x8333fdd7
0, 4, 4, 1, 230400, 0x248ad058
-1, 35840, 35840, 1024, 2048, 0x279805cc
-1, 36864, 36864, 1024, 2048, 0xb16a0a12
-1, 37888, 37888, 1024, 2048, 0xb45af340
-1, 38912, 38912, 1024, 2048, 0x1834f972
-1, 39936, 39936, 1024, 2048, 0xb5d206ae
-1, 40960, 40960, 1024, 2048, 0xc5760375
-1, 41984, 41984, 1024, 2048, 0x503800ce
-1, 43008, 43008, 1024, 2048, 0xa3bbf4af
-1, 44032, 44032, 68, 136, 0xc8d751c7
+1, 35840, 35840, 1024, 2048, 0xf2f606c7
+1, 36864, 36864, 1024, 2048, 0x7a650914
+1, 37888, 37888, 1024, 2048, 0x41c0f43f
+1, 38912, 38912, 1024, 2048, 0xfc4df870
+1, 39936, 39936, 1024, 2048, 0x96a006a7
+1, 40960, 40960, 1024, 2048, 0x84770374
+1, 41984, 41984, 1024, 2048, 0x8bedffc2
+1, 43008, 43008, 1024, 2048, 0xbfaef5ae
+1, 44032, 44032, 68, 136, 0xc35a50c5
0, 5, 5, 1, 230400, 0x223d134f
1, 44100, 44100, 9600, 19200, 0x00000000
0, 6, 6, 1, 230400, 0xbf1c3d34
@@ -68,143 +68,143 @@
0, 9, 9, 1, 230400, 0x6dedf2c0
1, 82500, 82500, 5700, 11400, 0x00000000
0, 10, 10, 1, 230400, 0x88c4d19a
-1, 88200, 88200, 1024, 2048, 0x283efb3a
-1, 89224, 89224, 1024, 2048, 0x7692fb8f
-1, 90248, 90248, 1024, 2048, 0xbaaafcc0
+1, 88200, 88200, 1024, 2048, 0x2906fb3a
+1, 89224, 89224, 1024, 2048, 0x83f6fb92
+1, 90248, 90248, 1024, 2048, 0xbe36fcc1
1, 91272, 91272, 1024, 2048, 0xadc8017e
-1, 92296, 92296, 1024, 2048, 0x4f4dffdc
-1, 93320, 93320, 1024, 2048, 0x7ffbff48
-1, 94344, 94344, 1024, 2048, 0x2f990719
-1, 95368, 95368, 1024, 2048, 0xe2caf65c
-1, 96392, 96392, 1024, 2048, 0x825208e4
+1, 92296, 92296, 1024, 2048, 0x5a73ffde
+1, 93320, 93320, 1024, 2048, 0x77b1ff47
+1, 94344, 94344, 1024, 2048, 0x3629071b
+1, 95368, 95368, 1024, 2048, 0xdb0cf65b
+1, 96392, 96392, 1024, 2048, 0x77a808e2
0, 11, 11, 1, 230400, 0x0d77c977
-1, 97416, 97416, 1024, 2048, 0xf563f13b
-1, 98440, 98440, 1024, 2048, 0x855d03e9
-1, 99464, 99464, 1024, 2048, 0x0ba9fa4b
-1, 100488, 100488, 1024, 2048, 0x83e1fb92
-1, 101512, 101512, 1024, 2048, 0x1162f965
-1, 102536, 102536, 1024, 2048, 0x0cfef73d
-1, 103560, 103560, 1024, 2048, 0x5688ff75
-1, 104584, 104584, 1024, 2048, 0xf6c0ede9
-1, 105608, 105608, 1024, 2048, 0xfdb20602
+1, 97416, 97416, 1024, 2048, 0xe961f137
+1, 98440, 98440, 1024, 2048, 0x982f03ed
+1, 99464, 99464, 1024, 2048, 0x0305fa4b
+1, 100488, 100488, 1024, 2048, 0x83c1fb91
+1, 101512, 101512, 1024, 2048, 0x014af961
+1, 102536, 102536, 1024, 2048, 0x186cf73f
+1, 103560, 103560, 1024, 2048, 0x4d60ff77
+1, 104584, 104584, 1024, 2048, 0xea04edea
+1, 105608, 105608, 1024, 2048, 0xc93204ff
0, 12, 12, 1, 230400, 0x242629d7
-1, 106632, 106632, 1024, 2048, 0x40c5f17b
-1, 107656, 107656, 1024, 2048, 0x559600b1
-1, 108680, 108680, 1024, 2048, 0xccc3f930
-1, 109704, 109704, 1024, 2048, 0xdc800045
-1, 110728, 110728, 1024, 2048, 0xdce4fb3e
-1, 111752, 111752, 1024, 2048, 0x1e5efba9
-1, 112776, 112776, 1024, 2048, 0x8c2e0832
-1, 113800, 113800, 1024, 2048, 0x5c42f66d
+1, 106632, 106632, 1024, 2048, 0x544ff17d
+1, 107656, 107656, 1024, 2048, 0x58e200ae
+1, 108680, 108680, 1024, 2048, 0xdea9f932
+1, 109704, 109704, 1024, 2048, 0xc3de0041
+1, 110728, 110728, 1024, 2048, 0x6242fc3b
+1, 111752, 111752, 1024, 2048, 0x257efbac
+1, 112776, 112776, 1024, 2048, 0x978e0833
+1, 113800, 113800, 1024, 2048, 0x47bcf66e
0, 13, 13, 1, 230400, 0x62cdc018
-1, 114824, 114824, 1024, 2048, 0x08e20b1e
-1, 115848, 115848, 1024, 2048, 0x4cf7f903
-1, 116872, 116872, 1024, 2048, 0xe6b90794
-1, 117896, 117896, 1024, 2048, 0x5956f8e6
-1, 118920, 118920, 1024, 2048, 0x6632ff16
-1, 119944, 119944, 1024, 2048, 0x46c8fe11
-1, 120968, 120968, 1024, 2048, 0x7431f732
-1, 121992, 121992, 1024, 2048, 0xa258049f
-1, 123016, 123016, 1024, 2048, 0xdb71f00e
+1, 114824, 114824, 1024, 2048, 0xebbb0b1a
+1, 115848, 115848, 1024, 2048, 0x45b8f805
+1, 116872, 116872, 1024, 2048, 0xf73b0796
+1, 117896, 117896, 1024, 2048, 0x56a6f9df
+1, 118920, 118920, 1024, 2048, 0x80ccff1a
+1, 119944, 119944, 1024, 2048, 0x4f06fe14
+1, 120968, 120968, 1024, 2048, 0x8711f734
+1, 121992, 121992, 1024, 2048, 0xb64404a4
+1, 123016, 123016, 1024, 2048, 0xce65f00a
0, 14, 14, 1, 230400, 0x248ad058
-1, 124040, 124040, 1024, 2048, 0xa89b0359
-1, 125064, 125064, 1024, 2048, 0xe0aff0f2
-1, 126088, 126088, 1024, 2048, 0xc33e0085
-1, 127112, 127112, 1024, 2048, 0x9d09f379
-1, 128136, 128136, 1024, 2048, 0x8c78fd06
-1, 129160, 129160, 1024, 2048, 0x532bfbdd
-1, 130184, 130184, 1024, 2048, 0xfc36f5cd
-1, 131208, 131208, 1024, 2048, 0x2e8f0699
-1, 132232, 132232, 1024, 2048, 0x52382578
-1, 133256, 133256, 1024, 2048, 0x97ed1a28
-1, 134280, 134280, 1024, 2048, 0xabcdf73f
-1, 135304, 135304, 1024, 2048, 0x3a24082c
-1, 136328, 136328, 1024, 2048, 0xbe1cfc3d
-1, 137352, 137352, 1024, 2048, 0xad5800a5
-1, 138376, 138376, 1024, 2048, 0x90b80522
-1, 139400, 139400, 1024, 2048, 0x1fa1f912
-1, 140424, 140424, 1024, 2048, 0x733a0878
-1, 141448, 141448, 1024, 2048, 0x9a3eee47
-1, 142472, 142472, 1024, 2048, 0x5d900759
-1, 143496, 143496, 1024, 2048, 0x1287f540
-1, 144520, 144520, 1024, 2048, 0x941cfe5d
-1, 145544, 145544, 1024, 2048, 0x1587f8a9
-1, 146568, 146568, 1024, 2048, 0xb9e7f888
-1, 147592, 147592, 1024, 2048, 0xe9defbe2
-1, 148616, 148616, 1024, 2048, 0x3a5ef312
-1, 149640, 149640, 1024, 2048, 0xdcbe0544
-1, 150664, 150664, 1024, 2048, 0xbe51ecc5
-1, 151688, 151688, 1024, 2048, 0x21a60721
-1, 152712, 152712, 1024, 2048, 0xf29ff318
-1, 153736, 153736, 1024, 2048, 0xcd4c02ea
-1, 154760, 154760, 1024, 2048, 0xa424faac
-1, 155784, 155784, 1024, 2048, 0xbaedfdab
-1, 156808, 156808, 1024, 2048, 0xcbff047c
-1, 157832, 157832, 1024, 2048, 0x9ac8f96b
-1, 158856, 158856, 1024, 2048, 0x43220bee
-1, 159880, 159880, 1024, 2048, 0x547bf351
-1, 160904, 160904, 1024, 2048, 0x7dd10d6e
-1, 161928, 161928, 1024, 2048, 0x77cbf603
-1, 162952, 162952, 1024, 2048, 0xb6fcff50
-1, 163976, 163976, 1024, 2048, 0x927bfde5
-1, 165000, 165000, 1024, 2048, 0x5bd0fca5
-1, 166024, 166024, 1024, 2048, 0x672cff2a
-1, 167048, 167048, 1024, 2048, 0x3e3ef01c
-1, 168072, 168072, 1024, 2048, 0xe52607af
-1, 169096, 169096, 1024, 2048, 0x66bceaf5
-1, 170120, 170120, 1024, 2048, 0xe065046b
-1, 171144, 171144, 1024, 2048, 0x350bf21f
-1, 172168, 172168, 1024, 2048, 0x60b1fca4
-1, 173192, 173192, 1024, 2048, 0x8b1efa55
-1, 174216, 174216, 1024, 2048, 0xf86ff855
-1, 175240, 175240, 1024, 2048, 0x6934061b
-1, 176264, 176264, 136, 272, 0x4a458a45
+1, 124040, 124040, 1024, 2048, 0xb1b5035b
+1, 125064, 125064, 1024, 2048, 0xe2eff0f3
+1, 126088, 126088, 1024, 2048, 0xd3740083
+1, 127112, 127112, 1024, 2048, 0xf0eff27f
+1, 128136, 128136, 1024, 2048, 0x6ceafd03
+1, 129160, 129160, 1024, 2048, 0x640bfbe1
+1, 130184, 130184, 1024, 2048, 0xd8daf5c9
+1, 131208, 131208, 1024, 2048, 0x239b0696
+1, 132232, 132232, 1024, 2048, 0x2d522573
+1, 133256, 133256, 1024, 2048, 0x70971a20
+1, 134280, 134280, 1024, 2048, 0xb9f3f740
+1, 135304, 135304, 1024, 2048, 0x2c5a0824
+1, 136328, 136328, 1024, 2048, 0xe408fc40
+1, 137352, 137352, 1024, 2048, 0xcb32019a
+1, 138376, 138376, 1024, 2048, 0xfe19042b
+1, 139400, 139400, 1024, 2048, 0xec08fa0c
+1, 140424, 140424, 1024, 2048, 0x7a00087c
+1, 141448, 141448, 1024, 2048, 0xa390ee4a
+1, 142472, 142472, 1024, 2048, 0x7c460763
+1, 143496, 143496, 1024, 2048, 0x11f9f541
+1, 144520, 144520, 1024, 2048, 0x71f1ff60
+1, 145544, 145544, 1024, 2048, 0x05a3f8a6
+1, 146568, 146568, 1024, 2048, 0xd0a3f88a
+1, 147592, 147592, 1024, 2048, 0xf4cefbe9
+1, 148616, 148616, 1024, 2048, 0x34dcf316
+1, 149640, 149640, 1024, 2048, 0x263d043a
+1, 150664, 150664, 1024, 2048, 0xe741eccf
+1, 151688, 151688, 1024, 2048, 0x01e40715
+1, 152712, 152712, 1024, 2048, 0x037ef319
+1, 153736, 153736, 1024, 2048, 0xb0a202e3
+1, 154760, 154760, 1024, 2048, 0x9ec1fba7
+1, 155784, 155784, 1024, 2048, 0xb575fdae
+1, 156808, 156808, 1024, 2048, 0x152b0381
+1, 157832, 157832, 1024, 2048, 0x76c0f96a
+1, 158856, 158856, 1024, 2048, 0x02200ce5
+1, 159880, 159880, 1024, 2048, 0xd816f252
+1, 160904, 160904, 1024, 2048, 0x9a210d74
+1, 161928, 161928, 1024, 2048, 0xdf52f701
+1, 162952, 162952, 1024, 2048, 0xb1acff54
+1, 163976, 163976, 1024, 2048, 0xe059fce7
+1, 165000, 165000, 1024, 2048, 0x64ccfca6
+1, 166024, 166024, 1024, 2048, 0x065f0044
+1, 167048, 167048, 1024, 2048, 0x138af014
+1, 168072, 168072, 1024, 2048, 0x011907b6
+1, 169096, 169096, 1024, 2048, 0x56d6eaf1
+1, 170120, 170120, 1024, 2048, 0x0862046a
+1, 171144, 171144, 1024, 2048, 0x2480f12a
+1, 172168, 172168, 1024, 2048, 0x13fffc9c
+1, 173192, 173192, 1024, 2048, 0x996afa59
+1, 174216, 174216, 1024, 2048, 0xb859f84e
+1, 175240, 175240, 1024, 2048, 0x38170512
+1, 176264, 176264, 136, 272, 0x48418a43
0, 20, 20, 1, 230400, 0x88c4d19a
1, 176400, 176400, 1024, 2048, 0xdb0cfe95
-1, 177424, 177424, 1024, 2048, 0xcff3fdf1
-1, 178448, 178448, 1024, 2048, 0x070cf585
-1, 179472, 179472, 1024, 2048, 0xe9b8007f
-1, 180496, 180496, 1024, 2048, 0xc51ffd64
-1, 181520, 181520, 1024, 2048, 0xede2fbf9
-1, 182544, 182544, 1024, 2048, 0x51510410
-1, 183568, 183568, 1024, 2048, 0x198af498
-1, 184592, 184592, 1024, 2048, 0xae3603a2
+1, 177424, 177424, 1024, 2048, 0xc8b3fdf1
+1, 178448, 178448, 1024, 2048, 0x7fe6f781
+1, 179472, 179472, 1024, 2048, 0x79be017e
+1, 180496, 180496, 1024, 2048, 0xdc9dff63
+1, 181520, 181520, 1024, 2048, 0x4513fcf8
+1, 182544, 182544, 1024, 2048, 0xf078060f
+1, 183568, 183568, 1024, 2048, 0x30f9f596
+1, 184592, 184592, 1024, 2048, 0xe71d05a1
0, 21, 21, 1, 230400, 0x0d77c977
-1, 185616, 185616, 1024, 2048, 0x6200f7a1
-1, 186640, 186640, 1024, 2048, 0xe6e3fe32
-1, 187664, 187664, 1024, 2048, 0xb2e2fd77
-1, 188688, 188688, 1024, 2048, 0x063dff2f
-1, 189712, 189712, 1024, 2048, 0xa89ffe21
-1, 190736, 190736, 1024, 2048, 0x9e6ffa6d
-1, 191760, 191760, 1024, 2048, 0x028b004e
-1, 192784, 192784, 1024, 2048, 0x57edfa23
-1, 193808, 193808, 1024, 2048, 0x6d8efe1f
+1, 185616, 185616, 1024, 2048, 0x466af89f
+1, 186640, 186640, 1024, 2048, 0xa30c0040
+1, 187664, 187664, 1024, 2048, 0x5335fe73
+1, 188688, 188688, 1024, 2048, 0x5b63013f
+1, 189712, 189712, 1024, 2048, 0x1b81ff1e
+1, 190736, 190736, 1024, 2048, 0xaa2ffa70
+1, 191760, 191760, 1024, 2048, 0xc940024d
+1, 192784, 192784, 1024, 2048, 0x8433fb21
+1, 193808, 193808, 1024, 2048, 0xbdef002a
0, 22, 22, 1, 230400, 0x242629d7
-1, 194832, 194832, 1024, 2048, 0x774bfe54
-1, 195856, 195856, 1024, 2048, 0xa931fcfb
-1, 196880, 196880, 1024, 2048, 0x3505004b
-1, 197904, 197904, 1024, 2048, 0x5001f576
-1, 198928, 198928, 1024, 2048, 0x78ea049b
-1, 199952, 199952, 1024, 2048, 0xd45bf733
-1, 200976, 200976, 1024, 2048, 0x6395fead
-1, 202000, 202000, 1024, 2048, 0xc126015e
+1, 194832, 194832, 1024, 2048, 0x7bd2ff53
+1, 195856, 195856, 1024, 2048, 0x9fc0fefc
+1, 196880, 196880, 1024, 2048, 0xfc12014a
+1, 197904, 197904, 1024, 2048, 0xb9cdf773
+1, 198928, 198928, 1024, 2048, 0xfe400599
+1, 199952, 199952, 1024, 2048, 0xd605f930
+1, 200976, 200976, 1024, 2048, 0xb70cffac
+1, 202000, 202000, 1024, 2048, 0x5108035d
0, 23, 23, 1, 230400, 0x62cdc018
-1, 203024, 203024, 1024, 2048, 0xbecff8aa
-1, 204048, 204048, 1024, 2048, 0x0fea06c3
-1, 205072, 205072, 1024, 2048, 0xdea6f351
-1, 206096, 206096, 1024, 2048, 0x35b808f0
-1, 207120, 207120, 1024, 2048, 0x5487ee73
-1, 208144, 208144, 1024, 2048, 0xac69050e
-1, 209168, 209168, 1024, 2048, 0xcc5ffb00
-1, 210192, 210192, 1024, 2048, 0x328c00cb
-1, 211216, 211216, 1024, 2048, 0xa707fd82
+1, 203024, 203024, 1024, 2048, 0xcf07f9a9
+1, 204048, 204048, 1024, 2048, 0x2b7108c0
+1, 205072, 205072, 1024, 2048, 0xd340f350
+1, 206096, 206096, 1024, 2048, 0x0a7b09f0
+1, 207120, 207120, 1024, 2048, 0xdcb5f06f
+1, 208144, 208144, 1024, 2048, 0x43ff060d
+1, 209168, 209168, 1024, 2048, 0xe6a3fcf9
+1, 210192, 210192, 1024, 2048, 0xaaae01cb
+1, 211216, 211216, 1024, 2048, 0x5e73ff7d
0, 24, 24, 1, 230400, 0x248ad058
-1, 212240, 212240, 1024, 2048, 0xe442f73d
-1, 213264, 213264, 1024, 2048, 0x545c0418
-1, 214288, 214288, 1024, 2048, 0x744ff3f7
-1, 215312, 215312, 1024, 2048, 0x01aa04fd
-1, 216336, 216336, 1024, 2048, 0xa885f7cd
-1, 217360, 217360, 1024, 2048, 0xcfca04f4
-1, 218384, 218384, 1024, 2048, 0x67fdf91b
-1, 219408, 219408, 1024, 2048, 0xce2b001d
+1, 212240, 212240, 1024, 2048, 0x0b0cf839
+1, 213264, 213264, 1024, 2048, 0xa1fb0615
+1, 214288, 214288, 1024, 2048, 0x6909f4f5
+1, 215312, 215312, 1024, 2048, 0xcbf606f9
+1, 216336, 216336, 1024, 2048, 0x51daf8c8
+1, 217360, 217360, 1024, 2048, 0x281b06f2
+1, 218384, 218384, 1024, 2048, 0xd48efa17
+1, 219408, 219408, 1024, 2048, 0xb6ed001a
1, 220432, 220432, 68, 136, 0x33e64a0d
diff --git a/tests/ref/fate/filter-concat-vfr b/tests/ref/fate/filter-concat-vfr
index 3d984a4968..1f62033cb9 100644
--- a/tests/ref/fate/filter-concat-vfr
+++ b/tests/ref/fate/filter-concat-vfr
@@ -9,54 +9,54 @@
#sample_rate 1: 44100
#channel_layout_name 1: mono
0, 0, 0, 200000, 230400, 0x88c4d19a
-1, 0, 0, 1024, 2048, 0xb3f10192
-1, 1024, 1024, 1024, 2048, 0xb340fe4e
-1, 2048, 2048, 1024, 2048, 0x0a5f0111
-1, 3072, 3072, 1024, 2048, 0x51be06b8
-1, 4096, 4096, 1024, 2048, 0x71a1ffcb
-1, 5120, 5120, 1024, 2048, 0x7f64f50f
-1, 6144, 6144, 1024, 2048, 0x70a8fa17
-1, 7168, 7168, 1024, 2048, 0x0dad072a
-1, 8192, 8192, 1024, 2048, 0x5e810c51
+1, 0, 0, 1024, 2048, 0xb59f0193
+1, 1024, 1024, 1024, 2048, 0xba70fe4e
+1, 2048, 2048, 1024, 2048, 0x28ca0012
+1, 3072, 3072, 1024, 2048, 0x487e06b5
+1, 4096, 4096, 1024, 2048, 0xbd39fec8
+1, 5120, 5120, 1024, 2048, 0x869ef510
+1, 6144, 6144, 1024, 2048, 0xef51f915
+1, 7168, 7168, 1024, 2048, 0xca830826
+1, 8192, 8192, 1024, 2048, 0x20aa0b52
0, 200000, 200000, 200000, 230400, 0x0d77c977
-1, 9216, 9216, 1024, 2048, 0xbe5bf462
-1, 10240, 10240, 1024, 2048, 0xbcd9faeb
-1, 11264, 11264, 1024, 2048, 0x0d5bfe9c
-1, 12288, 12288, 1024, 2048, 0x97d80297
-1, 13312, 13312, 1024, 2048, 0xba0f0894
-1, 14336, 14336, 1024, 2048, 0xcc22f291
-1, 15360, 15360, 1024, 2048, 0x11a9fa03
-1, 16384, 16384, 1024, 2048, 0x9a920378
-1, 17408, 17408, 1024, 2048, 0x901b0525
+1, 9216, 9216, 1024, 2048, 0x3759f55c
+1, 10240, 10240, 1024, 2048, 0xc41bf9ec
+1, 11264, 11264, 1024, 2048, 0xfb78fe99
+1, 12288, 12288, 1024, 2048, 0xd920038f
+1, 13312, 13312, 1024, 2048, 0x079f0797
+1, 14336, 14336, 1024, 2048, 0xcf5ff38b
+1, 15360, 15360, 1024, 2048, 0x770ff8ff
+1, 16384, 16384, 1024, 2048, 0x7aac0476
+1, 17408, 17408, 1024, 2048, 0x2bff0420
0, 400000, 400000, 200000, 230400, 0x242629d7
-1, 18432, 18432, 1024, 2048, 0x74b2003f
-1, 19456, 19456, 1024, 2048, 0xa20ef3ed
-1, 20480, 20480, 1024, 2048, 0x44cef9de
-1, 21504, 21504, 1024, 2048, 0x4b2e039b
-1, 22528, 22528, 1024, 2048, 0x198509a1
-1, 23552, 23552, 1024, 2048, 0xcab6f9e5
-1, 24576, 24576, 1024, 2048, 0x67f8f608
-1, 25600, 25600, 1024, 2048, 0x8d7f03fa
+1, 18432, 18432, 1024, 2048, 0x160b013e
+1, 19456, 19456, 1024, 2048, 0x76b9f2e9
+1, 20480, 20480, 1024, 2048, 0x9b51fada
+1, 21504, 21504, 1024, 2048, 0x5d620295
+1, 22528, 22528, 1024, 2048, 0x40b90a9d
+1, 23552, 23552, 1024, 2048, 0x2032f8e5
+1, 24576, 24576, 1024, 2048, 0x3efcf601
+1, 25600, 25600, 1024, 2048, 0x135b03f8
0, 600000, 600000, 200000, 230400, 0x62cdc018
-1, 26624, 26624, 1024, 2048, 0x3e1e0566
-1, 27648, 27648, 1024, 2048, 0x2cfe0308
-1, 28672, 28672, 1024, 2048, 0x1ceaf702
-1, 29696, 29696, 1024, 2048, 0x38a9f3d1
-1, 30720, 30720, 1024, 2048, 0x6c3306b7
-1, 31744, 31744, 1024, 2048, 0x600f0579
-1, 32768, 32768, 1024, 2048, 0x3e5afa28
-1, 33792, 33792, 1024, 2048, 0x053ff47a
-1, 34816, 34816, 1024, 2048, 0x0d28fed9
+1, 26624, 26624, 1024, 2048, 0x2cd00562
+1, 27648, 27648, 1024, 2048, 0xe4d30402
+1, 28672, 28672, 1024, 2048, 0x00faf605
+1, 29696, 29696, 1024, 2048, 0xb031f4cd
+1, 30720, 30720, 1024, 2048, 0x656a05b3
+1, 31744, 31744, 1024, 2048, 0xb11e067a
+1, 32768, 32768, 1024, 2048, 0x6826f923
+1, 33792, 33792, 1024, 2048, 0x010df577
+1, 34816, 34816, 1024, 2048, 0x8333fdd7
0, 800000, 800000, 200000, 230400, 0x248ad058
-1, 35840, 35840, 1024, 2048, 0x279805cc
-1, 36864, 36864, 1024, 2048, 0xb16a0a12
-1, 37888, 37888, 1024, 2048, 0xb45af340
-1, 38912, 38912, 1024, 2048, 0x1834f972
-1, 39936, 39936, 1024, 2048, 0xb5d206ae
-1, 40960, 40960, 1024, 2048, 0xc5760375
-1, 41984, 41984, 1024, 2048, 0x503800ce
-1, 43008, 43008, 1024, 2048, 0xa3bbf4af
-1, 44032, 44032, 68, 136, 0xc8d751c7
+1, 35840, 35840, 1024, 2048, 0xf2f606c7
+1, 36864, 36864, 1024, 2048, 0x7a650914
+1, 37888, 37888, 1024, 2048, 0x41c0f43f
+1, 38912, 38912, 1024, 2048, 0xfc4df870
+1, 39936, 39936, 1024, 2048, 0x96a006a7
+1, 40960, 40960, 1024, 2048, 0x84770374
+1, 41984, 41984, 1024, 2048, 0x8bedffc2
+1, 43008, 43008, 1024, 2048, 0xbfaef5ae
+1, 44032, 44032, 68, 136, 0xc35a50c5
0, 1000000, 1000000, 200000, 230400, 0x223d134f
1, 44100, 44100, 9600, 19200, 0x00000000
0, 1200000, 1200000, 200000, 230400, 0xbf1c3d34
@@ -68,156 +68,156 @@
0, 1800000, 1800000, 200000, 230400, 0x6dedf2c0
1, 82500, 82500, 5700, 11400, 0x00000000
0, 2000000, 2000000, 66667, 230400, 0x88c4d19a
-1, 88200, 88200, 1024, 2048, 0x283efb3a
-1, 89224, 89224, 1024, 2048, 0x7692fb8f
-1, 90248, 90248, 1024, 2048, 0xbaaafcc0
+1, 88200, 88200, 1024, 2048, 0x2906fb3a
+1, 89224, 89224, 1024, 2048, 0x83f6fb92
+1, 90248, 90248, 1024, 2048, 0xbe36fcc1
0, 2066667, 2066667, 66667, 230400, 0x5bbc2f63
1, 91272, 91272, 1024, 2048, 0xadc8017e
-1, 92296, 92296, 1024, 2048, 0x4f4dffdc
-1, 93320, 93320, 1024, 2048, 0x7ffbff48
+1, 92296, 92296, 1024, 2048, 0x5a73ffde
+1, 93320, 93320, 1024, 2048, 0x77b1ff47
0, 2133333, 2133333, 66667, 230400, 0x3becbfad
-1, 94344, 94344, 1024, 2048, 0x2f990719
-1, 95368, 95368, 1024, 2048, 0xe2caf65c
-1, 96392, 96392, 1024, 2048, 0x825208e4
+1, 94344, 94344, 1024, 2048, 0x3629071b
+1, 95368, 95368, 1024, 2048, 0xdb0cf65b
+1, 96392, 96392, 1024, 2048, 0x77a808e2
0, 2200000, 2200000, 66667, 230400, 0x0d77c977
-1, 97416, 97416, 1024, 2048, 0xf563f13b
-1, 98440, 98440, 1024, 2048, 0x855d03e9
-1, 99464, 99464, 1024, 2048, 0x0ba9fa4b
+1, 97416, 97416, 1024, 2048, 0xe961f137
+1, 98440, 98440, 1024, 2048, 0x982f03ed
+1, 99464, 99464, 1024, 2048, 0x0305fa4b
0, 2266667, 2266667, 66667, 230400, 0x436cf4b2
-1, 100488, 100488, 1024, 2048, 0x83e1fb92
-1, 101512, 101512, 1024, 2048, 0x1162f965
-1, 102536, 102536, 1024, 2048, 0x0cfef73d
+1, 100488, 100488, 1024, 2048, 0x83c1fb91
+1, 101512, 101512, 1024, 2048, 0x014af961
+1, 102536, 102536, 1024, 2048, 0x186cf73f
0, 2333333, 2333333, 66667, 230400, 0x39210f27
-1, 103560, 103560, 1024, 2048, 0x5688ff75
-1, 104584, 104584, 1024, 2048, 0xf6c0ede9
-1, 105608, 105608, 1024, 2048, 0xfdb20602
+1, 103560, 103560, 1024, 2048, 0x4d60ff77
+1, 104584, 104584, 1024, 2048, 0xea04edea
+1, 105608, 105608, 1024, 2048, 0xc93204ff
0, 2400000, 2400000, 66667, 230400, 0x242629d7
-1, 106632, 106632, 1024, 2048, 0x40c5f17b
-1, 107656, 107656, 1024, 2048, 0x559600b1
-1, 108680, 108680, 1024, 2048, 0xccc3f930
+1, 106632, 106632, 1024, 2048, 0x544ff17d
+1, 107656, 107656, 1024, 2048, 0x58e200ae
+1, 108680, 108680, 1024, 2048, 0xdea9f932
0, 2466667, 2466667, 66667, 230400, 0x771c2293
-1, 109704, 109704, 1024, 2048, 0xdc800045
-1, 110728, 110728, 1024, 2048, 0xdce4fb3e
+1, 109704, 109704, 1024, 2048, 0xc3de0041
+1, 110728, 110728, 1024, 2048, 0x6242fc3b
0, 2533333, 2533333, 66667, 230400, 0xec2af9a9
-1, 111752, 111752, 1024, 2048, 0x1e5efba9
-1, 112776, 112776, 1024, 2048, 0x8c2e0832
-1, 113800, 113800, 1024, 2048, 0x5c42f66d
+1, 111752, 111752, 1024, 2048, 0x257efbac
+1, 112776, 112776, 1024, 2048, 0x978e0833
+1, 113800, 113800, 1024, 2048, 0x47bcf66e
0, 2600000, 2600000, 66667, 230400, 0x62cdc018
-1, 114824, 114824, 1024, 2048, 0x08e20b1e
-1, 115848, 115848, 1024, 2048, 0x4cf7f903
-1, 116872, 116872, 1024, 2048, 0xe6b90794
+1, 114824, 114824, 1024, 2048, 0xebbb0b1a
+1, 115848, 115848, 1024, 2048, 0x45b8f805
+1, 116872, 116872, 1024, 2048, 0xf73b0796
0, 2666667, 2666667, 66667, 230400, 0xf02c8693
-1, 117896, 117896, 1024, 2048, 0x5956f8e6
-1, 118920, 118920, 1024, 2048, 0x6632ff16
-1, 119944, 119944, 1024, 2048, 0x46c8fe11
+1, 117896, 117896, 1024, 2048, 0x56a6f9df
+1, 118920, 118920, 1024, 2048, 0x80ccff1a
+1, 119944, 119944, 1024, 2048, 0x4f06fe14
0, 2733333, 2733333, 66667, 230400, 0x14436efb
-1, 120968, 120968, 1024, 2048, 0x7431f732
-1, 121992, 121992, 1024, 2048, 0xa258049f
-1, 123016, 123016, 1024, 2048, 0xdb71f00e
+1, 120968, 120968, 1024, 2048, 0x8711f734
+1, 121992, 121992, 1024, 2048, 0xb64404a4
+1, 123016, 123016, 1024, 2048, 0xce65f00a
0, 2800000, 2800000, 66667, 230400, 0x248ad058
-1, 124040, 124040, 1024, 2048, 0xa89b0359
-1, 125064, 125064, 1024, 2048, 0xe0aff0f2
-1, 126088, 126088, 1024, 2048, 0xc33e0085
+1, 124040, 124040, 1024, 2048, 0xb1b5035b
+1, 125064, 125064, 1024, 2048, 0xe2eff0f3
+1, 126088, 126088, 1024, 2048, 0xd3740083
0, 2866667, 2866667, 66667, 230400, 0xe87f6c52
-1, 127112, 127112, 1024, 2048, 0x9d09f379
-1, 128136, 128136, 1024, 2048, 0x8c78fd06
-1, 129160, 129160, 1024, 2048, 0x532bfbdd
+1, 127112, 127112, 1024, 2048, 0xf0eff27f
+1, 128136, 128136, 1024, 2048, 0x6ceafd03
+1, 129160, 129160, 1024, 2048, 0x640bfbe1
0, 2933333, 2933333, 66667, 230400, 0x6a0c196b
-1, 130184, 130184, 1024, 2048, 0xfc36f5cd
-1, 131208, 131208, 1024, 2048, 0x2e8f0699
-1, 132232, 132232, 1024, 2048, 0x52382578
-1, 133256, 133256, 1024, 2048, 0x97ed1a28
-1, 134280, 134280, 1024, 2048, 0xabcdf73f
-1, 135304, 135304, 1024, 2048, 0x3a24082c
-1, 136328, 136328, 1024, 2048, 0xbe1cfc3d
-1, 137352, 137352, 1024, 2048, 0xad5800a5
-1, 138376, 138376, 1024, 2048, 0x90b80522
-1, 139400, 139400, 1024, 2048, 0x1fa1f912
-1, 140424, 140424, 1024, 2048, 0x733a0878
-1, 141448, 141448, 1024, 2048, 0x9a3eee47
-1, 142472, 142472, 1024, 2048, 0x5d900759
-1, 143496, 143496, 1024, 2048, 0x1287f540
-1, 144520, 144520, 1024, 2048, 0x941cfe5d
-1, 145544, 145544, 1024, 2048, 0x1587f8a9
-1, 146568, 146568, 1024, 2048, 0xb9e7f888
-1, 147592, 147592, 1024, 2048, 0xe9defbe2
-1, 148616, 148616, 1024, 2048, 0x3a5ef312
-1, 149640, 149640, 1024, 2048, 0xdcbe0544
-1, 150664, 150664, 1024, 2048, 0xbe51ecc5
-1, 151688, 151688, 1024, 2048, 0x21a60721
-1, 152712, 152712, 1024, 2048, 0xf29ff318
-1, 153736, 153736, 1024, 2048, 0xcd4c02ea
-1, 154760, 154760, 1024, 2048, 0xa424faac
-1, 155784, 155784, 1024, 2048, 0xbaedfdab
-1, 156808, 156808, 1024, 2048, 0xcbff047c
-1, 157832, 157832, 1024, 2048, 0x9ac8f96b
-1, 158856, 158856, 1024, 2048, 0x43220bee
-1, 159880, 159880, 1024, 2048, 0x547bf351
-1, 160904, 160904, 1024, 2048, 0x7dd10d6e
-1, 161928, 161928, 1024, 2048, 0x77cbf603
-1, 162952, 162952, 1024, 2048, 0xb6fcff50
-1, 163976, 163976, 1024, 2048, 0x927bfde5
-1, 165000, 165000, 1024, 2048, 0x5bd0fca5
-1, 166024, 166024, 1024, 2048, 0x672cff2a
-1, 167048, 167048, 1024, 2048, 0x3e3ef01c
-1, 168072, 168072, 1024, 2048, 0xe52607af
-1, 169096, 169096, 1024, 2048, 0x66bceaf5
-1, 170120, 170120, 1024, 2048, 0xe065046b
-1, 171144, 171144, 1024, 2048, 0x350bf21f
-1, 172168, 172168, 1024, 2048, 0x60b1fca4
-1, 173192, 173192, 1024, 2048, 0x8b1efa55
-1, 174216, 174216, 1024, 2048, 0xf86ff855
-1, 175240, 175240, 1024, 2048, 0x6934061b
-1, 176264, 176264, 136, 272, 0x4a458a45
+1, 130184, 130184, 1024, 2048, 0xd8daf5c9
+1, 131208, 131208, 1024, 2048, 0x239b0696
+1, 132232, 132232, 1024, 2048, 0x2d522573
+1, 133256, 133256, 1024, 2048, 0x70971a20
+1, 134280, 134280, 1024, 2048, 0xb9f3f740
+1, 135304, 135304, 1024, 2048, 0x2c5a0824
+1, 136328, 136328, 1024, 2048, 0xe408fc40
+1, 137352, 137352, 1024, 2048, 0xcb32019a
+1, 138376, 138376, 1024, 2048, 0xfe19042b
+1, 139400, 139400, 1024, 2048, 0xec08fa0c
+1, 140424, 140424, 1024, 2048, 0x7a00087c
+1, 141448, 141448, 1024, 2048, 0xa390ee4a
+1, 142472, 142472, 1024, 2048, 0x7c460763
+1, 143496, 143496, 1024, 2048, 0x11f9f541
+1, 144520, 144520, 1024, 2048, 0x71f1ff60
+1, 145544, 145544, 1024, 2048, 0x05a3f8a6
+1, 146568, 146568, 1024, 2048, 0xd0a3f88a
+1, 147592, 147592, 1024, 2048, 0xf4cefbe9
+1, 148616, 148616, 1024, 2048, 0x34dcf316
+1, 149640, 149640, 1024, 2048, 0x263d043a
+1, 150664, 150664, 1024, 2048, 0xe741eccf
+1, 151688, 151688, 1024, 2048, 0x01e40715
+1, 152712, 152712, 1024, 2048, 0x037ef319
+1, 153736, 153736, 1024, 2048, 0xb0a202e3
+1, 154760, 154760, 1024, 2048, 0x9ec1fba7
+1, 155784, 155784, 1024, 2048, 0xb575fdae
+1, 156808, 156808, 1024, 2048, 0x152b0381
+1, 157832, 157832, 1024, 2048, 0x76c0f96a
+1, 158856, 158856, 1024, 2048, 0x02200ce5
+1, 159880, 159880, 1024, 2048, 0xd816f252
+1, 160904, 160904, 1024, 2048, 0x9a210d74
+1, 161928, 161928, 1024, 2048, 0xdf52f701
+1, 162952, 162952, 1024, 2048, 0xb1acff54
+1, 163976, 163976, 1024, 2048, 0xe059fce7
+1, 165000, 165000, 1024, 2048, 0x64ccfca6
+1, 166024, 166024, 1024, 2048, 0x065f0044
+1, 167048, 167048, 1024, 2048, 0x138af014
+1, 168072, 168072, 1024, 2048, 0x011907b6
+1, 169096, 169096, 1024, 2048, 0x56d6eaf1
+1, 170120, 170120, 1024, 2048, 0x0862046a
+1, 171144, 171144, 1024, 2048, 0x2480f12a
+1, 172168, 172168, 1024, 2048, 0x13fffc9c
+1, 173192, 173192, 1024, 2048, 0x996afa59
+1, 174216, 174216, 1024, 2048, 0xb859f84e
+1, 175240, 175240, 1024, 2048, 0x38170512
+1, 176264, 176264, 136, 272, 0x48418a43
0, 4000000, 4000000, 125000, 230400, 0x88c4d19a
1, 176400, 176400, 1024, 2048, 0xdb0cfe95
-1, 177424, 177424, 1024, 2048, 0xcff3fdf1
-1, 178448, 178448, 1024, 2048, 0x070cf585
-1, 179472, 179472, 1024, 2048, 0xe9b8007f
-1, 180496, 180496, 1024, 2048, 0xc51ffd64
-1, 181520, 181520, 1024, 2048, 0xede2fbf9
+1, 177424, 177424, 1024, 2048, 0xc8b3fdf1
+1, 178448, 178448, 1024, 2048, 0x7fe6f781
+1, 179472, 179472, 1024, 2048, 0x79be017e
+1, 180496, 180496, 1024, 2048, 0xdc9dff63
+1, 181520, 181520, 1024, 2048, 0x4513fcf8
0, 4125000, 4125000, 125000, 230400, 0x05c1b733
-1, 182544, 182544, 1024, 2048, 0x51510410
-1, 183568, 183568, 1024, 2048, 0x198af498
-1, 184592, 184592, 1024, 2048, 0xae3603a2
-1, 185616, 185616, 1024, 2048, 0x6200f7a1
-1, 186640, 186640, 1024, 2048, 0xe6e3fe32
+1, 182544, 182544, 1024, 2048, 0xf078060f
+1, 183568, 183568, 1024, 2048, 0x30f9f596
+1, 184592, 184592, 1024, 2048, 0xe71d05a1
+1, 185616, 185616, 1024, 2048, 0x466af89f
+1, 186640, 186640, 1024, 2048, 0xa30c0040
0, 4250000, 4250000, 125000, 230400, 0x0446ec19
-1, 187664, 187664, 1024, 2048, 0xb2e2fd77
-1, 188688, 188688, 1024, 2048, 0x063dff2f
-1, 189712, 189712, 1024, 2048, 0xa89ffe21
-1, 190736, 190736, 1024, 2048, 0x9e6ffa6d
-1, 191760, 191760, 1024, 2048, 0x028b004e
-1, 192784, 192784, 1024, 2048, 0x57edfa23
+1, 187664, 187664, 1024, 2048, 0x5335fe73
+1, 188688, 188688, 1024, 2048, 0x5b63013f
+1, 189712, 189712, 1024, 2048, 0x1b81ff1e
+1, 190736, 190736, 1024, 2048, 0xaa2ffa70
+1, 191760, 191760, 1024, 2048, 0xc940024d
+1, 192784, 192784, 1024, 2048, 0x8433fb21
0, 4375000, 4375000, 125000, 230400, 0x0f9b1744
-1, 193808, 193808, 1024, 2048, 0x6d8efe1f
-1, 194832, 194832, 1024, 2048, 0x774bfe54
-1, 195856, 195856, 1024, 2048, 0xa931fcfb
-1, 196880, 196880, 1024, 2048, 0x3505004b
-1, 197904, 197904, 1024, 2048, 0x5001f576
+1, 193808, 193808, 1024, 2048, 0xbdef002a
+1, 194832, 194832, 1024, 2048, 0x7bd2ff53
+1, 195856, 195856, 1024, 2048, 0x9fc0fefc
+1, 196880, 196880, 1024, 2048, 0xfc12014a
+1, 197904, 197904, 1024, 2048, 0xb9cdf773
0, 4500000, 4500000, 125000, 230400, 0x30cf070a
-1, 198928, 198928, 1024, 2048, 0x78ea049b
-1, 199952, 199952, 1024, 2048, 0xd45bf733
-1, 200976, 200976, 1024, 2048, 0x6395fead
-1, 202000, 202000, 1024, 2048, 0xc126015e
-1, 203024, 203024, 1024, 2048, 0xbecff8aa
+1, 198928, 198928, 1024, 2048, 0xfe400599
+1, 199952, 199952, 1024, 2048, 0xd605f930
+1, 200976, 200976, 1024, 2048, 0xb70cffac
+1, 202000, 202000, 1024, 2048, 0x5108035d
+1, 203024, 203024, 1024, 2048, 0xcf07f9a9
0, 4625000, 4625000, 125000, 230400, 0x9175aaa9
-1, 204048, 204048, 1024, 2048, 0x0fea06c3
-1, 205072, 205072, 1024, 2048, 0xdea6f351
-1, 206096, 206096, 1024, 2048, 0x35b808f0
-1, 207120, 207120, 1024, 2048, 0x5487ee73
-1, 208144, 208144, 1024, 2048, 0xac69050e
-1, 209168, 209168, 1024, 2048, 0xcc5ffb00
+1, 204048, 204048, 1024, 2048, 0x2b7108c0
+1, 205072, 205072, 1024, 2048, 0xd340f350
+1, 206096, 206096, 1024, 2048, 0x0a7b09f0
+1, 207120, 207120, 1024, 2048, 0xdcb5f06f
+1, 208144, 208144, 1024, 2048, 0x43ff060d
+1, 209168, 209168, 1024, 2048, 0xe6a3fcf9
0, 4750000, 4750000, 125000, 230400, 0x597f5628
-1, 210192, 210192, 1024, 2048, 0x328c00cb
-1, 211216, 211216, 1024, 2048, 0xa707fd82
-1, 212240, 212240, 1024, 2048, 0xe442f73d
-1, 213264, 213264, 1024, 2048, 0x545c0418
-1, 214288, 214288, 1024, 2048, 0x744ff3f7
+1, 210192, 210192, 1024, 2048, 0xaaae01cb
+1, 211216, 211216, 1024, 2048, 0x5e73ff7d
+1, 212240, 212240, 1024, 2048, 0x0b0cf839
+1, 213264, 213264, 1024, 2048, 0xa1fb0615
+1, 214288, 214288, 1024, 2048, 0x6909f4f5
0, 4875000, 4875000, 125000, 230400, 0x38a45a85
-1, 215312, 215312, 1024, 2048, 0x01aa04fd
-1, 216336, 216336, 1024, 2048, 0xa885f7cd
-1, 217360, 217360, 1024, 2048, 0xcfca04f4
-1, 218384, 218384, 1024, 2048, 0x67fdf91b
-1, 219408, 219408, 1024, 2048, 0xce2b001d
+1, 215312, 215312, 1024, 2048, 0xcbf606f9
+1, 216336, 216336, 1024, 2048, 0x51daf8c8
+1, 217360, 217360, 1024, 2048, 0x281b06f2
+1, 218384, 218384, 1024, 2048, 0xd48efa17
+1, 219408, 219408, 1024, 2048, 0xb6ed001a
1, 220432, 220432, 68, 136, 0x33e64a0d
diff --git a/tests/ref/fate/filter-crazychannels b/tests/ref/fate/filter-crazychannels
index db4e63a833..14bc8c2b76 100644
--- a/tests/ref/fate/filter-crazychannels
+++ b/tests/ref/fate/filter-crazychannels
@@ -330,65 +330,65 @@
#channel_layout_name 65: 1 channels (FR)
0, 0, 0, 1024, 2048, 0xd782fb56
1, 0, 0, 1024, 2048, 0x00000000
-2, 0, 0, 1024, 2048, 0xd501f2b4
+2, 0, 0, 1024, 2048, 0x8d14eeb7
3, 0, 0, 1024, 2048, 0x3281ecb5
4, 0, 0, 1024, 2048, 0xffb00086
5, 0, 0, 1024, 2048, 0xe9b7f252
6, 0, 0, 1024, 2048, 0x53e6f849
-7, 0, 0, 1024, 2048, 0xacb9f526
+7, 0, 0, 1024, 2048, 0x3dcb0129
8, 0, 0, 1024, 2048, 0xa79b0dcb
9, 0, 0, 1024, 2048, 0xa4eaf5c8
10, 0, 0, 1024, 2048, 0x31010ff1
-11, 0, 0, 1024, 2048, 0xdfaa053a
-12, 0, 0, 1024, 2048, 0x7321fac9
-13, 0, 0, 1024, 2048, 0x0786f54d
-14, 0, 0, 1024, 2048, 0x32c7fcb7
-15, 0, 0, 1024, 2048, 0x23e8ee40
+11, 0, 0, 1024, 2048, 0x270c0936
+12, 0, 0, 1024, 2048, 0x2bcef6cd
+13, 0, 0, 1024, 2048, 0x98890150
+14, 0, 0, 1024, 2048, 0xeb65f8bb
+15, 0, 0, 1024, 2048, 0xc0ef0e2f
16, 0, 0, 1024, 2048, 0xaddef714
-17, 0, 0, 1024, 2048, 0x1c6ffa69
-18, 0, 0, 1024, 2048, 0x493bfb48
+17, 0, 0, 1024, 2048, 0xd50df66d
+18, 0, 0, 1024, 2048, 0x908eff44
19, 0, 0, 1024, 2048, 0x8e26106e
20, 0, 0, 1024, 2048, 0x0d47f953
21, 0, 0, 1024, 2048, 0x49a90415
-22, 0, 0, 1024, 2048, 0x5349cdcf
-23, 0, 0, 1024, 2048, 0x20410430
+22, 0, 0, 1024, 2048, 0xdb9d2d7e
+23, 0, 0, 1024, 2048, 0xd8df0034
24, 0, 0, 1024, 2048, 0xd3f7ffbe
25, 0, 0, 1024, 2048, 0xca8902f8
26, 0, 0, 1024, 2048, 0xfe9ffcff
-27, 0, 0, 1024, 2048, 0xf1c0fd21
-28, 0, 0, 1024, 2048, 0x6007e947
+27, 0, 0, 1024, 2048, 0xaa6df925
+28, 0, 0, 1024, 2048, 0xee25112e
29, 0, 0, 1024, 2048, 0x33310ce6
-30, 0, 0, 1024, 2048, 0x04f103a1
+30, 0, 0, 1024, 2048, 0x032303a0
31, 0, 0, 1024, 2048, 0xf84bf6df
-32, 0, 0, 1024, 2048, 0xc597027d
+32, 0, 0, 1024, 2048, 0x7d9efe71
33, 0, 0, 1024, 2048, 0x7391ff47
34, 0, 0, 1024, 2048, 0xd6ab0226
-35, 0, 0, 1024, 2048, 0x4b98fd12
+35, 0, 0, 1024, 2048, 0x92eb011d
36, 0, 0, 1024, 2048, 0xb2510d31
-37, 0, 0, 1024, 2048, 0x11e0e994
-38, 0, 0, 1024, 2048, 0xfa5cfa07
+37, 0, 0, 1024, 2048, 0x9ffe117b
+38, 0, 0, 1024, 2048, 0xb309f60b
39, 0, 0, 1024, 2048, 0x494cf951
-40, 0, 0, 1024, 2048, 0xf87401ca
-41, 0, 0, 1024, 2048, 0x188ffd8f
+40, 0, 0, 1024, 2048, 0x6771f5c7
+41, 0, 0, 1024, 2048, 0x5fe2019a
42, 0, 0, 1024, 2048, 0xc673f7fd
-43, 0, 0, 1024, 2048, 0x3020cead
+43, 0, 0, 1024, 2048, 0xb8742e5c
44, 0, 0, 1024, 2048, 0x0f34f9ec
-45, 0, 0, 1024, 2048, 0x2f15053e
+45, 0, 0, 1024, 2048, 0xe4f50141
46, 0, 0, 1024, 2048, 0x4cc9e880
-47, 0, 0, 1024, 2048, 0xa7d0015a
-48, 0, 0, 1024, 2048, 0x20c3fcb7
+47, 0, 0, 1024, 2048, 0x5f77fd4e
+48, 0, 0, 1024, 2048, 0x681600c2
49, 0, 0, 1024, 2048, 0xb6f80160
-50, 0, 0, 1024, 2048, 0x28f88d75
-51, 0, 0, 1024, 2048, 0xf20502a2
+50, 0, 0, 1024, 2048, 0xa2cb6ea2
+51, 0, 0, 1024, 2048, 0xaab2fe97
52, 0, 0, 1024, 2048, 0x7f88f6f8
-53, 0, 0, 1024, 2048, 0x02690489
-54, 0, 0, 1024, 2048, 0x306af8c2
+53, 0, 0, 1024, 2048, 0xbb07008d
+54, 0, 0, 1024, 2048, 0x77bdfcbe
55, 0, 0, 1024, 2048, 0xbe9a1052
-56, 0, 0, 1024, 2048, 0x344bfc0b
+56, 0, 0, 1024, 2048, 0x7c1c0017
57, 0, 0, 1024, 2048, 0xb2a00b99
-58, 0, 0, 1024, 2048, 0x0cbe045d
-59, 0, 0, 1024, 2048, 0x5830fd09
-60, 0, 0, 1024, 2048, 0x8c7900bd
+58, 0, 0, 1024, 2048, 0x7bacf85a
+59, 0, 0, 1024, 2048, 0x9f830114
+60, 0, 0, 1024, 2048, 0x4448fcb1
61, 0, 0, 1024, 2048, 0x4a20f705
62, 0, 0, 1024, 2048, 0x282201f6
63, 0, 0, 1024, 2048, 0xfbb2fafa
diff --git a/tests/ref/fate/shortest b/tests/ref/fate/shortest
index 0690799d8d..266ea19730 100644
--- a/tests/ref/fate/shortest
+++ b/tests/ref/fate/shortest
@@ -8,60 +8,60 @@
#codec_id 1: ac3
#sample_rate 1: 44100
#channel_layout_name 1: mono
-1, -256, -256, 1536, 416, 0x69efcbcc
+1, -256, -256, 1536, 416, 0x520acaac
0, 0, 0, 1, 27867, 0x1426a0d6, S=1, 8
-1, 1280, 1280, 1536, 418, 0xa0ccc09d
+1, 1280, 1280, 1536, 418, 0xb8a3cfea
0, 1, 1, 1, 9806, 0xbebc2826, F=0x0, S=1, 8
-1, 2816, 2816, 1536, 418, 0xb873cb60
+1, 2816, 2816, 1536, 418, 0xb83fc0b4
0, 2, 2, 1, 10453, 0x4a188450, F=0x0, S=1, 8
-1, 4352, 4352, 1536, 418, 0x1366c008
+1, 4352, 4352, 1536, 418, 0xcafec9ce
0, 3, 3, 1, 10248, 0x4c831c08, F=0x0, S=1, 8
-1, 5888, 5888, 1536, 418, 0xeb24c8da
+1, 5888, 5888, 1536, 418, 0xddd5cd09
0, 4, 4, 1, 11680, 0x5508c44d, F=0x0, S=1, 8
-1, 7424, 7424, 1536, 418, 0xc75ac55e
+1, 7424, 7424, 1536, 418, 0x9b91c4fa
0, 5, 5, 1, 11046, 0x096ca433, F=0x0, S=1, 8
-1, 8960, 8960, 1536, 418, 0xe336d28d
-1, 10496, 10496, 1536, 418, 0xd0acc452
+1, 8960, 8960, 1536, 418, 0x0d8dd33f
+1, 10496, 10496, 1536, 418, 0xdd2cc7df
0, 6, 6, 1, 9888, 0x440a5b45, F=0x0, S=1, 8
-1, 12032, 12032, 1536, 418, 0xae88c75f
+1, 12032, 12032, 1536, 418, 0xc664c304
0, 7, 7, 1, 10165, 0x116d4909, F=0x0, S=1, 8
-1, 13568, 13568, 1536, 418, 0xa200b8f0
+1, 13568, 13568, 1536, 418, 0xccdfbbb5
0, 8, 8, 1, 11704, 0xb334a24c, F=0x0, S=1, 8
-1, 15104, 15104, 1536, 418, 0x009dccf6
+1, 15104, 15104, 1536, 418, 0x5f20d220
0, 9, 9, 1, 11059, 0x49aa6515, F=0x0, S=1, 8
-1, 16640, 16640, 1536, 418, 0x585ec129
+1, 16640, 16640, 1536, 418, 0xa519c337
0, 10, 10, 1, 8764, 0x8214fab0, F=0x0, S=1, 8
-1, 18176, 18176, 1536, 418, 0xda1acf75
+1, 18176, 18176, 1536, 418, 0x74bac430
0, 11, 11, 1, 9328, 0x92987740, F=0x0, S=1, 8
-1, 19712, 19712, 1536, 418, 0xd326d279
+1, 19712, 19712, 1536, 418, 0xa8a4cad7
0, 12, 12, 1, 27955, 0xe25edb6c, S=1, 8
-1, 21248, 21248, 1536, 418, 0x1b54bf76
-1, 22784, 22784, 1536, 418, 0xdb39cbd1
+1, 21248, 21248, 1536, 418, 0xed8dbf8d
+1, 22784, 22784, 1536, 418, 0xaeedc86b
0, 13, 13, 1, 11181, 0x3cf56687, F=0x0, S=1, 8
-1, 24320, 24320, 1536, 418, 0x6813cefa
+1, 24320, 24320, 1536, 418, 0x4ac1c0d3
0, 14, 14, 1, 12002, 0x87942530, F=0x0, S=1, 8
-1, 25856, 25856, 1536, 418, 0xb402d2ec
+1, 25856, 25856, 1536, 418, 0x6d56c542
0, 15, 15, 1, 10122, 0xbb10e8d9, F=0x0, S=1, 8
-1, 27392, 27392, 1536, 418, 0x80c4c8d2
+1, 27392, 27392, 1536, 418, 0x0b77cdf0
0, 16, 16, 1, 9715, 0xa4a1325c, F=0x0, S=1, 8
-1, 28928, 28928, 1536, 418, 0xaeaac123
+1, 28928, 28928, 1536, 418, 0xcfccbc46
0, 17, 17, 1, 11222, 0x15118a48, F=0x0, S=1, 8
-1, 30464, 30464, 1536, 418, 0xe2c9c038
+1, 30464, 30464, 1536, 418, 0x68e5c6ae
0, 18, 18, 1, 11384, 0xd4304391, F=0x0, S=1, 8
-1, 32000, 32000, 1536, 418, 0x3f37c65b
+1, 32000, 32000, 1536, 418, 0x06f5c0fc
0, 19, 19, 1, 9141, 0xabd1eb90, F=0x0, S=1, 8
-1, 33536, 33536, 1536, 418, 0xf9a2cf98
-1, 35072, 35072, 1536, 418, 0xc951cbb5
+1, 33536, 33536, 1536, 418, 0x1a43d7ac
+1, 35072, 35072, 1536, 418, 0xbedec7cc
0, 20, 20, 1, 10049, 0x5b388bc2, F=0x0, S=1, 8
-1, 36608, 36608, 1536, 418, 0x4e92be94
+1, 36608, 36608, 1536, 418, 0x62c1bf2a
0, 21, 21, 1, 9049, 0x214505c3, F=0x0, S=1, 8
-1, 38144, 38144, 1536, 418, 0xa9d8c8d0
+1, 38144, 38144, 1536, 418, 0x634cbc97
0, 22, 22, 1, 9101, 0xdba6e5ba, F=0x0, S=1, 8
-1, 39680, 39680, 1536, 418, 0xe4c8bc20
+1, 39680, 39680, 1536, 418, 0x2445c378
0, 23, 23, 1, 10351, 0x0aea5644, F=0x0, S=1, 8
-1, 41216, 41216, 1536, 418, 0x2ccac571
+1, 41216, 41216, 1536, 418, 0xf394ca3d
0, 24, 24, 1, 27864, 0xd0287877, S=1, 8
-1, 42752, 42752, 1536, 418, 0xd2a0cbff
+1, 42752, 42752, 1536, 418, 0x4df6cca0
0, 25, 25, 1, 9026, 0x01ec7d47, F=0x0, S=1, 8
1, 44288, 44288, 1536, 418, 0xffadb489
1, 45824, 45824, 1536, 418, 0x1246cae7
diff --git a/tests/ref/fate/swr-async-firstpts b/tests/ref/fate/swr-async-firstpts
index 3f6b290bab..37304293d5 100644
--- a/tests/ref/fate/swr-async-firstpts
+++ b/tests/ref/fate/swr-async-firstpts
@@ -3,22 +3,22 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 1000
#channel_layout_name 0: mono
-0, 0, 0, 132, 264, 0xc2981f45
-0, 132, 132, 68, 136, 0xe78e468d
-0, 200, 200, 100, 200, 0xd55c67d0
-0, 300, 300, 100, 200, 0xd55c67d0
-0, 400, 400, 100, 200, 0xd55c67d0
-0, 500, 500, 93, 186, 0x85ca5db4
-0, 593, 593, 110, 220, 0xa2655d0b
-0, 703, 703, 108, 216, 0x95cb6f01
-0, 811, 811, 108, 216, 0xf35668b8
+0, 0, 0, 132, 264, 0xa7b31d47
+0, 132, 132, 68, 136, 0xbea94291
+0, 200, 200, 100, 200, 0xf5045fd8
+0, 300, 300, 100, 200, 0xf5045fd8
+0, 400, 400, 100, 200, 0xf5045fd8
+0, 500, 500, 93, 186, 0x87605db8
+0, 593, 593, 110, 220, 0xa3cb5d0c
+0, 703, 703, 108, 216, 0x98a96f08
+0, 811, 811, 108, 216, 0xabc167bc
0, 919, 919, 149, 298, 0xc273245f
-0, 1068, 1068, 136, 272, 0xedeb6e0a
-0, 1204, 1204, 98, 196, 0xea18668e
-0, 1302, 1302, 98, 196, 0x412861e7
-0, 1400, 1400, 98, 196, 0x7ec361b2
-0, 1498, 1498, 110, 220, 0xf3ae6a6a
-0, 1608, 1608, 108, 216, 0xab2f6c93
-0, 1716, 1716, 107, 214, 0x50de6eb9
-0, 1823, 1823, 106, 212, 0x67b8656d
+0, 1068, 1068, 136, 272, 0xefcf6e0f
+0, 1204, 1204, 98, 196, 0xebbc668f
+0, 1302, 1302, 98, 196, 0x42d461ea
+0, 1400, 1400, 98, 196, 0x802961b5
+0, 1498, 1498, 110, 220, 0xf57a6a71
+0, 1608, 1608, 108, 216, 0xacb36c97
+0, 1716, 1716, 107, 214, 0x52586ebf
+0, 1823, 1823, 106, 212, 0x696c6571
0, 1929, 1929, 18, 36, 0x2b7911c6
--
2.43.0
More information about the ffmpeg-devel
mailing list