#define NX 300 #define NBIQ 3 DATA x[NX] ={ 2829, 26718, 15368, -16120, -27263, 1758, 25233, 11236, -11726, -26601, 4614, 23475, 16477, -18517, -27236, 2248, 26370, 15446, -16085, -30742, 2334, 27230, 19055, -13530, -22059, -1352, 22088, 19007, -13718, -17064, -1356, 30224, 19508, -18345, -25769, -2951, 23703, 13954, -14232, -22335, -331, 25566, 17551, -14683, -26909, 4329, 23042, 15992, -11329, -26319, -499, 29574, 14351, -17521, -26485, -990, 25087, 16931, -18412, -26600, 254, 22595, 19838, -13656, -29498, -4347, 24802, 10712, -14275, -28318, -1417, 26289, 18088, -10121, -27341, 979, 26495, 15681, -12587, -19107, 1661, 28414, 10621, -15319, -24635, 1168, 28243, 15475, -19921, -25008, -907, 23290, 15258, -15503, -24647, -1550, 25855, 16813, -11960, -26796, 1746, 25023, 16062, -19048, -26921, 4066, 24792, 11880, -20738, -29192, -2246, 22567, 16179, -15760, -24260, -1377, 22358, 16588, -17342, -22374, 1467, 27282, 14857, -12423, -30588, -1860, 32188, 8965, -13162, -29344, -2189, 26129, 11277, -14936, -24647, -4400, 23628, 19613, -17154, -29307, 4409, 25624, 15417, -19564, -22284, 3439, 25821, 15038, -12846, -25159, 1028, 25057, 14884, -15656, -21409, 2735, 28434, 16385, -13663, -20294, -3047, 28182, 17189, -12709, -24390, -958, 28208, 18021, -16999, -23653, -1746, 24137, 18835, -16551, -22415, -430, 25787, 17057, -17874, -30014, 4400, 27699, 18400, -11649, -28727, 3363, 21342, 17225, -18172, -21666, -1790, 26297, 11152, -9290, -22482, 25, 25888, 11011, -20332, -25294, 2381, 29321, 15365, -13107, -25220, 1030, 22254, 16470, -17774, -25898, 2583, 22215, 19582, -23394, -31564, -2300, 22879, 16118, -11677, -32768, 3254, 23248, 16731, -20871, -20965, -5699, 26150, 12593, -14692, -25969, -2645, 25788, 20341, -10629, -27987, -1978, 29956, 18435, -14879, -19373, 145, 30828, 21889, -12200, -26222, 1829, 29184, 13864, -13613, -24123, 1389, 24265, 18351, -15753, -17270, -2034, 25956, 16058, -13317, -25087, -296, 29765, 18341, -18700, -25321, 5396, 24895, 14067, -18615, -22496, -1406, 26913, 18748, -20845, -22216, 2228, 25766, 17828, -11006, -23752, 1763, 22697, 15140, -15266, -28267, -2834, 25538, 15706, -16045, -22537, -2503, 26809, 14924, -15680, -21292, 2989, 27092, 14785, -15402, -23350, }; #pragma DATA_SECTION (h,".coeffs") DATA h[5*NBIQ] ={ /* C54x: a1/2 a2 b2 b0 b1 ... */ -19644/2, /*1st biquad */ 30677, -32768, 32767, 0, -16158/2, /*2nd biquad */ 31829, 32767, 32767, -9027, -23707/2, /*3rd biquad */ 31866, 32767, 32767, -30370, }; #pragma DATA_SECTION (dbuffer,".dbuffer") DATA dbuffer[2*NBIQ]; DATA *dp = dbuffer; DATA r[NX];