bl_mcu_sdk/examples/dsp/SupportFunctions_part1/array.h

18 lines
No EOL
3.2 KiB
C

// Array for SupportFunctions part1
#define ARRAY_SIZE 100
//float32_t
float32_t pSrc_f32[ARRAY_SIZE] = {20.39555272,69.43808947,138.9623858,23.57269888,111.5766755,99.21706672,198.3668436,83.40872903,234.2156252,203.2140441,242.7198492,157.0662297,93.7683404,42.90922006,127.0980773,250.0454402,190.0614437,42.82248933,110.2323227,193.3968141,140.0188746,81.43157606,195.3348183,118.7319612,236.7608807,117.9225219,128.39934,69.81043159,229.7454592,137.8044226,30.86866847,39.32231734,7.617649884,76.52100068,161.1355615,182.3718526,96.70066118,175.8406297,140.9852626,87.53840225,143.0505089,203.1299175,204.6099717,217.1714687,231.7938132,9.521066869,58.69767709,54.95233612,22.80817162,107.2485878,56.5443697,136.7085334,10.9362835,26.95924602,53.83168607,93.34431341,190.9785771,78.89296021,3.625528806,132.3334201,218.2421958,196.3453834,98.63455846,229.1104051,118.7256651,158.774126,115.0331893,59.8731672,147.6531161,108.6452233,148.1654485,15.43569885,32.62009978,241.9434,178.2646682,48.9345664,200.8207849,25.12652038,132.448625,143.3524922,208.341847,218.5387817,11.22744941,198.3567017,206.5296846,218.4644039,46.22294294,124.2749536,254.0652378,141.1116973,225.4114845,146.6257091,4.672279142,91.83285837,81.21283754,39.11067216,104.5063162,111.5837379,220.5485356,53.17381258};
float32_t pDst_f32[ARRAY_SIZE];
float32_t pDst_f32_ref[ARRAY_SIZE];
//q31_t
q31_t pSrc_q31[ARRAY_SIZE] = {139339,-144438,24052,-53314,99246,30847,107399,-126254,-49836,45525,108669,-66159,-56061,22548,-67664,-39257,26492,18548,-79833,-8229,-135464,142775,-97422,25412,-141575,-122474,-32285,122746,-16435,-117693,144453,103087,123678,-23187,-121853,-106604,65172,85808,92942,109998,108180,-123204,-123578,-104258,143940,96853,-117103,90774,-37162,105727,60763,-92541,-100354,113724,-12346,-140402,107840,-128688,5241,131533,73574,-40476,-39738,73799,34792,43772,64468,-45714,-131539,-94620,-101695,102779,-53682,145207,128016,77555,-18589,82125,-9758,59287,-41416,117678,104021,23335,95501,130562,-112378,-142917,-37372,-141906,-33184,78343,-9363,18373,46357,-122491,-43281,-49528,44929,-12610};
q31_t pDst_q31[ARRAY_SIZE];
q31_t pDst_q31_ref[ARRAY_SIZE];
//q15_t
q15_t pSrc_q15[ARRAY_SIZE] = {-7253,-6429,-12831,3674,9310,-445,-1954,-306,1275,-13870,-1649,2483,-14937,-7182,11376,9766,-9842,2987,11120,-7545,6014,7783,10442,-10339,1790,14409,5814,-6931,14253,2608,-2249,3399,-4085,-6732,12018,-13461,-4428,11435,1244,13573,10889,-8873,4072,-7562,5838,-10672,-1848,-2287,1548,-6030,11200,-2591,-13034,-4952,5370,-4927,10194,-4160,950,7510,-4723,-8251,-562,-9482,-3501,-14200,-7679,9840,7918,-9077,-11926,-12047,12618,9198,-9707,-9700,-14208,-58,5754,11468,7997,-4256,-11839,12175,-9462,6453,5467,-9232,7534,-2237,6082,11215,1131,12930,12112,3475,-5859,3247,11553,-10560};
q15_t pDst_q15[ARRAY_SIZE];
q15_t pDst_q15_ref[ARRAY_SIZE];
//q7_t
q7_t pSrc_q7[ARRAY_SIZE] = {-63,12,49,-23,71,-89,-59,-37,95,79,85,30,-53,36,19,-100,-16,-80,-31,-82,74,72,-107,33,-97,-93,-18,-36,69,27,94,10,-99,-44,82,-104,-45,64,21,87,-89,32,93,0,99,-62,-10,46,34,75,-51,79,-23,47,108,-22,75,-80,-106,-26,-25,-8,78,-5,-113,104,-47,-42,-101,87,-50,-110,54,2,-82,52,-31,-36,76,50,49,13,-66,30,75,-17,-47,-98,-72,-92,71,-15,-110,100,-60,92,-39,111,5,14};
q7_t pDst_q7[ARRAY_SIZE];
q7_t pDst_q7_ref[ARRAY_SIZE];