aboutsummaryrefslogtreecommitdiffstats
path: root/tests/filtergraphs
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2024-11-10 00:45:31 +0100
committerMarton Balint <cus@passwd.hu>2024-11-29 21:15:22 +0100
commit6189cb47fc065a7a20e45674a4755dde4afc1f4a (patch)
tree092be4021d518887b1de50d0ee522251adc8860c /tests/filtergraphs
parent59057aa807c4ee14d158ce6b55ecfa69f3541aea (diff)
downloadffmpeg-6189cb47fc065a7a20e45674a4755dde4afc1f4a.tar.gz
fate: adjust frequencies of the sine filter
The filter currently uses inaccurate frequencies, this is in preparation for fixing that, by using numbers that will map to the equivalent value in the future code. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'tests/filtergraphs')
-rw-r--r--tests/filtergraphs/concat6
-rw-r--r--tests/filtergraphs/concat-vfr6
-rw-r--r--tests/filtergraphs/crazychannels132
3 files changed, 72 insertions, 72 deletions
diff --git a/tests/filtergraphs/concat b/tests/filtergraphs/concat
index 26bca14c3a..51051817b6 100644
--- a/tests/filtergraphs/concat
+++ b/tests/filtergraphs/concat
@@ -1,8 +1,8 @@
testsrc=r=5:n=1:d=2 [v1];
-sine=440:b=2:d=1 [a1];
+sine=439.999995776452124118805:b=2.00000002333598070336507:d=1 [a1];
testsrc=r=5:n=1:d=1 [v2];
-sine=622:b=2:d=2 [a2];
+sine=621.999997249804437160492:b=2.00000001650776759731798:d=2 [a2];
testsrc=r=5:n=1:d=1 [v3];
-sine=880:b=2:d=1 [a3];
+sine=880.00000182073563337326:b=2:d=1 [a3];
[v1][a1][v2][a2][v3][a3] concat=v=1:a=1:n=3
diff --git a/tests/filtergraphs/concat-vfr b/tests/filtergraphs/concat-vfr
index e15cb96845..74426c4314 100644
--- a/tests/filtergraphs/concat-vfr
+++ b/tests/filtergraphs/concat-vfr
@@ -1,8 +1,8 @@
testsrc=r=5:n=1:d=2 [v1];
-sine=440:b=2:d=1 [a1];
+sine=439.999995776452124118805:b=2.00000002333598070336507:d=1 [a1];
testsrc=r=15:n=1:d=1 [v2];
-sine=622:b=2:d=2 [a2];
+sine=621.999997249804437160492:b=2.00000001650776759731798:d=2 [a2];
testsrc=r=8:n=1:d=1 [v3];
-sine=880:b=2:d=1 [a3];
+sine=880.00000182073563337326:b=2:d=1 [a3];
[v1][a1][v2][a2][v3][a3] concat=v=1:a=1:n=3
diff --git a/tests/filtergraphs/crazychannels b/tests/filtergraphs/crazychannels
index e48da7267c..e025a653e6 100644
--- a/tests/filtergraphs/crazychannels
+++ b/tests/filtergraphs/crazychannels
@@ -1,73 +1,73 @@
-sine=frequency=400 * 0x0 [s0];
-sine=frequency=400 * 0x1 [s1];
-sine=frequency=400 * 0x2 [s2];
-sine=frequency=400 * 0x3 [s3];
-sine=frequency=400 * 0x4 [s4];
-sine=frequency=400 * 0x5 [s5];
-sine=frequency=400 * 0x6 [s6];
-sine=frequency=400 * 0x7 [s7];
-sine=frequency=400 * 0x8 [s8];
-sine=frequency=400 * 0x9 [s9];
-sine=frequency=400 * 0xa [sa];
-sine=frequency=400 * 0xb [sb];
-sine=frequency=400 * 0xc [sc];
-sine=frequency=400 * 0xd [sd];
-sine=frequency=400 * 0xe [se];
-sine=frequency=400 * 0xf [sf];
+sine=frequency=0.00000000000000000000[s0];
+sine=frequency=399.999995226971805095[s1];
+sine=frequency=800.000000721774995327[s2];
+sine=frequency=1199.99999594874680042[s3];
+sine=frequency=1600.00000144354999065[s4];
+sine=frequency=1999.99999667052179574[s5];
+sine=frequency=2400.00000216532498598[s6];
+sine=frequency=2799.99999739229679107[s7];
+sine=frequency=3200.00000288709998130[s8];
+sine=frequency=3599.99999811407178640[s9];
+sine=frequency=4000.00000360887497663[sa];
+sine=frequency=4399.99999883584678173[sb];
+sine=frequency=4800.00000433064997196[sc];
+sine=frequency=5199.99999955762177705[sd];
+sine=frequency=5600.00000505242496728[se];
+sine=frequency=6000.00000027939677238[sf];
+sine=frequency=6399.99999550636857748[s10];
-sine=frequency=400 * 0x10 [s10];
-sine=frequency=400 * 0x11 [s11];
-sine=frequency=400 * 0x12 [s12];
-sine=frequency=400 * 0x13 [s13];
-sine=frequency=400 * 0x14 [s14];
-sine=frequency=400 * 0x15 [s15];
-sine=frequency=400 * 0x16 [s16];
-sine=frequency=400 * 0x17 [s17];
-sine=frequency=400 * 0x18 [s18];
-sine=frequency=400 * 0x19 [s19];
-sine=frequency=400 * 0x1a [s1a];
-sine=frequency=400 * 0x1b [s1b];
-sine=frequency=400 * 0x1c [s1c];
-sine=frequency=400 * 0x1d [s1d];
-sine=frequency=400 * 0x1e [s1e];
-sine=frequency=400 * 0x1f [s1f];
+sine=frequency=6800.00000100117176771[s11];
+sine=frequency=7199.99999622814357280[s12];
+sine=frequency=7600.00000172294676303[s13];
+sine=frequency=7999.99999694991856813[s14];
+sine=frequency=8400.00000244472175836[s15];
+sine=frequency=8799.99999767169356346[s16];
+sine=frequency=9200.00000316649675369[s17];
+sine=frequency=9599.99999839346855878[s18];
+sine=frequency=10000.0000038882717490[s19];
+sine=frequency=10399.9999991152435541[s1a];
+sine=frequency=10800.0000046100467443[s1b];
+sine=frequency=11199.9999998370185494[s1c];
+sine=frequency=11599.9999950639903545[s1d];
+sine=frequency=12000.0000005587935447[s1e];
+sine=frequency=12399.9999957857653498[s1f];
+sine=frequency=12800.0000012805685400[s20];
-sine=frequency=400 * 0x20 [s20];
-sine=frequency=400 * 0x21 [s21];
-sine=frequency=400 * 0x22 [s22];
-sine=frequency=400 * 0x23 [s23];
-sine=frequency=400 * 0x24 [s24];
-sine=frequency=400 * 0x25 [s25];
-sine=frequency=400 * 0x26 [s26];
-sine=frequency=400 * 0x27 [s27];
-sine=frequency=400 * 0x28 [s28];
-sine=frequency=400 * 0x29 [s29];
-sine=frequency=400 * 0x2a [s2a];
-sine=frequency=400 * 0x2b [s2b];
-sine=frequency=400 * 0x2c [s2c];
-sine=frequency=400 * 0x2d [s2d];
-sine=frequency=400 * 0x2e [s2e];
-sine=frequency=400 * 0x2f [s2f];
+sine=frequency=13199.9999965075403451[s21];
+sine=frequency=13600.0000020023435354[s22];
+sine=frequency=13999.9999972293153405[s23];
+sine=frequency=14400.0000027241185307[s24];
+sine=frequency=14799.9999979510903358[s25];
+sine=frequency=15200.0000034458935260[s26];
+sine=frequency=15599.9999986728653311[s27];
+sine=frequency=16000.0000041676685214[s28];
+sine=frequency=16399.9999993946403264[s29];
+sine=frequency=16800.0000048894435167[s2a];
+sine=frequency=17200.0000001164153218[s2b];
+sine=frequency=17599.9999953433871269[s2c];
+sine=frequency=18000.0000008381903171[s2d];
+sine=frequency=18399.9999960651621222[s2e];
+sine=frequency=18800.0000015599653124[s2f];
+sine=frequency=19199.9999967869371175[s30];
-sine=frequency=400 * 0x30 [s30];
-sine=frequency=400 * 0x31 [s31];
-sine=frequency=400 * 0x32 [s32];
-sine=frequency=400 * 0x33 [s33];
-sine=frequency=400 * 0x34 [s34];
-sine=frequency=400 * 0x35 [s35];
-sine=frequency=400 * 0x36 [s36];
-sine=frequency=400 * 0x37 [s37];
-sine=frequency=400 * 0x38 [s38];
-sine=frequency=400 * 0x39 [s39];
-sine=frequency=400 * 0x3a [s3a];
-sine=frequency=400 * 0x3b [s3b];
-sine=frequency=400 * 0x3c [s3c];
-sine=frequency=400 * 0x3d [s3d];
-sine=frequency=400 * 0x3e [s3e];
-sine=frequency=400 * 0x3f [s3f];
+sine=frequency=19600.0000022817403078[s31];
+sine=frequency=19999.9999975087121129[s32];
+sine=frequency=20400.0000030035153031[s33];
+sine=frequency=20799.9999982304871082[s34];
+sine=frequency=21200.0000037252902984[s35];
+sine=frequency=21599.9999989522621035[s36];
+sine=frequency=22000.0000044470652937[s37];
+sine=frequency=22399.9999996740370988[s38];
+sine=frequency=22799.9999949010089039[s39];
+sine=frequency=23200.0000003958120942[s3a];
+sine=frequency=23599.9999956227838993[s3b];
+sine=frequency=24000.0000011175870895[s3c];
+sine=frequency=24399.9999963445588946[s3d];
+sine=frequency=24800.0000018393620848[s3e];
+sine=frequency=25199.9999970663338899[s3f];
-sine=frequency=400 * 0x40 [s40];
-sine=frequency=400 * 0x41 [s41];
+sine=frequency=25600.0000025611370801[s40];
+sine=frequency=25999.9999977881088852[s41];
[s0] [s1] [s2] [s3] [s4] [s5] [s6] [s7] [s8] [s9] [sa] [sb] [sc] [sd] [se] [sf]
[s10][s11][s12][s13][s14][s15][s16][s17] [s18][s19][s1a][s1b][s1c][s1d][s1e][s1f]