Lines Matching full:to

24 *     may be used to endorse or promote products derived from this
29 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
33 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
84 * The library ships with a number of examples which demonstrate how to use the library functions.
93 …* The library installer contains project files to re build libraries on MDK Tool chain in the <cod…
116 …* Define macro ARM_MATH_BIG_ENDIAN to build the library for big endian targets. By default library…
147 * This set of functions provides a fast approximation to sine, cosine, and square root.
148 * As compared to most of the other functions in the CMSIS math library, the fast math functions
160 * to the number of complex values; the array contains twice this number of
181 * float32_t *pData; // points to the data of the matrix.
186 * The structure specifies the size of the matrix and then points to
198 * Refer to the function <code>arm_mat_init_f32()</code>, <code>arm_mat_init_q31()</code>
204 * To place the instance structure in a const data
212 * specifies the number of columns, and <code>pData</code> points to the
316 /* -1 to +1 is divided into 360 values so total spacing is (2/360) */
378 * @brief definition to read/write two 16 bit values.
402 * @brief definition to pack two 16 bit values.
413 * @brief definition to pack four 8 bit values.
432 * @brief Clips Q63 to Q31 values.
442 * @brief Clips Q63 to Q15 values.
452 * @brief Clips Q31 to Q7 values.
462 * @brief Clips Q31 to Q15 values.
513 * @brief Function to Calculates 1/in (reciprocal) value of Q31 Data type.
535 /* Convert input sample to 1.31 format */ in arm_recip_q31()
565 * @brief Function to Calculates 1/in (reciprocal) value of Q15 Data type.
586 /* Convert input sample to 1.15 format */ in arm_recip_q15()
1048 …q7_t *pState; /**< points to the state variable array. The array is of length numTaps+b…
1049 q7_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps.*/
1058 …q15_t *pState; /**< points to the state variable array. The array is of length numTaps+…
1059 … q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps.*/
1068 …q31_t *pState; /**< points to the state variable array. The array is of length numTaps+…
1069 … q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
1078 …float32_t *pState; /**< points to the state variable array. The array is of length numTaps+bloc…
1079 float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
1085 * @param[in] *S points to an instance of the Q7 FIR filter structure.
1086 * @param[in] *pSrc points to the block of input data.
1087 * @param[out] *pDst points to the block of output data.
1088 * @param[in] blockSize number of samples to process.
1100 * @param[in,out] *S points to an instance of the Q7 FIR structure.
1102 * @param[in] *pCoeffs points to the filter coefficients.
1103 * @param[in] *pState points to the state buffer.
1117 * @param[in] *S points to an instance of the Q15 FIR structure.
1118 * @param[in] *pSrc points to the block of input data.
1119 * @param[out] *pDst points to the block of output data.
1120 * @param[in] blockSize number of samples to process.
1131 * @param[in] *S points to an instance of the Q15 FIR filter structure.
1132 * @param[in] *pSrc points to the block of input data.
1133 * @param[out] *pDst points to the block of output data.
1134 * @param[in] blockSize number of samples to process.
1145 * @param[in,out] *S points to an instance of the Q15 FIR filter structure.
1146 … numTaps Number of filter coefficients in the filter. Must be even and greater than or equal to 4.
1147 * @param[in] *pCoeffs points to the filter coefficients.
1148 * @param[in] *pState points to the state buffer.
1163 * @param[in] *S points to an instance of the Q31 FIR filter structure.
1164 * @param[in] *pSrc points to the block of input data.
1165 * @param[out] *pDst points to the block of output data.
1166 * @param[in] blockSize number of samples to process.
1177 * @param[in] *S points to an instance of the Q31 FIR structure.
1178 * @param[in] *pSrc points to the block of input data.
1179 * @param[out] *pDst points to the block of output data.
1180 * @param[in] blockSize number of samples to process.
1191 * @param[in,out] *S points to an instance of the Q31 FIR structure.
1193 * @param[in] *pCoeffs points to the filter coefficients.
1194 * @param[in] *pState points to the state buffer.
1207 * @param[in] *S points to an instance of the floating-point FIR structure.
1208 * @param[in] *pSrc points to the block of input data.
1209 * @param[out] *pDst points to the block of output data.
1210 * @param[in] blockSize number of samples to process.
1221 * @param[in,out] *S points to an instance of the floating-point FIR filter structure.
1223 * @param[in] *pCoeffs points to the filter coefficients.
1224 * @param[in] *pState points to the state buffer.
1242 …q15_t *pState; /**< Points to the array of state coefficients. The array is of length …
1243 …q15_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5*numS…
1244 int8_t postShift; /**< Additional shift, in bits, applied to each output sample. */
1255 …q31_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
1256 …q31_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5*numSt…
1257 uint8_t postShift; /**< Additional shift, in bits, applied to each output sample. */
1267 …float32_t *pState; /**< Points to the array of state coefficients. The array is of lengt…
1268 …float32_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5*nu…
1277 * @param[in] *S points to an instance of the Q15 Biquad cascade structure.
1278 * @param[in] *pSrc points to the block of input data.
1279 * @param[out] *pDst points to the block of output data.
1280 * @param[in] blockSize number of samples to process.
1292 * @param[in,out] *S points to an instance of the Q15 Biquad cascade structure.
1294 * @param[in] *pCoeffs points to the filter coefficients.
1295 * @param[in] *pState points to the state buffer.
1296 …* @param[in] postShift Shift to be applied to the output. Varies according to the coefficie…
1310 * @param[in] *S points to an instance of the Q15 Biquad cascade structure.
1311 * @param[in] *pSrc points to the block of input data.
1312 * @param[out] *pDst points to the block of output data.
1313 * @param[in] blockSize number of samples to process.
1326 * @param[in] *S points to an instance of the Q31 Biquad cascade structure.
1327 * @param[in] *pSrc points to the block of input data.
1328 * @param[out] *pDst points to the block of output data.
1329 * @param[in] blockSize number of samples to process.
1341 * @param[in] *S points to an instance of the Q31 Biquad cascade structure.
1342 * @param[in] *pSrc points to the block of input data.
1343 * @param[out] *pDst points to the block of output data.
1344 * @param[in] blockSize number of samples to process.
1356 * @param[in,out] *S points to an instance of the Q31 Biquad cascade structure.
1358 * @param[in] *pCoeffs points to the filter coefficients.
1359 * @param[in] *pState points to the state buffer.
1360 …* @param[in] postShift Shift to be applied to the output. Varies according to the coefficie…
1373 * @param[in] *S points to an instance of the floating-point Biquad cascade structure.
1374 * @param[in] *pSrc points to the block of input data.
1375 * @param[out] *pDst points to the block of output data.
1376 * @param[in] blockSize number of samples to process.
1388 …* @param[in,out] *S points to an instance of the floating-point Biquad cascade structure.
1390 * @param[in] *pCoeffs points to the filter coefficients.
1391 * @param[in] *pState points to the state buffer.
1410 float32_t *pData; /**< points to the data of the matrix. */
1421 q15_t *pData; /**< points to the data of the matrix. */
1433 q31_t *pData; /**< points to the data of the matrix. */
1441 * @param[in] *pSrcA points to the first input matrix structure
1442 * @param[in] *pSrcB points to the second input matrix structure
1443 * @param[out] *pDst points to output matrix structure
1455 * @param[in] *pSrcA points to the first input matrix structure
1456 * @param[in] *pSrcB points to the second input matrix structure
1457 * @param[out] *pDst points to output matrix structure
1469 * @param[in] *pSrcA points to the first input matrix structure
1470 * @param[in] *pSrcB points to the second input matrix structure
1471 * @param[out] *pDst points to output matrix structure
1484 * @param[in] *pSrc points to the input matrix
1485 * @param[out] *pDst points to the output matrix
1497 * @param[in] *pSrc points to the input matrix
1498 * @param[out] *pDst points to the output matrix
1509 * @param[in] *pSrc points to the input matrix
1510 * @param[out] *pDst points to the output matrix
1522 * @param[in] *pSrcA points to the first input matrix structure
1523 * @param[in] *pSrcB points to the second input matrix structure
1524 * @param[out] *pDst points to output matrix structure
1536 * @param[in] *pSrcA points to the first input matrix structure
1537 * @param[in] *pSrcB points to the second input matrix structure
1538 * @param[out] *pDst points to output matrix structure
1539 * @param[in] *pState points to the array for storing intermediate results
1552 * @param[in] *pSrcA points to the first input matrix structure
1553 * @param[in] *pSrcB points to the second input matrix structure
1554 * @param[out] *pDst points to output matrix structure
1555 * @param[in] *pState points to the array for storing intermediate results
1568 * @param[in] *pSrcA points to the first input matrix structure
1569 * @param[in] *pSrcB points to the second input matrix structure
1570 * @param[out] *pDst points to output matrix structure
1582 * @param[in] *pSrcA points to the first input matrix structure
1583 * @param[in] *pSrcB points to the second input matrix structure
1584 * @param[out] *pDst points to output matrix structure
1597 * @param[in] *pSrcA points to the first input matrix structure
1598 * @param[in] *pSrcB points to the second input matrix structure
1599 * @param[out] *pDst points to output matrix structure
1611 * @param[in] *pSrcA points to the first input matrix structure
1612 * @param[in] *pSrcB points to the second input matrix structure
1613 * @param[out] *pDst points to output matrix structure
1625 * @param[in] *pSrcA points to the first input matrix structure
1626 * @param[in] *pSrcB points to the second input matrix structure
1627 * @param[out] *pDst points to output matrix structure
1639 * @param[in] *pSrc points to the input matrix
1641 * @param[out] *pDst points to the output matrix
1653 * @param[in] *pSrc points to input matrix
1655 * @param[in] shift number of bits to shift the result by
1656 * @param[out] *pDst points to output matrix
1669 * @param[in] *pSrc points to input matrix
1671 * @param[in] shift number of bits to shift the result by
1672 * @param[out] *pDst points to output matrix structure
1686 * @param[in,out] *S points to an instance of the floating-point matrix structure.
1689 * @param[in] *pData points to the matrix data array.
1701 * @param[in,out] *S points to an instance of the floating-point matrix structure.
1704 * @param[in] *pData points to the matrix data array.
1716 * @param[in,out] *S points to an instance of the floating-point matrix structure.
1719 * @param[in] *pData points to the matrix data array.
1782 * @param[in,out] *S points to an instance of the PID structure.
1783 …* @param[in] resetStateFlag flag to reset the state. 0 = no change in state 1 = reset the sta…
1801 * @param[in,out] *S points to an instance of the Q15 PID structure.
1802 …* @param[in] resetStateFlag flag to reset the state. 0 = no change in state 1 = reset the sta…
1812 * @param[in,out] *S points to an instance of the Q31 PID Control structure
1821 * @param[in,out] *S points to an instance of the Q15 PID structure.
1822 * @param[in] resetStateFlag flag to reset the state. 0 = no change in state 1 = reset the state.
1831 * @param[in,out] *S points to an instance of the q15 PID Control structure
1846 float32_t *pYData; /**< pointer to the table of Y values */
1857 float32_t *pData; /**< points to the data table. */
1868 q31_t *pData; /**< points to the data table. */
1879 q15_t *pData; /**< points to the data table. */
1890 q7_t *pData; /**< points to the data table. */
1896 * @param[in] *pSrcA points to the first input vector
1897 * @param[in] *pSrcB points to the second input vector
1898 * @param[out] *pDst points to the output vector
1911 * @param[in] *pSrcA points to the first input vector
1912 * @param[in] *pSrcB points to the second input vector
1913 * @param[out] *pDst points to the output vector
1926 * @param[in] *pSrcA points to the first input vector
1927 * @param[in] *pSrcB points to the second input vector
1928 * @param[out] *pDst points to the output vector
1941 * @param[in] *pSrcA points to the first input vector
1942 * @param[in] *pSrcB points to the second input vector
1943 * @param[out] *pDst points to the output vector
1968 q15_t *pTwiddle; /**< points to the Sin twiddle factor table. */
1969 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
1995 q15_t *pTwiddle; /**< points to the twiddle factor table. */
1996 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
2020 q31_t *pTwiddle; /**< points to the Twiddle factor table. */
2021 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
2045 q31_t *pTwiddle; /**< points to the twiddle factor table. */
2046 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
2071 float32_t *pTwiddle; /**< points to the Twiddle factor table. */
2072 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
2099 float32_t *pTwiddle; /**< points to the Twiddle factor table. */
2100 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
2125 const float32_t *pTwiddle; /**< points to the Twiddle factor table. */
2126 const uint16_t *pBitRevTable; /**< points to the bit reversal table. */
2147 q15_t *pTwiddleAReal; /**< points to the real twiddle factor table. */
2148 q15_t *pTwiddleBReal; /**< points to the imag twiddle factor table. */
2149 arm_cfft_radix4_instance_q15 *pCfft; /**< points to the complex FFT instance. */
2175 q31_t *pTwiddleAReal; /**< points to the real twiddle factor table. */
2176 q31_t *pTwiddleBReal; /**< points to the imag twiddle factor table. */
2177 arm_cfft_radix4_instance_q31 *pCfft; /**< points to the complex FFT instance. */
2203 float32_t *pTwiddleAReal; /**< points to the real twiddle factor table. */
2204 float32_t *pTwiddleBReal; /**< points to the imag twiddle factor table. */
2205 arm_cfft_radix4_instance_f32 *pCfft; /**< points to the complex FFT instance. */
2249 float32_t *pTwiddle; /**< points to the twiddle factor table. */
2250 float32_t *pCosFactor; /**< points to the cosFactor table. */
2251 arm_rfft_instance_f32 *pRfft; /**< points to the real FFT instance. */
2252 arm_cfft_radix4_instance_f32 *pCfft; /**< points to the complex FFT instance. */
2257 * @param[in,out] *S points to an instance of floating-point DCT4/IDCT4 structure.
2258 * @param[in] *S_RFFT points to an instance of floating-point RFFT/RIFFT structure.
2259 * @param[in] *S_CFFT points to an instance of floating-point CFFT/CIFFT structure.
2276 …* @param[in] *S points to an instance of the floating-point DCT4/IDCT4 structure.
2277 * @param[in] *pState points to state buffer.
2278 * @param[in,out] *pInlineBuffer points to the in-place input and output buffer.
2296 q31_t *pTwiddle; /**< points to the twiddle factor table. */
2297 q31_t *pCosFactor; /**< points to the cosFactor table. */
2298 arm_rfft_instance_q31 *pRfft; /**< points to the real FFT instance. */
2299 arm_cfft_radix4_instance_q31 *pCfft; /**< points to the complex FFT instance. */
2304 * @param[in,out] *S points to an instance of Q31 DCT4/IDCT4 structure.
2305 * @param[in] *S_RFFT points to an instance of Q31 RFFT/RIFFT structure
2306 * @param[in] *S_CFFT points to an instance of Q31 CFFT/CIFFT structure
2323 * @param[in] *S points to an instance of the Q31 DCT4 structure.
2324 * @param[in] *pState points to state buffer.
2325 * @param[in,out] *pInlineBuffer points to the in-place input and output buffer.
2343 q15_t *pTwiddle; /**< points to the twiddle factor table. */
2344 q15_t *pCosFactor; /**< points to the cosFactor table. */
2345 arm_rfft_instance_q15 *pRfft; /**< points to the real FFT instance. */
2346 arm_cfft_radix4_instance_q15 *pCfft; /**< points to the complex FFT instance. */
2351 * @param[in,out] *S points to an instance of Q15 DCT4/IDCT4 structure.
2352 * @param[in] *S_RFFT points to an instance of Q15 RFFT/RIFFT structure.
2353 * @param[in] *S_CFFT points to an instance of Q15 CFFT/CIFFT structure.
2370 * @param[in] *S points to an instance of the Q15 DCT4 structure.
2371 * @param[in] *pState points to state buffer.
2372 * @param[in,out] *pInlineBuffer points to the in-place input and output buffer.
2383 * @param[in] *pSrcA points to the first input vector
2384 * @param[in] *pSrcB points to the second input vector
2385 * @param[out] *pDst points to the output vector
2398 * @param[in] *pSrcA points to the first input vector
2399 * @param[in] *pSrcB points to the second input vector
2400 * @param[out] *pDst points to the output vector
2413 * @param[in] *pSrcA points to the first input vector
2414 * @param[in] *pSrcB points to the second input vector
2415 * @param[out] *pDst points to the output vector
2428 * @param[in] *pSrcA points to the first input vector
2429 * @param[in] *pSrcB points to the second input vector
2430 * @param[out] *pDst points to the output vector
2443 * @param[in] *pSrcA points to the first input vector
2444 * @param[in] *pSrcB points to the second input vector
2445 * @param[out] *pDst points to the output vector
2458 * @param[in] *pSrcA points to the first input vector
2459 * @param[in] *pSrcB points to the second input vector
2460 * @param[out] *pDst points to the output vector
2473 * @param[in] *pSrcA points to the first input vector
2474 * @param[in] *pSrcB points to the second input vector
2475 * @param[out] *pDst points to the output vector
2488 * @param[in] *pSrcA points to the first input vector
2489 * @param[in] *pSrcB points to the second input vector
2490 * @param[out] *pDst points to the output vector
2503 * @param[in] *pSrc points to the input vector
2504 * @param[in] scale scale factor to be applied
2505 * @param[out] *pDst points to the output vector
2518 * @param[in] *pSrc points to the input vector
2520 * @param[in] shift number of bits to shift the result by
2521 * @param[out] *pDst points to the output vector
2535 * @param[in] *pSrc points to the input vector
2537 * @param[in] shift number of bits to shift the result by
2538 * @param[out] *pDst points to the output vector
2552 * @param[in] *pSrc points to the input vector
2554 * @param[in] shift number of bits to shift the result by
2555 * @param[out] *pDst points to the output vector
2569 * @param[in] *pSrc points to the input buffer
2570 * @param[out] *pDst points to the output buffer
2582 * @param[in] *pSrc points to the input buffer
2583 * @param[out] *pDst points to the output buffer
2595 * @param[in] *pSrc points to the input buffer
2596 * @param[out] *pDst points to the output buffer
2608 * @param[in] *pSrc points to the input buffer
2609 * @param[out] *pDst points to the output buffer
2621 * @param[in] *pSrcA points to the first input vector
2622 * @param[in] *pSrcB points to the second input vector
2636 * @param[in] *pSrcA points to the first input vector
2637 * @param[in] *pSrcB points to the second input vector
2651 * @param[in] *pSrcA points to the first input vector
2652 * @param[in] *pSrcB points to the second input vector
2666 * @param[in] *pSrcA points to the first input vector
2667 * @param[in] *pSrcB points to the second input vector
2681 * @param[in] *pSrc points to the input vector
2682 …* @param[in] shiftBits number of bits to shift. A positive value shifts left; a negative value s…
2683 * @param[out] *pDst points to the output vector
2696 * @param[in] *pSrc points to the input vector
2697 …* @param[in] shiftBits number of bits to shift. A positive value shifts left; a negative value s…
2698 * @param[out] *pDst points to the output vector
2711 * @param[in] *pSrc points to the input vector
2712 …* @param[in] shiftBits number of bits to shift. A positive value shifts left; a negative value s…
2713 * @param[out] *pDst points to the output vector
2725 * @brief Adds a constant offset to a floating-point vector.
2726 * @param[in] *pSrc points to the input vector
2727 * @param[in] offset is the offset to be added
2728 * @param[out] *pDst points to the output vector
2740 * @brief Adds a constant offset to a Q7 vector.
2741 * @param[in] *pSrc points to the input vector
2742 * @param[in] offset is the offset to be added
2743 * @param[out] *pDst points to the output vector
2755 * @brief Adds a constant offset to a Q15 vector.
2756 * @param[in] *pSrc points to the input vector
2757 * @param[in] offset is the offset to be added
2758 * @param[out] *pDst points to the output vector
2770 * @brief Adds a constant offset to a Q31 vector.
2771 * @param[in] *pSrc points to the input vector
2772 * @param[in] offset is the offset to be added
2773 * @param[out] *pDst points to the output vector
2786 * @param[in] *pSrc points to the input vector
2787 * @param[out] *pDst points to the output vector
2799 * @param[in] *pSrc points to the input vector
2800 * @param[out] *pDst points to the output vector
2812 * @param[in] *pSrc points to the input vector
2813 * @param[out] *pDst points to the output vector
2825 * @param[in] *pSrc points to the input vector
2826 * @param[out] *pDst points to the output vector
2839 * @param[in] blockSize number of samples to process
2851 * @param[in] blockSize number of samples to process
2863 * @param[in] blockSize number of samples to process
2875 * @param[in] blockSize number of samples to process
2884 * @param[in] value input value to be filled
2886 * @param[in] blockSize number of samples to process
2896 * @param[in] value input value to be filled
2898 * @param[in] blockSize number of samples to process
2908 * @param[in] value input value to be filled
2910 * @param[in] blockSize number of samples to process
2920 * @param[in] value input value to be filled
2922 * @param[in] blockSize number of samples to process
2932 * @param[in] *pSrcA points to the first input sequence.
2934 * @param[in] *pSrcB points to the second input sequence.
2936 …* @param[out] *pDst points to the location where the output result is written. Length srcALen+src…
2950 * @param[in] *pSrcA points to the first input sequence.
2952 * @param[in] *pSrcB points to the second input sequence.
2954 * @param[out] *pDst points to the block of output data Length srcALen+srcBLen-1.
2955 …* @param[in] *pScratch1 points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, s…
2956 * @param[in] *pScratch2 points to scratch buffer of size min(srcALen, srcBLen).
2973 * @param[in] *pSrcA points to the first input sequence.
2975 * @param[in] *pSrcB points to the second input sequence.
2977 …* @param[out] *pDst points to the location where the output result is written. Length srcALen+src…
2990 * @param[in] *pSrcA points to the first input sequence.
2992 * @param[in] *pSrcB points to the second input sequence.
2994 * @param[out] *pDst points to the block of output data Length srcALen+srcBLen-1.
3007 * @param[in] *pSrcA points to the first input sequence.
3009 * @param[in] *pSrcB points to the second input sequence.
3011 * @param[out] *pDst points to the block of output data Length srcALen+srcBLen-1.
3012 …* @param[in] *pScratch1 points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, s…
3013 * @param[in] *pScratch2 points to scratch buffer of size min(srcALen, srcBLen).
3030 * @param[in] *pSrcA points to the first input sequence.
3032 * @param[in] *pSrcB points to the second input sequence.
3034 * @param[out] *pDst points to the block of output data Length srcALen+srcBLen-1.
3047 * @param[in] *pSrcA points to the first input sequence.
3049 * @param[in] *pSrcB points to the second input sequence.
3051 * @param[out] *pDst points to the block of output data Length srcALen+srcBLen-1.
3065 * @param[in] *pSrcA points to the first input sequence.
3067 * @param[in] *pSrcB points to the second input sequence.
3069 * @param[out] *pDst points to the block of output data Length srcALen+srcBLen-1.
3070 …* @param[in] *pScratch1 points to scratch buffer(of type q15_t) of size max(srcALen, srcBLen) + 2…
3071 * @param[in] *pScratch2 points to scratch buffer (of type q15_t) of size min(srcALen, srcBLen).
3088 * @param[in] *pSrcA points to the first input sequence.
3090 * @param[in] *pSrcB points to the second input sequence.
3092 * @param[out] *pDst points to the block of output data Length srcALen+srcBLen-1.
3106 * @param[in] *pSrcA points to the first input sequence.
3108 * @param[in] *pSrcB points to the second input sequence.
3110 * @param[out] *pDst points to the block of output data
3111 * @param[in] firstIndex is the first output sample to start with.
3112 * @param[in] numPoints is the number of output points to be computed.
3127 * @param[in] *pSrcA points to the first input sequence.
3129 * @param[in] *pSrcB points to the second input sequence.
3131 * @param[out] *pDst points to the block of output data
3132 * @param[in] firstIndex is the first output sample to start with.
3133 * @param[in] numPoints is the number of output points to be computed.
3134 …* @param[in] * pScratch1 points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcA…
3135 * @param[in] * pScratch2 points to scratch buffer of size min(srcALen, srcBLen).
3153 * @param[in] *pSrcA points to the first input sequence.
3155 * @param[in] *pSrcB points to the second input sequence.
3157 * @param[out] *pDst points to the block of output data
3158 * @param[in] firstIndex is the first output sample to start with.
3159 * @param[in] numPoints is the number of output points to be computed.
3174 * @param[in] *pSrcA points to the first input sequence.
3176 * @param[in] *pSrcB points to the second input sequence.
3178 * @param[out] *pDst points to the block of output data
3179 * @param[in] firstIndex is the first output sample to start with.
3180 * @param[in] numPoints is the number of output points to be computed.
3196 * @param[in] *pSrcA points to the first input sequence.
3198 * @param[in] *pSrcB points to the second input sequence.
3200 * @param[out] *pDst points to the block of output data
3201 * @param[in] firstIndex is the first output sample to start with.
3202 * @param[in] numPoints is the number of output points to be computed.
3203 …* @param[in] * pScratch1 points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcA…
3204 * @param[in] * pScratch2 points to scratch buffer of size min(srcALen, srcBLen).
3222 * @param[in] *pSrcA points to the first input sequence.
3224 * @param[in] *pSrcB points to the second input sequence.
3226 * @param[out] *pDst points to the block of output data
3227 * @param[in] firstIndex is the first output sample to start with.
3228 * @param[in] numPoints is the number of output points to be computed.
3244 * @param[in] *pSrcA points to the first input sequence.
3246 * @param[in] *pSrcB points to the second input sequence.
3248 * @param[out] *pDst points to the block of output data
3249 * @param[in] firstIndex is the first output sample to start with.
3250 * @param[in] numPoints is the number of output points to be computed.
3266 * @param[in] *pSrcA points to the first input sequence.
3268 * @param[in] *pSrcB points to the second input sequence.
3270 * @param[out] *pDst points to the block of output data
3271 * @param[in] firstIndex is the first output sample to start with.
3272 * @param[in] numPoints is the number of output points to be computed.
3273 …* @param[in] *pScratch1 points to scratch buffer(of type q15_t) of size max(srcALen, srcBLen) + 2…
3274 * @param[in] *pScratch2 points to scratch buffer (of type q15_t) of size min(srcALen, srcBLen).
3292 * @param[in] *pSrcA points to the first input sequence.
3294 * @param[in] *pSrcB points to the second input sequence.
3296 * @param[out] *pDst points to the block of output data
3297 * @param[in] firstIndex is the first output sample to start with.
3298 * @param[in] numPoints is the number of output points to be computed.
3321 …q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numT…
3322 …q15_t *pState; /**< points to the state variable array. The array is of length n…
3333 …q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps.…
3334 …q31_t *pState; /**< points to the state variable array. The array is of length numTa…
3346 …float32_t *pCoeffs; /**< points to the coefficient array. The array is of length …
3347 …float32_t *pState; /**< points to the state variable array. The array is of leng…
3355 * @param[in] *S points to an instance of the floating-point FIR decimator structure.
3356 * @param[in] *pSrc points to the block of input data.
3357 * @param[out] *pDst points to the block of output data
3358 * @param[in] blockSize number of input samples to process per call.
3371 * @param[in,out] *S points to an instance of the floating-point FIR decimator structure.
3374 * @param[in] *pCoeffs points to the filter coefficients.
3375 * @param[in] *pState points to the state buffer.
3376 * @param[in] blockSize number of input samples to process per call.
3391 * @param[in] *S points to an instance of the Q15 FIR decimator structure.
3392 * @param[in] *pSrc points to the block of input data.
3393 * @param[out] *pDst points to the block of output data
3394 * @param[in] blockSize number of input samples to process per call.
3406 * @param[in] *S points to an instance of the Q15 FIR decimator structure.
3407 * @param[in] *pSrc points to the block of input data.
3408 * @param[out] *pDst points to the block of output data
3409 * @param[in] blockSize number of input samples to process per call.
3423 * @param[in,out] *S points to an instance of the Q15 FIR decimator structure.
3426 * @param[in] *pCoeffs points to the filter coefficients.
3427 * @param[in] *pState points to the state buffer.
3428 * @param[in] blockSize number of input samples to process per call.
3443 * @param[in] *S points to an instance of the Q31 FIR decimator structure.
3444 * @param[in] *pSrc points to the block of input data.
3445 * @param[out] *pDst points to the block of output data
3446 * @param[in] blockSize number of input samples to process per call.
3458 * @param[in] *S points to an instance of the Q31 FIR decimator structure.
3459 * @param[in] *pSrc points to the block of input data.
3460 * @param[out] *pDst points to the block of output data
3461 * @param[in] blockSize number of input samples to process per call.
3474 * @param[in,out] *S points to an instance of the Q31 FIR decimator structure.
3477 * @param[in] *pCoeffs points to the filter coefficients.
3478 * @param[in] *pState points to the state buffer.
3479 * @param[in] blockSize number of input samples to process per call.
3502 …q15_t *pCoeffs; /**< points to the coefficient array. The array is of length L*pha…
3503 …q15_t *pState; /**< points to the state variable array. The array is of length bl…
3514 …q31_t *pCoeffs; /**< points to the coefficient array. The array is of length L*ph…
3515 …q31_t *pState; /**< points to the state variable array. The array is of length b…
3526 …float32_t *pCoeffs; /**< points to the coefficient array. The array is of length L*pha…
3527 …float32_t *pState; /**< points to the state variable array. The array is of length ph…
3533 * @param[in] *S points to an instance of the Q15 FIR interpolator structure.
3534 * @param[in] *pSrc points to the block of input data.
3535 * @param[out] *pDst points to the block of output data.
3536 * @param[in] blockSize number of input samples to process per call.
3549 * @param[in,out] *S points to an instance of the Q15 FIR interpolator structure.
3552 * @param[in] *pCoeffs points to the filter coefficient buffer.
3553 * @param[in] *pState points to the state buffer.
3554 * @param[in] blockSize number of input samples to process per call.
3569 * @param[in] *S points to an instance of the Q15 FIR interpolator structure.
3570 * @param[in] *pSrc points to the block of input data.
3571 * @param[out] *pDst points to the block of output data.
3572 * @param[in] blockSize number of input samples to process per call.
3584 * @param[in,out] *S points to an instance of the Q31 FIR interpolator structure.
3587 * @param[in] *pCoeffs points to the filter coefficient buffer.
3588 * @param[in] *pState points to the state buffer.
3589 * @param[in] blockSize number of input samples to process per call.
3605 * @param[in] *S points to an instance of the floating-point FIR interpolator structure.
3606 * @param[in] *pSrc points to the block of input data.
3607 * @param[out] *pDst points to the block of output data.
3608 * @param[in] blockSize number of input samples to process per call.
3620 … * @param[in,out] *S points to an instance of the floating-point FIR interpolator structure.
3623 * @param[in] *pCoeffs points to the filter coefficient buffer.
3624 * @param[in] *pState points to the state buffer.
3625 * @param[in] blockSize number of input samples to process per call.
3645 …q63_t *pState; /**< points to the array of state coefficients. The array is of length 4…
3646 …q31_t *pCoeffs; /**< points to the array of coefficients. The array is of length 5*numSt…
3647 uint8_t postShift; /**< additional shift, in bits, applied to each output sample. */
3653 …* @param[in] *S points to an instance of the high precision Q31 Biquad cascade filter stru…
3654 * @param[in] *pSrc points to the block of input data.
3655 * @param[out] *pDst points to the block of output data
3656 * @param[in] blockSize number of samples to process.
3668 …* @param[in,out] *S points to an instance of the high precision Q31 Biquad cascade filte…
3670 * @param[in] *pCoeffs points to the filter coefficients.
3671 * @param[in] *pState points to the state buffer.
3672 …* @param[in] postShift shift to be applied to the output. Varies according to the coefficie…
3692 …float32_t *pState; /**< points to the array of state coefficients. The array is of length…
3693 …float32_t *pCoeffs; /**< points to the array of coefficients. The array is of length 5*num…
3699 * @param[in] *S points to an instance of the filter data structure.
3700 * @param[in] *pSrc points to the block of input data.
3701 * @param[out] *pDst points to the block of output data
3702 * @param[in] blockSize number of samples to process.
3715 * @param[in,out] *S points to an instance of the filter data structure.
3717 * @param[in] *pCoeffs points to the filter coefficients.
3718 * @param[in] *pState points to the state buffer.
3737 …q15_t *pState; /**< points to the state variable array. The array is…
3738 …q15_t *pCoeffs; /**< points to the coefficient array. The array is of…
3748 …q31_t *pState; /**< points to the state variable array. The array is…
3749 …q31_t *pCoeffs; /**< points to the coefficient array. The array is of…
3759 …float32_t *pState; /**< points to the state variable array. The array is of leng…
3760 …float32_t *pCoeffs; /**< points to the coefficient array. The array is of length …
3765 * @param[in] *S points to an instance of the Q15 FIR lattice structure.
3767 * @param[in] *pCoeffs points to the coefficient buffer. The array is of length numStages.
3768 * @param[in] *pState points to the state buffer. The array is of length numStages.
3781 * @param[in] *S points to an instance of the Q15 FIR lattice structure.
3782 * @param[in] *pSrc points to the block of input data.
3783 * @param[out] *pDst points to the block of output data.
3784 * @param[in] blockSize number of samples to process.
3795 * @param[in] *S points to an instance of the Q31 FIR lattice structure.
3797 * @param[in] *pCoeffs points to the coefficient buffer. The array is of length numStages.
3798 * @param[in] *pState points to the state buffer. The array is of length numStages.
3811 * @param[in] *S points to an instance of the Q31 FIR lattice structure.
3812 * @param[in] *pSrc points to the block of input data.
3813 * @param[out] *pDst points to the block of output data
3814 * @param[in] blockSize number of samples to process.
3826 * @param[in] *S points to an instance of the floating-point FIR lattice structure.
3828 * @param[in] *pCoeffs points to the coefficient buffer. The array is of length numStages.
3829 * @param[in] *pState points to the state buffer. The array is of length numStages.
3841 * @param[in] *S points to an instance of the floating-point FIR lattice structure.
3842 * @param[in] *pSrc points to the block of input data.
3843 * @param[out] *pDst points to the block of output data
3844 * @param[in] blockSize number of samples to process.
3860 …q15_t *pState; /**< points to the state variable array. The array is …
3861 …q15_t *pkCoeffs; /**< points to the reflection coefficient array. The a…
3862 …q15_t *pvCoeffs; /**< points to the ladder coefficient array. The array…
3871 …q31_t *pState; /**< points to the state variable array. The array is …
3872 …q31_t *pkCoeffs; /**< points to the reflection coefficient array. The a…
3873 …q31_t *pvCoeffs; /**< points to the ladder coefficient array. The array…
3882 …float32_t *pState; /**< points to the state variable array. The array is …
3883 …float32_t *pkCoeffs; /**< points to the reflection coefficient array. The a…
3884 …float32_t *pvCoeffs; /**< points to the ladder coefficient array. The array…
3889 * @param[in] *S points to an instance of the floating-point IIR lattice structure.
3890 * @param[in] *pSrc points to the block of input data.
3891 * @param[out] *pDst points to the block of output data.
3892 * @param[in] blockSize number of samples to process.
3904 * @param[in] *S points to an instance of the floating-point IIR lattice structure.
3906 …* @param[in] *pkCoeffs points to the reflection coefficient buffer. The array is of length numSta…
3907 …* @param[in] *pvCoeffs points to the ladder coefficient buffer. The array is of length numStages+…
3908 * @param[in] *pState points to the state buffer. The array is of length numStages+blockSize-1.
3909 * @param[in] blockSize number of samples to process.
3924 * @param[in] *S points to an instance of the Q31 IIR lattice structure.
3925 * @param[in] *pSrc points to the block of input data.
3926 * @param[out] *pDst points to the block of output data.
3927 * @param[in] blockSize number of samples to process.
3940 * @param[in] *S points to an instance of the Q31 IIR lattice structure.
3942 …* @param[in] *pkCoeffs points to the reflection coefficient buffer. The array is of length numSta…
3943 …* @param[in] *pvCoeffs points to the ladder coefficient buffer. The array is of length numStages+…
3944 * @param[in] *pState points to the state buffer. The array is of length numStages+blockSize.
3945 * @param[in] blockSize number of samples to process.
3960 * @param[in] *S points to an instance of the Q15 IIR lattice structure.
3961 * @param[in] *pSrc points to the block of input data.
3962 * @param[out] *pDst points to the block of output data.
3963 * @param[in] blockSize number of samples to process.
3976 * @param[in] *S points to an instance of the fixed-point Q15 IIR lattice structure.
3978 * @param[in] *pkCoeffs points to reflection coefficient buffer. The array is of length numStages.
3979 * @param[in] *pvCoeffs points to ladder coefficient buffer. The array is of length numStages+1.
3980 * @param[in] *pState points to state buffer. The array is of length numStages+blockSize.
3981 * @param[in] blockSize number of samples to process per call.
4000 …float32_t *pState; /**< points to the state variable array. The array is of length numTaps+block…
4001 float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4007 * @param[in] *S points to an instance of the floating-point LMS filter structure.
4008 * @param[in] *pSrc points to the block of input data.
4009 * @param[in] *pRef points to the block of reference data.
4010 * @param[out] *pOut points to the block of output data.
4011 * @param[out] *pErr points to the block of error data.
4012 * @param[in] blockSize number of samples to process.
4026 * @param[in] *S points to an instance of the floating-point LMS filter structure.
4028 * @param[in] *pCoeffs points to the coefficient buffer.
4029 * @param[in] *pState points to state buffer.
4031 * @param[in] blockSize number of samples to process.
4050 …q15_t *pState; /**< points to the state variable array. The array is of length numTaps+block…
4051 q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4053 uint32_t postShift; /**< bit shift applied to coefficients. */
4059 * @param[in] *S points to an instance of the Q15 LMS filter structure.
4061 * @param[in] *pCoeffs points to the coefficient buffer.
4062 * @param[in] *pState points to the state buffer.
4064 * @param[in] blockSize number of samples to process.
4065 * @param[in] postShift bit shift applied to coefficients.
4080 * @param[in] *S points to an instance of the Q15 LMS filter structure.
4081 * @param[in] *pSrc points to the block of input data.
4082 * @param[in] *pRef points to the block of reference data.
4083 * @param[out] *pOut points to the block of output data.
4084 * @param[out] *pErr points to the block of error data.
4085 * @param[in] blockSize number of samples to process.
4105 …q31_t *pState; /**< points to the state variable array. The array is of length numTaps+block…
4106 q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4108 uint32_t postShift; /**< bit shift applied to coefficients. */
4114 * @param[in] *S points to an instance of the Q15 LMS filter structure.
4115 * @param[in] *pSrc points to the block of input data.
4116 * @param[in] *pRef points to the block of reference data.
4117 * @param[out] *pOut points to the block of output data.
4118 * @param[out] *pErr points to the block of error data.
4119 * @param[in] blockSize number of samples to process.
4133 * @param[in] *S points to an instance of the Q31 LMS filter structure.
4135 * @param[in] *pCoeffs points to coefficient buffer.
4136 * @param[in] *pState points to state buffer.
4138 * @param[in] blockSize number of samples to process.
4139 * @param[in] postShift bit shift applied to coefficients.
4159 …float32_t *pState; /**< points to the state variable array. The array is of length numTaps+bloc…
4160 float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4168 * @param[in] *S points to an instance of the floating-point normalized LMS filter structure.
4169 * @param[in] *pSrc points to the block of input data.
4170 * @param[in] *pRef points to the block of reference data.
4171 * @param[out] *pOut points to the block of output data.
4172 * @param[out] *pErr points to the block of error data.
4173 * @param[in] blockSize number of samples to process.
4187 * @param[in] *S points to an instance of the floating-point LMS filter structure.
4189 * @param[in] *pCoeffs points to coefficient buffer.
4190 * @param[in] *pState points to state buffer.
4192 * @param[in] blockSize number of samples to process.
4211 …q31_t *pState; /**< points to the state variable array. The array is of length numTaps+bloc…
4212 q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4214 uint8_t postShift; /**< bit shift applied to coefficients. */
4215 q31_t *recipTable; /**< points to the reciprocal initial value table. */
4222 * @param[in] *S points to an instance of the Q31 normalized LMS filter structure.
4223 * @param[in] *pSrc points to the block of input data.
4224 * @param[in] *pRef points to the block of reference data.
4225 * @param[out] *pOut points to the block of output data.
4226 * @param[out] *pErr points to the block of error data.
4227 * @param[in] blockSize number of samples to process.
4241 * @param[in] *S points to an instance of the Q31 normalized LMS filter structure.
4243 * @param[in] *pCoeffs points to coefficient buffer.
4244 * @param[in] *pState points to state buffer.
4246 * @param[in] blockSize number of samples to process.
4247 * @param[in] postShift bit shift applied to coefficients.
4267 …q15_t *pState; /**< points to the state variable array. The array is of length numTaps+bloc…
4268 q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4270 uint8_t postShift; /**< bit shift applied to coefficients. */
4271 q15_t *recipTable; /**< Points to the reciprocal initial value table. */
4278 * @param[in] *S points to an instance of the Q15 normalized LMS filter structure.
4279 * @param[in] *pSrc points to the block of input data.
4280 * @param[in] *pRef points to the block of reference data.
4281 * @param[out] *pOut points to the block of output data.
4282 * @param[out] *pErr points to the block of error data.
4283 * @param[in] blockSize number of samples to process.
4298 * @param[in] *S points to an instance of the Q15 normalized LMS filter structure.
4300 * @param[in] *pCoeffs points to coefficient buffer.
4301 * @param[in] *pState points to state buffer.
4303 * @param[in] blockSize number of samples to process.
4304 * @param[in] postShift bit shift applied to coefficients.
4319 * @param[in] *pSrcA points to the first input sequence.
4321 * @param[in] *pSrcB points to the second input sequence.
4323 * @param[out] *pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4337 * @param[in] *pSrcA points to the first input sequence.
4339 * @param[in] *pSrcB points to the second input sequence.
4341 * @param[out] *pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4342 …* @param[in] *pScratch points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, sr…
4356 * @param[in] *pSrcA points to the first input sequence.
4358 * @param[in] *pSrcB points to the second input sequence.
4360 * @param[out] *pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4373 * @param[in] *pSrcA points to the first input sequence.
4375 * @param[in] *pSrcB points to the second input sequence.
4377 * @param[out] *pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4392 * @param[in] *pSrcA points to the first input sequence.
4394 * @param[in] *pSrcB points to the second input sequence.
4396 * @param[out] *pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4397 …* @param[in] *pScratch points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, sr…
4411 * @param[in] *pSrcA points to the first input sequence.
4413 * @param[in] *pSrcB points to the second input sequence.
4415 * @param[out] *pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4428 * @param[in] *pSrcA points to the first input sequence.
4430 * @param[in] *pSrcB points to the second input sequence.
4432 * @param[out] *pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4447 * @param[in] *pSrcA points to the first input sequence.
4449 * @param[in] *pSrcB points to the second input sequence.
4451 * @param[out] *pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4452 …* @param[in] *pScratch1 points to scratch buffer(of type q15_t) of size max(srcALen, srcBLen) + 2…
4453 * @param[in] *pScratch2 points to scratch buffer (of type q15_t) of size min(srcALen, srcBLen).
4469 * @param[in] *pSrcA points to the first input sequence.
4471 * @param[in] *pSrcB points to the second input sequence.
4473 * @param[out] *pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4491 …uint16_t stateIndex; /**< state buffer index. Points to the oldest sample in the state b…
4492 …float32_t *pState; /**< points to the state buffer array. The array is of length maxDel…
4493 …float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps…
4495 …int32_t *pTapDelay; /**< points to the array of delay values. The array is of length nu…
4505 …uint16_t stateIndex; /**< state buffer index. Points to the oldest sample in the state b…
4506 …q31_t *pState; /**< points to the state buffer array. The array is of length maxDel…
4507 …q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps…
4509 …int32_t *pTapDelay; /**< points to the array of delay values. The array is of length nu…
4519 …uint16_t stateIndex; /**< state buffer index. Points to the oldest sample in the state b…
4520 …q15_t *pState; /**< points to the state buffer array. The array is of length maxDel…
4521 …q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps…
4523 …int32_t *pTapDelay; /**< points to the array of delay values. The array is of length nu…
4533 …uint16_t stateIndex; /**< state buffer index. Points to the oldest sample in the state b…
4534 …q7_t *pState; /**< points to the state buffer array. The array is of length maxDel…
4535 …q7_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps…
4537 …int32_t *pTapDelay; /**< points to the array of delay values. The array is of length nu…
4542 * @param[in] *S points to an instance of the floating-point sparse FIR structure.
4543 * @param[in] *pSrc points to the block of input data.
4544 * @param[out] *pDst points to the block of output data
4545 * @param[in] *pScratchIn points to a temporary buffer of size blockSize.
4546 * @param[in] blockSize number of input samples to process per call.
4559 * @param[in,out] *S points to an instance of the floating-point sparse FIR structure.
4561 * @param[in] *pCoeffs points to the array of filter coefficients.
4562 * @param[in] *pState points to the state buffer.
4563 * @param[in] *pTapDelay points to the array of offset times.
4580 * @param[in] *S points to an instance of the Q31 sparse FIR structure.
4581 * @param[in] *pSrc points to the block of input data.
4582 * @param[out] *pDst points to the block of output data
4583 * @param[in] *pScratchIn points to a temporary buffer of size blockSize.
4584 * @param[in] blockSize number of input samples to process per call.
4597 * @param[in,out] *S points to an instance of the Q31 sparse FIR structure.
4599 * @param[in] *pCoeffs points to the array of filter coefficients.
4600 * @param[in] *pState points to the state buffer.
4601 * @param[in] *pTapDelay points to the array of offset times.
4618 * @param[in] *S points to an instance of the Q15 sparse FIR structure.
4619 * @param[in] *pSrc points to the block of input data.
4620 * @param[out] *pDst points to the block of output data
4621 * @param[in] *pScratchIn points to a temporary buffer of size blockSize.
4622 * @param[in] *pScratchOut points to a temporary buffer of size blockSize.
4623 * @param[in] blockSize number of input samples to process per call.
4638 * @param[in,out] *S points to an instance of the Q15 sparse FIR structure.
4640 * @param[in] *pCoeffs points to the array of filter coefficients.
4641 * @param[in] *pState points to the state buffer.
4642 * @param[in] *pTapDelay points to the array of offset times.
4659 * @param[in] *S points to an instance of the Q7 sparse FIR structure.
4660 * @param[in] *pSrc points to the block of input data.
4661 * @param[out] *pDst points to the block of output data
4662 * @param[in] *pScratchIn points to a temporary buffer of size blockSize.
4663 * @param[in] *pScratchOut points to a temporary buffer of size blockSize.
4664 * @param[in] blockSize number of input samples to process per call.
4678 * @param[in,out] *S points to an instance of the Q7 sparse FIR structure.
4680 * @param[in] *pCoeffs points to the array of filter coefficients.
4681 * @param[in] *pState points to the state buffer.
4682 * @param[in] *pTapDelay points to the array of offset times.
4701 * @param[out] *pSinVal points to the processed sine output.
4702 * @param[out] *pCosVal points to the processed cos output.
4714 * @param[out] *pSinVal points to the processed sine output.
4715 * @param[out] *pCosVal points to the processed cosine output.
4727 * @param[in] *pSrc points to the input vector
4728 * @param[out] *pDst points to the output vector
4740 * @param[in] *pSrc points to the input vector
4741 * @param[out] *pDst points to the output vector
4753 * @param[in] *pSrc points to the input vector
4754 * @param[out] *pDst points to the output vector
4768 * @param[in] *pSrc points to the complex input vector
4769 * @param[out] *pDst points to the real output vector
4781 * @param[in] *pSrc points to the complex input vector
4782 * @param[out] *pDst points to the real output vector
4794 * @param[in] *pSrc points to the complex input vector
4795 * @param[out] *pDst points to the real output vector
4819 * of data and each call to the function returns a single processed value.
4820 * <code>S</code> points to an instance of the PID control data structure. <code>in</code>
4839 * The controller attempts to minimize the error by adjusting the process control inputs.
4840 * The proportional value determines the reaction to the current error,
4859 …* Instance structure cannot be placed into a const data section and it is recommended to use the i…
4864 * Refer to the function specific documentation below for usage guidelines.
4875 * @param[in] in input sample to process
4895 /* return to application */ in arm_pid_f32()
4902 * @param[in,out] *S points to an instance of the Q31 PID Control structure
4903 * @param[in] in input sample to process
4911 …* In order to avoid overflows completely the input signal must be scaled down by 2 bits as there a…
4912 …umulates are performed, the 2.62 accumulator is truncated to 1.32 format and then saturated to 1.3…
4931 /* convert output to 1.31 format to add y[n-1] */ in arm_pid_q31()
4942 /* return to application */ in arm_pid_q31()
4949 * @param[in,out] *S points to an instance of the Q15 PID Control structure
4950 * @param[in] in input sample to process
4959 …* After all additions have been performed, the accumulator is truncated to 34.15 format by discard…
4960 * Lastly, the accumulator is saturated to yield a result in 1.15 format.
5003 /* return to application */ in arm_pid_q15()
5015 * @param[in] *src points to the instance of the input floating-point matrix structure.
5016 * @param[out] *dst points to the instance of the output floating-point matrix structure.
5035 …* Generally the Clarke transform uses three-phase currents <code>Ia, Ib and Ic</code> to calculate…
5042 …* The function operates on a single sample of data and each call to the function returns the proce…
5051 * Refer to the function specific documentation below for usage guidelines.
5064 * @param[out] *pIalpha points to output two-phase orthogonal vector axis alpha
5065 * @param[out] *pIbeta points to output two-phase orthogonal vector axis beta
5088 * @param[out] *pIalpha points to output two-phase orthogonal vector axis alpha
5089 * @param[out] *pIbeta points to output two-phase orthogonal vector axis beta
5105 …q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_clarke_q31()
5125 * @brief Converts the elements of the Q7 vector to Q31 vector.
5128 * @param[in] blockSize number of samples to process
5147 …* The function operates on a single sample of data and each call to the function returns the proce…
5156 * Refer to the function specific documentation below for usage guidelines.
5168 * @param[out] *pIa points to output three-phase coordinate <code>a</code>
5169 * @param[out] *pIb points to output three-phase coordinate <code>b</code>
5192 * @param[out] *pIa points to output three-phase coordinate <code>a</code>
5193 * @param[out] *pIb points to output three-phase coordinate <code>b</code>
5209 …q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_inv_clarke_q31()
5230 * @brief Converts the elements of the Q7 vector to Q15 vector.
5233 * @param[in] blockSize number of samples to process
5250 * Forward Park transform converts the input two-coordinate vector to flux and torque components.
5251 …* The Park transform can be used to realize the transformation of the <code>Ialpha</code> and the …
5252 * from the stationary to the moving reference frame and control the spatial relationship between
5258 …* The function operates on a single sample of data and each call to the function returns the proce…
5268 * Refer to the function specific documentation below for usage guidelines.
5280 * @param[out] *pId points to output rotor reference frame d
5281 * @param[out] *pIq points to output rotor reference frame q
5310 * @param[out] *pId points to output rotor reference frame d
5311 * @param[out] *pIq points to output rotor reference frame q
5332 …q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_park_q31()
5333 …q31_t product3, product4; /* Temporary variables used to store intermediate res… in arm_park_q31()
5360 * @brief Converts the elements of the Q7 vector to floating-point vector.
5363 * @param[in] blockSize is the number of samples to process
5378 * Inverse Park transform converts the input flux and torque components to two-coordinate vector.
5380 …* The function operates on a single sample of data and each call to the function returns the proce…
5390 * Refer to the function specific documentation below for usage guidelines.
5402 * @param[out] *pIalpha points to output two-phase orthogonal vector axis alpha
5403 * @param[out] *pIbeta points to output two-phase orthogonal vector axis beta
5430 * @param[out] *pIalpha points to output two-phase orthogonal vector axis alpha
5431 * @param[out] *pIbeta points to output two-phase orthogonal vector axis beta
5452 …q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_inv_park_q31()
5453 …q31_t product3, product4; /* Temporary variables used to store intermediate res… in arm_inv_park_q31()
5482 * @brief Converts the elements of the Q31 vector to floating-point vector.
5485 * @param[in] blockSize is the number of samples to process
5514 * y0, y1 are nearest values to output y
5520 * sample of data and each call to the function returns a single processed value.
5521 * <code>S</code> points to an instance of the Linear Interpolate function data structure.
5537 * @param[in] x input sample to process
5552 float32_t *pYData = S->pYData; /* pointer to output table */ in arm_linear_interp_f32()
5589 * @param[in] *pYData pointer to Q31 Linear Interpolation table
5590 * @param[in] x input sample to process
5609 int32_t index; /* Index to read nearest output values */ in arm_linear_interp_q31()
5628 /* shift left by 11 to keep fract in 1.31 format */ in arm_linear_interp_q31()
5641 /* Convert y to 1.31 format */ in arm_linear_interp_q31()
5651 * @param[in] *pYData pointer to Q15 Linear Interpolation table
5652 * @param[in] x input sample to process
5671 int32_t index; /* Index to read nearest output values */ in arm_linear_interp_q15()
5702 /* convert y to 1.15 format */ in arm_linear_interp_q15()
5712 * @param[in] *pYData pointer to Q7 Linear Interpolation table
5713 * @param[in] x input sample to process
5731 uint32_t index; /* Index to read nearest output values */ in arm_linear_interp_q7()
5764 /* convert y to 1.7(q7) format */ in arm_linear_interp_q7()
5775 * @brief Fast approximation to the trigonometric sine function for floating-point data.
5784 * @brief Fast approximation to the trigonometric sine function for Q31 data.
5793 * @brief Fast approximation to the trigonometric sine function for Q15 data.
5802 * @brief Fast approximation to the trigonometric cosine function for floating-point data.
5811 * @brief Fast approximation to the trigonometric cosine function for Q31 data.
5820 * @brief Fast approximation to the trigonometric cosine function for Q15 data.
5847 * For the square root function, the algorithm reduces to:
5895 …* @param[in] in input value. The range of the input value is [0 +1) or 0x00000000 to 0x7FFFF…
5906 * @param[in] in input value. The range of the input value is [0 +1) or 0x0000 to 0x7FFF.
5941 * to the current location where the input samples to be copied */ in arm_circularWrite_f32()
5949 /* copy the input sample to the circular buffer */ in arm_circularWrite_f32()
5988 * to the current location from where the input samples to be read */ in arm_circularRead_f32()
5997 /* copy the sample from the circular buffer to the destination buffer */ in arm_circularRead_f32()
6041 * to the current location where the input samples to be copied */ in arm_circularWrite_q15()
6049 /* copy the input sample to the circular buffer */ in arm_circularWrite_q15()
6088 * to the current location from where the input samples to be read */ in arm_circularRead_q15()
6098 /* copy the sample from the circular buffer to the destination buffer */ in arm_circularRead_q15()
6143 * to the current location where the input samples to be copied */ in arm_circularWrite_q7()
6151 /* copy the input sample to the circular buffer */ in arm_circularWrite_q7()
6190 * to the current location from where the input samples to be read */ in arm_circularRead_q7()
6200 /* copy the sample from the circular buffer to the destination buffer */ in arm_circularRead_q7()
6231 * @param[in] blockSize is the number of samples to process
6244 * @param[in] blockSize is the number of samples to process
6257 * @param[in] blockSize is the number of samples to process
6270 * @param[in] blockSize is the number of samples to process
6283 * @param[in] blockSize is the number of samples to process
6296 * @param[in] blockSize is the number of samples to process
6308 * @param[in] blockSize is the number of samples to process
6320 * @param[in] blockSize is the number of samples to process
6332 * @param[in] blockSize is the number of samples to process
6345 * @param[in] blockSize is the number of samples to process
6358 * @param[in] blockSize is the number of samples to process
6371 * @param[in] blockSize is the number of samples to process
6384 * @param[in] blockSize is the number of samples to process
6397 * @param[in] blockSize is the number of samples to process
6410 * @param[in] blockSize is the number of samples to process
6423 * @param[in] blockSize is the number of samples to process
6436 * @param[in] blockSize is the number of samples to process
6448 * @param[in] *pSrc points to the complex input vector
6449 * @param[out] *pDst points to the real output vector
6461 * @param[in] *pSrc points to the complex input vector
6462 * @param[out] *pDst points to the real output vector
6474 * @param[in] *pSrc points to the complex input vector
6475 * @param[out] *pDst points to the real output vector
6487 * @param[in] *pSrcA points to the first input vector
6488 * @param[in] *pSrcB points to the second input vector
6504 * @param[in] *pSrcA points to the first input vector
6505 * @param[in] *pSrcB points to the second input vector
6521 * @param[in] *pSrcA points to the first input vector
6522 * @param[in] *pSrcB points to the second input vector
6538 * @param[in] *pSrcCmplx points to the complex input vector
6539 * @param[in] *pSrcReal points to the real input vector
6540 * @param[out] *pCmplxDst points to the complex output vector
6553 * @param[in] *pSrcCmplx points to the complex input vector
6554 * @param[in] *pSrcReal points to the real input vector
6555 * @param[out] *pCmplxDst points to the complex output vector
6568 * @param[in] *pSrcCmplx points to the complex input vector
6569 * @param[in] *pSrcReal points to the real input vector
6570 * @param[out] *pCmplxDst points to the complex output vector
6584 * @param[in] blockSize is the number of samples to process
6599 * @param[in] blockSize is the number of samples to process
6614 * @param[in] blockSize is the number of samples to process
6628 * @param[in] blockSize is the number of samples to process
6642 * @param[in] *pSrc points to the input buffer
6657 * @param[in] *pSrc points to the input buffer
6672 * @param[in] *pSrc points to the input buffer
6687 * @param[in] *pSrc points to the input buffer
6702 * @param[in] *pSrcA points to the first input vector
6703 * @param[in] *pSrcB points to the second input vector
6704 * @param[out] *pDst points to the output vector
6717 * @param[in] *pSrcA points to the first input vector
6718 * @param[in] *pSrcB points to the second input vector
6719 * @param[out] *pDst points to the output vector
6732 * @param[in] *pSrcA points to the first input vector
6733 * @param[in] *pSrcB points to the second input vector
6734 * @param[out] *pDst points to the output vector
6746 * @brief Converts the elements of the floating-point vector to Q31 vector.
6747 * @param[in] *pSrc points to the floating-point input vector
6748 * @param[out] *pDst points to the Q31 output vector
6758 * @brief Converts the elements of the floating-point vector to Q15 vector.
6759 * @param[in] *pSrc points to the floating-point input vector
6760 * @param[out] *pDst points to the Q15 output vector
6770 * @brief Converts the elements of the floating-point vector to Q7 vector.
6771 * @param[in] *pSrc points to the floating-point input vector
6772 * @param[out] *pDst points to the Q7 output vector
6783 * @brief Converts the elements of the Q31 vector to Q15 vector.
6786 * @param[in] blockSize is the number of samples to process
6795 * @brief Converts the elements of the Q31 vector to Q7 vector.
6798 * @param[in] blockSize is the number of samples to process
6807 * @brief Converts the elements of the Q15 vector to floating-point vector.
6810 * @param[in] blockSize is the number of samples to process
6820 * @brief Converts the elements of the Q15 vector to Q31 vector.
6823 * @param[in] blockSize is the number of samples to process
6833 * @brief Converts the elements of the Q15 vector to Q7 vector.
6836 * @param[in] blockSize is the number of samples to process
6852 …* Bilinear interpolation is an extension of linear interpolation applied to a two dimensional grid.
6855 …* Bilinear interpolation is equivalent to two step linear interpolation, first in the x-dimension …
6856 * Bilinear interpolation is often used in image processing to rescale images.
6875 * and <code>pData</code> points to an array of size <code>numRows*numCols</code> values.
6894 * The integer components specify which portion of the table to use while the
6909 * @param[in,out] *S points to an instance of the interpolation structure.
6970 /* return to application */ in arm_bilinear_interp_f32()
6978 * @param[in,out] *S points to an instance of the interpolation structure.
6994 q31_t *pYData = S->pData; /* pointer to output table values */ in arm_bilinear_interp_q31()
7016 /* shift left xfract by 11 to keep 1.31 format */ in arm_bilinear_interp_q31()
7024 /* shift left yfract by 11 to keep 1.31 format */ in arm_bilinear_interp_q31()
7035 /* x2 * (xfract) * (1-yfract) in 3.29(q29) and adding to acc */ in arm_bilinear_interp_q31()
7039 /* y1 * (1 - xfract) * (yfract) in 3.29(q29) and adding to acc */ in arm_bilinear_interp_q31()
7043 /* y2 * (xfract) * (yfract) in 3.29(q29) and adding to acc */ in arm_bilinear_interp_q31()
7047 /* Convert acc to 1.31(q31) format */ in arm_bilinear_interp_q31()
7054 * @param[in,out] *S points to an instance of the interpolation structure.
7070 q15_t *pYData = S->pData; /* pointer to output table values */ in arm_bilinear_interp_q15()
7110 /* convert 13.35 to 13.31 by right shifting and out is in 1.31 */ in arm_bilinear_interp_q15()
7114 /* x2 * (xfract) * (1-yfract) in 1.51 and adding to acc */ in arm_bilinear_interp_q15()
7118 /* y1 * (1 - xfract) * (yfract) in 1.51 and adding to acc */ in arm_bilinear_interp_q15()
7122 /* y2 * (xfract) * (yfract) in 1.51 and adding to acc */ in arm_bilinear_interp_q15()
7127 /* Convert out to 1.15 format */ in arm_bilinear_interp_q15()
7134 * @param[in,out] *S points to an instance of the interpolation structure.
7150 q7_t *pYData = S->pData; /* pointer to output table values */ in arm_bilinear_interp_q7()
7191 /* x2 * (xfract) * (1-yfract) in 2.22 and adding to acc */ in arm_bilinear_interp_q7()
7195 /* y1 * (1 - xfract) * (yfract) in 2.22 and adding to acc */ in arm_bilinear_interp_q7()
7199 /* y2 * (xfract) * (yfract) in 2.22 and adding to acc */ in arm_bilinear_interp_q7()
7203 /* acc in 16.47 format and down shift by 40 to convert to 1.7 format */ in arm_bilinear_interp_q7()