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;
47 * This set of functions provides a fast approximation to sine, cosine, and square root.
48 * As compared to most of the other functions in the CMSIS math library, the fast math functions
60 * to the number of complex values; the array contains twice this number of
81 * float32_t *pData; // points to the data of the matrix.
86 * The structure specifies the size of the matrix and then points to
98 * Refer to the function <code>arm_mat_init_f32()</code>, <code>arm_mat_init_q31()</code>
104 * To place the instance structure in a const data
112 * specifies the number of columns, and <code>pData</code> points to the
229 /* -1 to +1 is divided into 360 values so total spacing is (2/360) */
291 * @brief definition to read/write two 16 bit values.
328 * @brief definition to pack two 16 bit values.
339 * @brief definition to pack four 8 bit values.
358 * @brief Clips Q63 to Q31 values.
368 * @brief Clips Q63 to Q15 values.
378 * @brief Clips Q31 to Q7 values.
388 * @brief Clips Q31 to Q15 values.
436 * @brief Function to Calculates 1/in (reciprocal) value of Q31 Data type.
458 /* Convert input sample to 1.31 format */ in arm_recip_q31()
488 * @brief Function to Calculates 1/in (reciprocal) value of Q15 Data type.
509 /* Convert input sample to 1.15 format */ in arm_recip_q15()
908 …q7_t *pState; /**< points to the state variable array. The array is of length numTaps +…
909 q7_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps.*/
918 …q15_t *pState; /**< points to the state variable array. The array is of length numTaps …
919 … q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps.*/
928 …q31_t *pState; /**< points to the state variable array. The array is of length numTaps …
929 … q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
938 …float32_t *pState; /**< points to the state variable array. The array is of length numTaps + bl…
939 float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
945 * @param[in] S points to an instance of the Q7 FIR filter structure.
946 * @param[in] pSrc points to the block of input data.
947 * @param[out] pDst points to the block of output data.
948 * @param[in] blockSize number of samples to process.
959 * @param[in,out] S points to an instance of the Q7 FIR structure.
961 * @param[in] pCoeffs points to the filter coefficients.
962 * @param[in] pState points to the state buffer.
975 * @param[in] S points to an instance of the Q15 FIR structure.
976 * @param[in] pSrc points to the block of input data.
977 * @param[out] pDst points to the block of output data.
978 * @param[in] blockSize number of samples to process.
989 * @param[in] S points to an instance of the Q15 FIR filter structure.
990 * @param[in] pSrc points to the block of input data.
991 * @param[out] pDst points to the block of output data.
992 * @param[in] blockSize number of samples to process.
1003 * @param[in,out] S points to an instance of the Q15 FIR filter structure.
1004 …umTaps Number of filter coefficients in the filter. Must be even and greater than or equal to 4.
1005 * @param[in] pCoeffs points to the filter coefficients.
1006 * @param[in] pState points to the state buffer.
1021 * @param[in] S points to an instance of the Q31 FIR filter structure.
1022 * @param[in] pSrc points to the block of input data.
1023 * @param[out] pDst points to the block of output data.
1024 * @param[in] blockSize number of samples to process.
1035 * @param[in] S points to an instance of the Q31 FIR structure.
1036 * @param[in] pSrc points to the block of input data.
1037 * @param[out] pDst points to the block of output data.
1038 * @param[in] blockSize number of samples to process.
1049 * @param[in,out] S points to an instance of the Q31 FIR structure.
1051 * @param[in] pCoeffs points to the filter coefficients.
1052 * @param[in] pState points to the state buffer.
1065 * @param[in] S points to an instance of the floating-point FIR structure.
1066 * @param[in] pSrc points to the block of input data.
1067 * @param[out] pDst points to the block of output data.
1068 * @param[in] blockSize number of samples to process.
1079 * @param[in,out] S points to an instance of the floating-point FIR filter structure.
1081 * @param[in] pCoeffs points to the filter coefficients.
1082 * @param[in] pState points to the state buffer.
1099 …q15_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
1100 …q15_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5*numSt…
1101 int8_t postShift; /**< Additional shift, in bits, applied to each output sample. */
1110 …q31_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
1111 …q31_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5*numSt…
1112 uint8_t postShift; /**< Additional shift, in bits, applied to each output sample. */
1121 …float32_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
1122 …float32_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5*numSt…
1128 * @param[in] S points to an instance of the Q15 Biquad cascade structure.
1129 * @param[in] pSrc points to the block of input data.
1130 * @param[out] pDst points to the block of output data.
1131 * @param[in] blockSize number of samples to process.
1142 * @param[in,out] S points to an instance of the Q15 Biquad cascade structure.
1144 * @param[in] pCoeffs points to the filter coefficients.
1145 * @param[in] pState points to the state buffer.
1146 …* @param[in] postShift Shift to be applied to the output. Varies according to the coefficient…
1158 * @param[in] S points to an instance of the Q15 Biquad cascade structure.
1159 * @param[in] pSrc points to the block of input data.
1160 * @param[out] pDst points to the block of output data.
1161 * @param[in] blockSize number of samples to process.
1172 * @param[in] S points to an instance of the Q31 Biquad cascade structure.
1173 * @param[in] pSrc points to the block of input data.
1174 * @param[out] pDst points to the block of output data.
1175 * @param[in] blockSize number of samples to process.
1186 * @param[in] S points to an instance of the Q31 Biquad cascade structure.
1187 * @param[in] pSrc points to the block of input data.
1188 * @param[out] pDst points to the block of output data.
1189 * @param[in] blockSize number of samples to process.
1200 * @param[in,out] S points to an instance of the Q31 Biquad cascade structure.
1202 * @param[in] pCoeffs points to the filter coefficients.
1203 * @param[in] pState points to the state buffer.
1204 …* @param[in] postShift Shift to be applied to the output. Varies according to the coefficient…
1216 * @param[in] S points to an instance of the floating-point Biquad cascade structure.
1217 * @param[in] pSrc points to the block of input data.
1218 * @param[out] pDst points to the block of output data.
1219 * @param[in] blockSize number of samples to process.
1230 * @param[in,out] S points to an instance of the floating-point Biquad cascade structure.
1232 * @param[in] pCoeffs points to the filter coefficients.
1233 * @param[in] pState points to the state buffer.
1249 float32_t *pData; /**< points to the data of the matrix. */
1260 float64_t *pData; /**< points to the data of the matrix. */
1270 q15_t *pData; /**< points to the data of the matrix. */
1280 q31_t *pData; /**< points to the data of the matrix. */
1286 * @param[in] pSrcA points to the first input matrix structure
1287 * @param[in] pSrcB points to the second input matrix structure
1288 * @param[out] pDst points to output matrix structure
1300 * @param[in] pSrcA points to the first input matrix structure
1301 * @param[in] pSrcB points to the second input matrix structure
1302 * @param[out] pDst points to output matrix structure
1314 * @param[in] pSrcA points to the first input matrix structure
1315 * @param[in] pSrcB points to the second input matrix structure
1316 * @param[out] pDst points to output matrix structure
1328 * @param[in] pSrcA points to the first input matrix structure
1329 * @param[in] pSrcB points to the second input matrix structure
1330 * @param[out] pDst points to output matrix structure
1342 * @param[in] pSrcA points to the first input matrix structure
1343 * @param[in] pSrcB points to the second input matrix structure
1344 * @param[out] pDst points to output matrix structure
1357 * @param[in] pSrcA points to the first input matrix structure
1358 * @param[in] pSrcB points to the second input matrix structure
1359 * @param[out] pDst points to output matrix structure
1371 * @param[in] pSrc points to the input matrix
1372 * @param[out] pDst points to the output matrix
1383 * @param[in] pSrc points to the input matrix
1384 * @param[out] pDst points to the output matrix
1395 * @param[in] pSrc points to the input matrix
1396 * @param[out] pDst points to the output matrix
1407 * @param[in] pSrcA points to the first input matrix structure
1408 * @param[in] pSrcB points to the second input matrix structure
1409 * @param[out] pDst points to output matrix structure
1421 * @param[in] pSrcA points to the first input matrix structure
1422 * @param[in] pSrcB points to the second input matrix structure
1423 * @param[out] pDst points to output matrix structure
1424 * @param[in] pState points to the array for storing intermediate results
1437 * @param[in] pSrcA points to the first input matrix structure
1438 * @param[in] pSrcB points to the second input matrix structure
1439 * @param[out] pDst points to output matrix structure
1440 * @param[in] pState points to the array for storing intermediate results
1453 * @param[in] pSrcA points to the first input matrix structure
1454 * @param[in] pSrcB points to the second input matrix structure
1455 * @param[out] pDst points to output matrix structure
1467 * @param[in] pSrcA points to the first input matrix structure
1468 * @param[in] pSrcB points to the second input matrix structure
1469 * @param[out] pDst points to output matrix structure
1481 * @param[in] pSrcA points to the first input matrix structure
1482 * @param[in] pSrcB points to the second input matrix structure
1483 * @param[out] pDst points to output matrix structure
1495 * @param[in] pSrcA points to the first input matrix structure
1496 * @param[in] pSrcB points to the second input matrix structure
1497 * @param[out] pDst points to output matrix structure
1509 * @param[in] pSrcA points to the first input matrix structure
1510 * @param[in] pSrcB points to the second input matrix structure
1511 * @param[out] pDst points to output matrix structure
1523 * @param[in] pSrc points to the input matrix
1525 * @param[out] pDst points to the output matrix
1537 * @param[in] pSrc points to input matrix
1539 * @param[in] shift number of bits to shift the result by
1540 * @param[out] pDst points to output matrix
1553 * @param[in] pSrc points to input matrix
1555 * @param[in] shift number of bits to shift the result by
1556 * @param[out] pDst points to output matrix structure
1569 * @param[in,out] S points to an instance of the floating-point matrix structure.
1572 * @param[in] pData points to the matrix data array.
1583 * @param[in,out] S points to an instance of the floating-point matrix structure.
1586 * @param[in] pData points to the matrix data array.
1597 * @param[in,out] S points to an instance of the floating-point matrix structure.
1600 * @param[in] pData points to the matrix data array.
1660 * @param[in,out] S points to an instance of the PID structure.
1661 …* @param[in] resetStateFlag flag to reset the state. 0 = no change in state 1 = reset the sta…
1678 * @param[in,out] S points to an instance of the Q15 PID structure.
1679 …* @param[in] resetStateFlag flag to reset the state. 0 = no change in state 1 = reset the sta…
1688 * @param[in,out] S points to an instance of the Q31 PID Control structure
1697 * @param[in,out] S points to an instance of the Q15 PID structure.
1698 …* @param[in] resetStateFlag flag to reset the state. 0 = no change in state 1 = reset the sta…
1707 * @param[in,out] S points to an instance of the q15 PID Control structure
1721 float32_t *pYData; /**< pointer to the table of Y values */
1731 float32_t *pData; /**< points to the data table. */
1741 q31_t *pData; /**< points to the data table. */
1751 q15_t *pData; /**< points to the data table. */
1761 q7_t *pData; /**< points to the data table. */
1767 * @param[in] pSrcA points to the first input vector
1768 * @param[in] pSrcB points to the second input vector
1769 * @param[out] pDst points to the output vector
1781 * @param[in] pSrcA points to the first input vector
1782 * @param[in] pSrcB points to the second input vector
1783 * @param[out] pDst points to the output vector
1795 * @param[in] pSrcA points to the first input vector
1796 * @param[in] pSrcB points to the second input vector
1797 * @param[out] pDst points to the output vector
1809 * @param[in] pSrcA points to the first input vector
1810 * @param[in] pSrcB points to the second input vector
1811 * @param[out] pDst points to the output vector
1829 q15_t *pTwiddle; /**< points to the Sin twiddle factor table. */
1830 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
1856 q15_t *pTwiddle; /**< points to the twiddle factor table. */
1857 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
1882 q31_t *pTwiddle; /**< points to the Twiddle factor table. */
1883 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
1908 q31_t *pTwiddle; /**< points to the twiddle factor table. */
1909 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
1934 float32_t *pTwiddle; /**< points to the Twiddle factor table. */
1935 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
1961 float32_t *pTwiddle; /**< points to the Twiddle factor table. */
1962 uint16_t *pBitRevTable; /**< points to the bit reversal table. */
1986 const q15_t *pTwiddle; /**< points to the Twiddle factor table. */
1987 const uint16_t *pBitRevTable; /**< points to the bit reversal table. */
2003 const q31_t *pTwiddle; /**< points to the Twiddle factor table. */
2004 const uint16_t *pBitRevTable; /**< points to the bit reversal table. */
2020 const float32_t *pTwiddle; /**< points to the Twiddle factor table. */
2021 const uint16_t *pBitRevTable; /**< points to the bit reversal table. */
2040 q15_t *pTwiddleAReal; /**< points to the real twiddle factor table. */
2041 q15_t *pTwiddleBReal; /**< points to the imag twiddle factor table. */
2042 const arm_cfft_instance_q15 *pCfft; /**< points to the complex FFT instance. */
2065 q31_t *pTwiddleAReal; /**< points to the real twiddle factor table. */
2066 q31_t *pTwiddleBReal; /**< points to the imag twiddle factor table. */
2067 const arm_cfft_instance_q31 *pCfft; /**< points to the complex FFT instance. */
2091 float32_t *pTwiddleAReal; /**< points to the real twiddle factor table. */
2092 float32_t *pTwiddleBReal; /**< points to the imag twiddle factor table. */
2093 arm_cfft_radix4_instance_f32 *pCfft; /**< points to the complex FFT instance. */
2135 float32_t *pTwiddle; /**< points to the twiddle factor table. */
2136 float32_t *pCosFactor; /**< points to the cosFactor table. */
2137 arm_rfft_instance_f32 *pRfft; /**< points to the real FFT instance. */
2138 arm_cfft_radix4_instance_f32 *pCfft; /**< points to the complex FFT instance. */
2144 * @param[in,out] S points to an instance of floating-point DCT4/IDCT4 structure.
2145 * @param[in] S_RFFT points to an instance of floating-point RFFT/RIFFT structure.
2146 * @param[in] S_CFFT points to an instance of floating-point CFFT/CIFFT structure.
2163 * @param[in] S points to an instance of the floating-point DCT4/IDCT4 structure.
2164 * @param[in] pState points to state buffer.
2165 * @param[in,out] pInlineBuffer points to the in-place input and output buffer.
2181 q31_t *pTwiddle; /**< points to the twiddle factor table. */
2182 q31_t *pCosFactor; /**< points to the cosFactor table. */
2183 arm_rfft_instance_q31 *pRfft; /**< points to the real FFT instance. */
2184 arm_cfft_radix4_instance_q31 *pCfft; /**< points to the complex FFT instance. */
2190 * @param[in,out] S points to an instance of Q31 DCT4/IDCT4 structure.
2191 * @param[in] S_RFFT points to an instance of Q31 RFFT/RIFFT structure
2192 * @param[in] S_CFFT points to an instance of Q31 CFFT/CIFFT structure
2209 * @param[in] S points to an instance of the Q31 DCT4 structure.
2210 * @param[in] pState points to state buffer.
2211 * @param[in,out] pInlineBuffer points to the in-place input and output buffer.
2227 q15_t *pTwiddle; /**< points to the twiddle factor table. */
2228 q15_t *pCosFactor; /**< points to the cosFactor table. */
2229 arm_rfft_instance_q15 *pRfft; /**< points to the real FFT instance. */
2230 arm_cfft_radix4_instance_q15 *pCfft; /**< points to the complex FFT instance. */
2236 * @param[in,out] S points to an instance of Q15 DCT4/IDCT4 structure.
2237 * @param[in] S_RFFT points to an instance of Q15 RFFT/RIFFT structure.
2238 * @param[in] S_CFFT points to an instance of Q15 CFFT/CIFFT structure.
2255 * @param[in] S points to an instance of the Q15 DCT4 structure.
2256 * @param[in] pState points to state buffer.
2257 * @param[in,out] pInlineBuffer points to the in-place input and output buffer.
2267 * @param[in] pSrcA points to the first input vector
2268 * @param[in] pSrcB points to the second input vector
2269 * @param[out] pDst points to the output vector
2281 * @param[in] pSrcA points to the first input vector
2282 * @param[in] pSrcB points to the second input vector
2283 * @param[out] pDst points to the output vector
2295 * @param[in] pSrcA points to the first input vector
2296 * @param[in] pSrcB points to the second input vector
2297 * @param[out] pDst points to the output vector
2309 * @param[in] pSrcA points to the first input vector
2310 * @param[in] pSrcB points to the second input vector
2311 * @param[out] pDst points to the output vector
2323 * @param[in] pSrcA points to the first input vector
2324 * @param[in] pSrcB points to the second input vector
2325 * @param[out] pDst points to the output vector
2337 * @param[in] pSrcA points to the first input vector
2338 * @param[in] pSrcB points to the second input vector
2339 * @param[out] pDst points to the output vector
2351 * @param[in] pSrcA points to the first input vector
2352 * @param[in] pSrcB points to the second input vector
2353 * @param[out] pDst points to the output vector
2365 * @param[in] pSrcA points to the first input vector
2366 * @param[in] pSrcB points to the second input vector
2367 * @param[out] pDst points to the output vector
2379 * @param[in] pSrc points to the input vector
2380 * @param[in] scale scale factor to be applied
2381 * @param[out] pDst points to the output vector
2393 * @param[in] pSrc points to the input vector
2395 * @param[in] shift number of bits to shift the result by
2396 * @param[out] pDst points to the output vector
2409 * @param[in] pSrc points to the input vector
2411 * @param[in] shift number of bits to shift the result by
2412 * @param[out] pDst points to the output vector
2425 * @param[in] pSrc points to the input vector
2427 * @param[in] shift number of bits to shift the result by
2428 * @param[out] pDst points to the output vector
2441 * @param[in] pSrc points to the input buffer
2442 * @param[out] pDst points to the output buffer
2453 * @param[in] pSrc points to the input buffer
2454 * @param[out] pDst points to the output buffer
2465 * @param[in] pSrc points to the input buffer
2466 * @param[out] pDst points to the output buffer
2477 * @param[in] pSrc points to the input buffer
2478 * @param[out] pDst points to the output buffer
2489 * @param[in] pSrcA points to the first input vector
2490 * @param[in] pSrcB points to the second input vector
2503 * @param[in] pSrcA points to the first input vector
2504 * @param[in] pSrcB points to the second input vector
2517 * @param[in] pSrcA points to the first input vector
2518 * @param[in] pSrcB points to the second input vector
2531 * @param[in] pSrcA points to the first input vector
2532 * @param[in] pSrcB points to the second input vector
2545 * @param[in] pSrc points to the input vector
2546 …* @param[in] shiftBits number of bits to shift. A positive value shifts left; a negative value …
2547 * @param[out] pDst points to the output vector
2559 * @param[in] pSrc points to the input vector
2560 …* @param[in] shiftBits number of bits to shift. A positive value shifts left; a negative value …
2561 * @param[out] pDst points to the output vector
2573 * @param[in] pSrc points to the input vector
2574 …* @param[in] shiftBits number of bits to shift. A positive value shifts left; a negative value …
2575 * @param[out] pDst points to the output vector
2586 * @brief Adds a constant offset to a floating-point vector.
2587 * @param[in] pSrc points to the input vector
2588 * @param[in] offset is the offset to be added
2589 * @param[out] pDst points to the output vector
2600 * @brief Adds a constant offset to a Q7 vector.
2601 * @param[in] pSrc points to the input vector
2602 * @param[in] offset is the offset to be added
2603 * @param[out] pDst points to the output vector
2614 * @brief Adds a constant offset to a Q15 vector.
2615 * @param[in] pSrc points to the input vector
2616 * @param[in] offset is the offset to be added
2617 * @param[out] pDst points to the output vector
2628 * @brief Adds a constant offset to a Q31 vector.
2629 * @param[in] pSrc points to the input vector
2630 * @param[in] offset is the offset to be added
2631 * @param[out] pDst points to the output vector
2643 * @param[in] pSrc points to the input vector
2644 * @param[out] pDst points to the output vector
2655 * @param[in] pSrc points to the input vector
2656 * @param[out] pDst points to the output vector
2667 * @param[in] pSrc points to the input vector
2668 * @param[out] pDst points to the output vector
2679 * @param[in] pSrc points to the input vector
2680 * @param[out] pDst points to the output vector
2693 * @param[in] blockSize number of samples to process
2705 * @param[in] blockSize number of samples to process
2717 * @param[in] blockSize number of samples to process
2729 * @param[in] blockSize number of samples to process
2739 * @param[in] value input value to be filled
2741 * @param[in] blockSize number of samples to process
2751 * @param[in] value input value to be filled
2753 * @param[in] blockSize number of samples to process
2763 * @param[in] value input value to be filled
2765 * @param[in] blockSize number of samples to process
2775 * @param[in] value input value to be filled
2777 * @param[in] blockSize number of samples to process
2787 * @param[in] pSrcA points to the first input sequence.
2789 * @param[in] pSrcB points to the second input sequence.
2791 …* @param[out] pDst points to the location where the output result is written. Length srcALen …
2803 * @param[in] pSrcA points to the first input sequence.
2805 * @param[in] pSrcB points to the second input sequence.
2807 * @param[out] pDst points to the block of output data Length srcALen + srcBLen-1.
2808 …* @param[in] pScratch1 points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, s…
2809 * @param[in] pScratch2 points to scratch buffer of size min(srcALen, srcBLen).
2823 * @param[in] pSrcA points to the first input sequence.
2825 * @param[in] pSrcB points to the second input sequence.
2827 …* @param[out] pDst points to the location where the output result is written. Length srcALen …
2839 * @param[in] pSrcA points to the first input sequence.
2841 * @param[in] pSrcB points to the second input sequence.
2843 * @param[out] pDst points to the block of output data Length srcALen + srcBLen-1.
2855 * @param[in] pSrcA points to the first input sequence.
2857 * @param[in] pSrcB points to the second input sequence.
2859 * @param[out] pDst points to the block of output data Length srcALen + srcBLen-1.
2860 …* @param[in] pScratch1 points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, s…
2861 * @param[in] pScratch2 points to scratch buffer of size min(srcALen, srcBLen).
2875 * @param[in] pSrcA points to the first input sequence.
2877 * @param[in] pSrcB points to the second input sequence.
2879 * @param[out] pDst points to the block of output data Length srcALen + srcBLen-1.
2891 * @param[in] pSrcA points to the first input sequence.
2893 * @param[in] pSrcB points to the second input sequence.
2895 * @param[out] pDst points to the block of output data Length srcALen + srcBLen-1.
2907 * @param[in] pSrcA points to the first input sequence.
2909 * @param[in] pSrcB points to the second input sequence.
2911 * @param[out] pDst points to the block of output data Length srcALen + srcBLen-1.
2912 …* @param[in] pScratch1 points to scratch buffer(of type q15_t) of size max(srcALen, srcBLen) + 2…
2913 * @param[in] pScratch2 points to scratch buffer (of type q15_t) of size min(srcALen, srcBLen).
2927 * @param[in] pSrcA points to the first input sequence.
2929 * @param[in] pSrcB points to the second input sequence.
2931 * @param[out] pDst points to the block of output data Length srcALen + srcBLen-1.
2943 * @param[in] pSrcA points to the first input sequence.
2945 * @param[in] pSrcB points to the second input sequence.
2947 * @param[out] pDst points to the block of output data
2948 * @param[in] firstIndex is the first output sample to start with.
2949 * @param[in] numPoints is the number of output points to be computed.
2964 * @param[in] pSrcA points to the first input sequence.
2966 * @param[in] pSrcB points to the second input sequence.
2968 * @param[out] pDst points to the block of output data
2969 * @param[in] firstIndex is the first output sample to start with.
2970 * @param[in] numPoints is the number of output points to be computed.
2971 …* @param[in] pScratch1 points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, …
2972 * @param[in] pScratch2 points to scratch buffer of size min(srcALen, srcBLen).
2989 * @param[in] pSrcA points to the first input sequence.
2991 * @param[in] pSrcB points to the second input sequence.
2993 * @param[out] pDst points to the block of output data
2994 * @param[in] firstIndex is the first output sample to start with.
2995 * @param[in] numPoints is the number of output points to be computed.
3010 * @param[in] pSrcA points to the first input sequence.
3012 * @param[in] pSrcB points to the second input sequence.
3014 * @param[out] pDst points to the block of output data
3015 * @param[in] firstIndex is the first output sample to start with.
3016 * @param[in] numPoints is the number of output points to be computed.
3031 * @param[in] pSrcA points to the first input sequence.
3033 * @param[in] pSrcB points to the second input sequence.
3035 * @param[out] pDst points to the block of output data
3036 * @param[in] firstIndex is the first output sample to start with.
3037 * @param[in] numPoints is the number of output points to be computed.
3038 …* @param[in] pScratch1 points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, …
3039 * @param[in] pScratch2 points to scratch buffer of size min(srcALen, srcBLen).
3056 * @param[in] pSrcA points to the first input sequence.
3058 * @param[in] pSrcB points to the second input sequence.
3060 * @param[out] pDst points to the block of output data
3061 * @param[in] firstIndex is the first output sample to start with.
3062 * @param[in] numPoints is the number of output points to be computed.
3077 * @param[in] pSrcA points to the first input sequence.
3079 * @param[in] pSrcB points to the second input sequence.
3081 * @param[out] pDst points to the block of output data
3082 * @param[in] firstIndex is the first output sample to start with.
3083 * @param[in] numPoints is the number of output points to be computed.
3098 * @param[in] pSrcA points to the first input sequence.
3100 * @param[in] pSrcB points to the second input sequence.
3102 * @param[out] pDst points to the block of output data
3103 * @param[in] firstIndex is the first output sample to start with.
3104 * @param[in] numPoints is the number of output points to be computed.
3105 …* @param[in] pScratch1 points to scratch buffer(of type q15_t) of size max(srcALen, srcBLen) + …
3106 * @param[in] pScratch2 points to scratch buffer (of type q15_t) of size min(srcALen, srcBLen).
3123 * @param[in] pSrcA points to the first input sequence.
3125 * @param[in] pSrcB points to the second input sequence.
3127 * @param[out] pDst points to the block of output data
3128 * @param[in] firstIndex is the first output sample to start with.
3129 * @param[in] numPoints is the number of output points to be computed.
3149 …q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps.*/
3150 …q15_t *pState; /**< points to the state variable array. The array is of length numTap…
3160 …q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps.*/
3161 …q31_t *pState; /**< points to the state variable array. The array is of length numTap…
3171 …float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps.*/
3172 …float32_t *pState; /**< points to the state variable array. The array is of length numTap…
3178 * @param[in] S points to an instance of the floating-point FIR decimator structure.
3179 * @param[in] pSrc points to the block of input data.
3180 * @param[out] pDst points to the block of output data
3181 * @param[in] blockSize number of input samples to process per call.
3192 * @param[in,out] S points to an instance of the floating-point FIR decimator structure.
3195 * @param[in] pCoeffs points to the filter coefficients.
3196 * @param[in] pState points to the state buffer.
3197 * @param[in] blockSize number of input samples to process per call.
3212 * @param[in] S points to an instance of the Q15 FIR decimator structure.
3213 * @param[in] pSrc points to the block of input data.
3214 * @param[out] pDst points to the block of output data
3215 * @param[in] blockSize number of input samples to process per call.
3226 * @param[in] S points to an instance of the Q15 FIR decimator structure.
3227 * @param[in] pSrc points to the block of input data.
3228 * @param[out] pDst points to the block of output data
3229 * @param[in] blockSize number of input samples to process per call.
3240 * @param[in,out] S points to an instance of the Q15 FIR decimator structure.
3243 * @param[in] pCoeffs points to the filter coefficients.
3244 * @param[in] pState points to the state buffer.
3245 * @param[in] blockSize number of input samples to process per call.
3260 * @param[in] S points to an instance of the Q31 FIR decimator structure.
3261 * @param[in] pSrc points to the block of input data.
3262 * @param[out] pDst points to the block of output data
3263 * @param[in] blockSize number of input samples to process per call.
3273 * @param[in] S points to an instance of the Q31 FIR decimator structure.
3274 * @param[in] pSrc points to the block of input data.
3275 * @param[out] pDst points to the block of output data
3276 * @param[in] blockSize number of input samples to process per call.
3287 * @param[in,out] S points to an instance of the Q31 FIR decimator structure.
3290 * @param[in] pCoeffs points to the filter coefficients.
3291 * @param[in] pState points to the state buffer.
3292 * @param[in] blockSize number of input samples to process per call.
3312 …q15_t *pCoeffs; /**< points to the coefficient array. The array is of length L*pha…
3313 …q15_t *pState; /**< points to the state variable array. The array is of length bl…
3323 …q31_t *pCoeffs; /**< points to the coefficient array. The array is of length L*pha…
3324 …q31_t *pState; /**< points to the state variable array. The array is of length bl…
3334 …float32_t *pCoeffs; /**< points to the coefficient array. The array is of length L*phas…
3335 …float32_t *pState; /**< points to the state variable array. The array is of length pha…
3341 * @param[in] S points to an instance of the Q15 FIR interpolator structure.
3342 * @param[in] pSrc points to the block of input data.
3343 * @param[out] pDst points to the block of output data.
3344 * @param[in] blockSize number of input samples to process per call.
3355 * @param[in,out] S points to an instance of the Q15 FIR interpolator structure.
3358 * @param[in] pCoeffs points to the filter coefficient buffer.
3359 * @param[in] pState points to the state buffer.
3360 * @param[in] blockSize number of input samples to process per call.
3375 * @param[in] S points to an instance of the Q15 FIR interpolator structure.
3376 * @param[in] pSrc points to the block of input data.
3377 * @param[out] pDst points to the block of output data.
3378 * @param[in] blockSize number of input samples to process per call.
3389 * @param[in,out] S points to an instance of the Q31 FIR interpolator structure.
3392 * @param[in] pCoeffs points to the filter coefficient buffer.
3393 * @param[in] pState points to the state buffer.
3394 * @param[in] blockSize number of input samples to process per call.
3409 * @param[in] S points to an instance of the floating-point FIR interpolator structure.
3410 * @param[in] pSrc points to the block of input data.
3411 * @param[out] pDst points to the block of output data.
3412 * @param[in] blockSize number of input samples to process per call.
3423 …* @param[in,out] S points to an instance of the floating-point FIR interpolator structure.
3426 * @param[in] pCoeffs points to the filter coefficient buffer.
3427 * @param[in] pState points to the state buffer.
3428 * @param[in] blockSize number of input samples to process per call.
3447 …q63_t *pState; /**< points to the array of state coefficients. The array is of length 4…
3448 …q31_t *pCoeffs; /**< points to the array of coefficients. The array is of length 5*numSt…
3449 uint8_t postShift; /**< additional shift, in bits, applied to each output sample. */
3454 …* @param[in] S points to an instance of the high precision Q31 Biquad cascade filter str…
3455 * @param[in] pSrc points to the block of input data.
3456 * @param[out] pDst points to the block of output data
3457 * @param[in] blockSize number of samples to process.
3467 …* @param[in,out] S points to an instance of the high precision Q31 Biquad cascade filter …
3469 * @param[in] pCoeffs points to the filter coefficients.
3470 * @param[in] pState points to the state buffer.
3471 …* @param[in] postShift shift to be applied to the output. Varies according to the coefficient…
3487 …float32_t *pState; /**< points to the array of state coefficients. The array is of length…
3488 …float32_t *pCoeffs; /**< points to the array of coefficients. The array is of length 5*num…
3497 …float32_t *pState; /**< points to the array of state coefficients. The array is of length…
3498 …float32_t *pCoeffs; /**< points to the array of coefficients. The array is of length 5*num…
3507 …float64_t *pState; /**< points to the array of state coefficients. The array is of length…
3508 …float64_t *pCoeffs; /**< points to the array of coefficients. The array is of length 5*num…
3514 * @param[in] S points to an instance of the filter data structure.
3515 * @param[in] pSrc points to the block of input data.
3516 * @param[out] pDst points to the block of output data
3517 * @param[in] blockSize number of samples to process.
3528 * @param[in] S points to an instance of the filter data structure.
3529 * @param[in] pSrc points to the block of input data.
3530 * @param[out] pDst points to the block of output data
3531 * @param[in] blockSize number of samples to process.
3542 * @param[in] S points to an instance of the filter data structure.
3543 * @param[in] pSrc points to the block of input data.
3544 * @param[out] pDst points to the block of output data
3545 * @param[in] blockSize number of samples to process.
3556 * @param[in,out] S points to an instance of the filter data structure.
3558 * @param[in] pCoeffs points to the filter coefficients.
3559 * @param[in] pState points to the state buffer.
3570 * @param[in,out] S points to an instance of the filter data structure.
3572 * @param[in] pCoeffs points to the filter coefficients.
3573 * @param[in] pState points to the state buffer.
3584 * @param[in,out] S points to an instance of the filter data structure.
3586 * @param[in] pCoeffs points to the filter coefficients.
3587 * @param[in] pState points to the state buffer.
3602 …q15_t *pState; /**< points to the state variable array. The array is of leng…
3603 …q15_t *pCoeffs; /**< points to the coefficient array. The array is of length …
3612 …q31_t *pState; /**< points to the state variable array. The array is of leng…
3613 …q31_t *pCoeffs; /**< points to the coefficient array. The array is of length …
3622 …float32_t *pState; /**< points to the state variable array. The array is of leng…
3623 …float32_t *pCoeffs; /**< points to the coefficient array. The array is of length …
3629 * @param[in] S points to an instance of the Q15 FIR lattice structure.
3631 * @param[in] pCoeffs points to the coefficient buffer. The array is of length numStages.
3632 * @param[in] pState points to the state buffer. The array is of length numStages.
3643 * @param[in] S points to an instance of the Q15 FIR lattice structure.
3644 * @param[in] pSrc points to the block of input data.
3645 * @param[out] pDst points to the block of output data.
3646 * @param[in] blockSize number of samples to process.
3657 * @param[in] S points to an instance of the Q31 FIR lattice structure.
3659 * @param[in] pCoeffs points to the coefficient buffer. The array is of length numStages.
3660 * @param[in] pState points to the state buffer. The array is of length numStages.
3671 * @param[in] S points to an instance of the Q31 FIR lattice structure.
3672 * @param[in] pSrc points to the block of input data.
3673 * @param[out] pDst points to the block of output data
3674 * @param[in] blockSize number of samples to process.
3685 * @param[in] S points to an instance of the floating-point FIR lattice structure.
3687 * @param[in] pCoeffs points to the coefficient buffer. The array is of length numStages.
3688 * @param[in] pState points to the state buffer. The array is of length numStages.
3699 * @param[in] S points to an instance of the floating-point FIR lattice 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.
3717 …q15_t *pState; /**< points to the state variable array. The array is of leng…
3718 …q15_t *pkCoeffs; /**< points to the reflection coefficient array. The array is…
3719 …q15_t *pvCoeffs; /**< points to the ladder coefficient array. The array is of …
3728 …q31_t *pState; /**< points to the state variable array. The array is of leng…
3729 …q31_t *pkCoeffs; /**< points to the reflection coefficient array. The array is…
3730 …q31_t *pvCoeffs; /**< points to the ladder coefficient array. The array is of …
3739 …float32_t *pState; /**< points to the state variable array. The array is of leng…
3740 …float32_t *pkCoeffs; /**< points to the reflection coefficient array. The array is…
3741 …float32_t *pvCoeffs; /**< points to the ladder coefficient array. The array is of …
3747 * @param[in] S points to an instance of the floating-point IIR lattice structure.
3748 * @param[in] pSrc points to the block of input data.
3749 * @param[out] pDst points to the block of output data.
3750 * @param[in] blockSize number of samples to process.
3761 * @param[in] S points to an instance of the floating-point IIR lattice structure.
3763 …* @param[in] pkCoeffs points to the reflection coefficient buffer. The array is of length numSt…
3764 …* @param[in] pvCoeffs points to the ladder coefficient buffer. The array is of length numStages…
3765 …* @param[in] pState points to the state buffer. The array is of length numStages + blockSize-…
3766 * @param[in] blockSize number of samples to process.
3779 * @param[in] S points to an instance of the Q31 IIR lattice structure.
3780 * @param[in] pSrc points to the block of input data.
3781 * @param[out] pDst points to the block of output data.
3782 * @param[in] blockSize number of samples to process.
3793 * @param[in] S points to an instance of the Q31 IIR lattice structure.
3795 …* @param[in] pkCoeffs points to the reflection coefficient buffer. The array is of length numSt…
3796 …* @param[in] pvCoeffs points to the ladder coefficient buffer. The array is of length numStages…
3797 … * @param[in] pState points to the state buffer. The array is of length numStages + blockSize.
3798 * @param[in] blockSize number of samples to process.
3811 * @param[in] S points to an instance of the Q15 IIR 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.
3825 * @param[in] S points to an instance of the fixed-point Q15 IIR lattice structure.
3827 * @param[in] pkCoeffs points to reflection coefficient buffer. The array is of length numStages.
3828 * @param[in] pvCoeffs points to ladder coefficient buffer. The array is of length numStages + 1.
3829 * @param[in] pState points to state buffer. The array is of length numStages + blockSize.
3830 * @param[in] blockSize number of samples to process per call.
3847 …float32_t *pState; /**< points to the state variable array. The array is of length numTaps + blo…
3848 float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
3855 * @param[in] S points to an instance of the floating-point LMS filter structure.
3856 * @param[in] pSrc points to the block of input data.
3857 * @param[in] pRef points to the block of reference data.
3858 * @param[out] pOut points to the block of output data.
3859 * @param[out] pErr points to the block of error data.
3860 * @param[in] blockSize number of samples to process.
3873 * @param[in] S points to an instance of the floating-point LMS filter structure.
3875 * @param[in] pCoeffs points to the coefficient buffer.
3876 * @param[in] pState points to state buffer.
3878 * @param[in] blockSize number of samples to process.
3895 …q15_t *pState; /**< points to the state variable array. The array is of length numTaps + blo…
3896 q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
3898 uint32_t postShift; /**< bit shift applied to coefficients. */
3904 * @param[in] S points to an instance of the Q15 LMS filter structure.
3906 * @param[in] pCoeffs points to the coefficient buffer.
3907 * @param[in] pState points to the state buffer.
3909 * @param[in] blockSize number of samples to process.
3910 * @param[in] postShift bit shift applied to coefficients.
3924 * @param[in] S points to an instance of the Q15 LMS filter structure.
3925 * @param[in] pSrc points to the block of input data.
3926 * @param[in] pRef points to the block of reference data.
3927 * @param[out] pOut points to the block of output data.
3928 * @param[out] pErr points to the block of error data.
3929 * @param[in] blockSize number of samples to process.
3946 …q31_t *pState; /**< points to the state variable array. The array is of length numTaps + blo…
3947 q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
3949 uint32_t postShift; /**< bit shift applied to coefficients. */
3955 * @param[in] S points to an instance of the Q15 LMS filter structure.
3956 * @param[in] pSrc points to the block of input data.
3957 * @param[in] pRef points to the block of reference data.
3958 * @param[out] pOut points to the block of output data.
3959 * @param[out] pErr points to the block of error data.
3960 * @param[in] blockSize number of samples to process.
3973 * @param[in] S points to an instance of the Q31 LMS filter structure.
3975 * @param[in] pCoeffs points to coefficient buffer.
3976 * @param[in] pState points to state buffer.
3978 * @param[in] blockSize number of samples to process.
3979 * @param[in] postShift bit shift applied to coefficients.
3997 …float32_t *pState; /**< points to the state variable array. The array is of length numTaps + bl…
3998 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 normalized LMS filter structu…
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.
4025 * @param[in] S points to an instance of the floating-point LMS filter structure.
4027 * @param[in] pCoeffs points to coefficient buffer.
4028 * @param[in] pState points to state buffer.
4030 * @param[in] blockSize number of samples to process.
4047 …q31_t *pState; /**< points to the state variable array. The array is of length numTaps + bl…
4048 q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4050 uint8_t postShift; /**< bit shift applied to coefficients. */
4051 q31_t *recipTable; /**< points to the reciprocal initial value table. */
4059 * @param[in] S points to an instance of the Q31 normalized LMS filter structure.
4060 * @param[in] pSrc points to the block of input data.
4061 * @param[in] pRef points to the block of reference data.
4062 * @param[out] pOut points to the block of output data.
4063 * @param[out] pErr points to the block of error data.
4064 * @param[in] blockSize number of samples to process.
4077 * @param[in] S points to an instance of the Q31 normalized LMS filter structure.
4079 * @param[in] pCoeffs points to coefficient buffer.
4080 * @param[in] pState points to state buffer.
4082 * @param[in] blockSize number of samples to process.
4083 * @param[in] postShift bit shift applied to coefficients.
4101 …q15_t *pState; /**< points to the state variable array. The array is of length numTaps + bl…
4102 q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4104 uint8_t postShift; /**< bit shift applied to coefficients. */
4105 q15_t *recipTable; /**< Points to the reciprocal initial value table. */
4113 * @param[in] S points to an instance of the Q15 normalized LMS filter structure.
4114 * @param[in] pSrc points to the block of input data.
4115 * @param[in] pRef points to the block of reference data.
4116 * @param[out] pOut points to the block of output data.
4117 * @param[out] pErr points to the block of error data.
4118 * @param[in] blockSize number of samples to process.
4131 * @param[in] S points to an instance of the Q15 normalized LMS filter structure.
4133 * @param[in] pCoeffs points to coefficient buffer.
4134 * @param[in] pState points to state buffer.
4136 * @param[in] blockSize number of samples to process.
4137 * @param[in] postShift bit shift applied to coefficients.
4151 * @param[in] pSrcA points to the first input sequence.
4153 * @param[in] pSrcB points to the second input sequence.
4155 * @param[out] pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4167 * @param[in] pSrcA points to the first input sequence.
4169 * @param[in] pSrcB points to the second input sequence.
4171 * @param[out] pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4172 …* @param[in] pScratch points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, sr…
4185 * @param[in] pSrcA points to the first input sequence.
4187 * @param[in] pSrcB points to the second input sequence.
4189 * @param[out] pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4202 * @param[in] pSrcA points to the first input sequence.
4204 * @param[in] pSrcB points to the second input sequence.
4206 * @param[out] pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4219 * @param[in] pSrcA points to the first input sequence.
4221 * @param[in] pSrcB points to the second input sequence.
4223 * @param[out] pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4224 …* @param[in] pScratch points to scratch buffer of size max(srcALen, srcBLen) + 2*min(srcALen, sr…
4237 * @param[in] pSrcA points to the first input sequence.
4239 * @param[in] pSrcB points to the second input sequence.
4241 * @param[out] pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4253 * @param[in] pSrcA points to the first input sequence.
4255 * @param[in] pSrcB points to the second input sequence.
4257 * @param[out] pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4269 * @param[in] pSrcA points to the first input sequence.
4271 * @param[in] pSrcB points to the second input sequence.
4273 … * @param[out] pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4274 …* @param[in] pScratch1 points to scratch buffer(of type q15_t) of size max(srcALen, srcBLen) + 2…
4275 * @param[in] pScratch2 points to scratch buffer (of type q15_t) of size min(srcALen, srcBLen).
4289 * @param[in] pSrcA points to the first input sequence.
4291 * @param[in] pSrcB points to the second input sequence.
4293 * @param[out] pDst points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.
4309 …uint16_t stateIndex; /**< state buffer index. Points to the oldest sample in the state b…
4310 …float32_t *pState; /**< points to the state buffer array. The array is of length maxDel…
4311 …float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps…
4313 …int32_t *pTapDelay; /**< points to the array of delay values. The array is of length nu…
4322 …uint16_t stateIndex; /**< state buffer index. Points to the oldest sample in the state b…
4323 …q31_t *pState; /**< points to the state buffer array. The array is of length maxDel…
4324 …q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps…
4326 …int32_t *pTapDelay; /**< points to the array of delay values. The array is of length nu…
4335 …uint16_t stateIndex; /**< state buffer index. Points to the oldest sample in the state b…
4336 …q15_t *pState; /**< points to the state buffer array. The array is of length maxDel…
4337 …q15_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps…
4339 …int32_t *pTapDelay; /**< points to the array of delay values. The array is of length nu…
4348 …uint16_t stateIndex; /**< state buffer index. Points to the oldest sample in the state b…
4349 …q7_t *pState; /**< points to the state buffer array. The array is of length maxDel…
4350 …q7_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps…
4352 …int32_t *pTapDelay; /**< points to the array of delay values. The array is of length nu…
4358 * @param[in] S points to an instance of the floating-point sparse FIR structure.
4359 * @param[in] pSrc points to the block of input data.
4360 * @param[out] pDst points to the block of output data
4361 * @param[in] pScratchIn points to a temporary buffer of size blockSize.
4362 * @param[in] blockSize number of input samples to process per call.
4374 * @param[in,out] S points to an instance of the floating-point sparse FIR structure.
4376 * @param[in] pCoeffs points to the array of filter coefficients.
4377 * @param[in] pState points to the state buffer.
4378 * @param[in] pTapDelay points to the array of offset times.
4394 * @param[in] S points to an instance of the Q31 sparse FIR structure.
4395 * @param[in] pSrc points to the block of input data.
4396 * @param[out] pDst points to the block of output data
4397 * @param[in] pScratchIn points to a temporary buffer of size blockSize.
4398 * @param[in] blockSize number of input samples to process per call.
4410 * @param[in,out] S points to an instance of the Q31 sparse FIR structure.
4412 * @param[in] pCoeffs points to the array of filter coefficients.
4413 * @param[in] pState points to the state buffer.
4414 * @param[in] pTapDelay points to the array of offset times.
4430 * @param[in] S points to an instance of the Q15 sparse FIR structure.
4431 * @param[in] pSrc points to the block of input data.
4432 * @param[out] pDst points to the block of output data
4433 * @param[in] pScratchIn points to a temporary buffer of size blockSize.
4434 * @param[in] pScratchOut points to a temporary buffer of size blockSize.
4435 * @param[in] blockSize number of input samples to process per call.
4448 * @param[in,out] S points to an instance of the Q15 sparse FIR structure.
4450 * @param[in] pCoeffs points to the array of filter coefficients.
4451 * @param[in] pState points to the state buffer.
4452 * @param[in] pTapDelay points to the array of offset times.
4468 * @param[in] S points to an instance of the Q7 sparse FIR structure.
4469 * @param[in] pSrc points to the block of input data.
4470 * @param[out] pDst points to the block of output data
4471 * @param[in] pScratchIn points to a temporary buffer of size blockSize.
4472 * @param[in] pScratchOut points to a temporary buffer of size blockSize.
4473 * @param[in] blockSize number of input samples to process per call.
4486 * @param[in,out] S points to an instance of the Q7 sparse FIR structure.
4488 * @param[in] pCoeffs points to the array of filter coefficients.
4489 * @param[in] pState points to the state buffer.
4490 * @param[in] pTapDelay points to the array of offset times.
4507 * @param[out] pSinVal points to the processed sine output.
4508 * @param[out] pCosVal points to the processed cos output.
4519 * @param[out] pSinVal points to the processed sine output.
4520 * @param[out] pCosVal points to the processed cosine output.
4530 * @param[in] pSrc points to the input vector
4531 * @param[out] pDst points to the output vector
4541 * @param[in] pSrc points to the input vector
4542 * @param[out] pDst points to the output vector
4553 * @param[in] pSrc points to the input vector
4554 * @param[out] pDst points to the output vector
4565 * @param[in] pSrc points to the complex input vector
4566 * @param[out] pDst points to the real output vector
4577 * @param[in] pSrc points to the complex input vector
4578 * @param[out] pDst points to the real output vector
4589 * @param[in] pSrc points to the complex input vector
4590 * @param[out] pDst points to the real output vector
4612 * of data and each call to the function returns a single processed value.
4613 * <code>S</code> points to an instance of the PID control data structure. <code>in</code>
4632 * The controller attempts to minimize the error by adjusting the process control inputs.
4633 * The proportional value determines the reaction to the current error,
4652 …* Instance structure cannot be placed into a const data section and it is recommended to use the i…
4657 * Refer to the function specific documentation below for usage guidelines.
4668 * @param[in] in input sample to process
4686 /* return to application */ in arm_pid_f32()
4693 * @param[in,out] S points to an instance of the Q31 PID Control structure
4694 * @param[in] in input sample to process
4702 …* In order to avoid overflows completely the input signal must be scaled down by 2 bits as there a…
4703 …umulates are performed, the 2.62 accumulator is truncated to 1.32 format and then saturated to 1.3…
4721 /* convert output to 1.31 format to add y[n-1] */ in arm_pid_q31()
4732 /* return to application */ in arm_pid_q31()
4739 * @param[in,out] S points to an instance of the Q15 PID Control structure
4740 * @param[in] in input sample to process
4749 …* After all additions have been performed, the accumulator is truncated to 34.15 format by discard…
4750 * Lastly, the accumulator is saturated to yield a result in 1.15 format.
4790 /* return to application */ in arm_pid_q15()
4801 * @param[in] src points to the instance of the input floating-point matrix structure.
4802 * @param[out] dst points to the instance of the output floating-point matrix structure.
4813 * @param[in] src points to the instance of the input floating-point matrix structure.
4814 * @param[out] dst points to the instance of the output floating-point matrix structure.
4831 …* Generally the Clarke transform uses three-phase currents <code>Ia, Ib and Ic</code> to calculate…
4838 …* The function operates on a single sample of data and each call to the function returns the proce…
4847 * Refer to the function specific documentation below for usage guidelines.
4860 * @param[out] pIalpha points to output two-phase orthogonal vector axis alpha
4861 * @param[out] pIbeta points to output two-phase orthogonal vector axis beta
4881 * @param[out] pIalpha points to output two-phase orthogonal vector axis alpha
4882 * @param[out] pIbeta points to output two-phase orthogonal vector axis beta
4896 …q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_clarke_q31()
4916 * @brief Converts the elements of the Q7 vector to Q31 vector.
4919 * @param[in] blockSize number of samples to process
4936 …* The function operates on a single sample of data and each call to the function returns the proce…
4945 * Refer to the function specific documentation below for usage guidelines.
4957 * @param[out] pIa points to output three-phase coordinate <code>a</code>
4958 * @param[out] pIb points to output three-phase coordinate <code>b</code>
4978 * @param[out] pIa points to output three-phase coordinate <code>a</code>
4979 * @param[out] pIb points to output three-phase coordinate <code>b</code>
4993 …q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_inv_clarke_q31()
5013 * @brief Converts the elements of the Q7 vector to Q15 vector.
5016 * @param[in] blockSize number of samples to process
5032 * Forward Park transform converts the input two-coordinate vector to flux and torque components.
5033 …* The Park transform can be used to realize the transformation of the <code>Ialpha</code> and the …
5034 * from the stationary to the moving reference frame and control the spatial relationship between
5040 …* The function operates on a single sample of data and each call to the function returns the proce…
5050 * Refer to the function specific documentation below for usage guidelines.
5062 * @param[out] pId points to output rotor reference frame d
5063 * @param[out] pIq points to output rotor reference frame q
5090 * @param[out] pId points to output rotor reference frame d
5091 * @param[out] pIq points to output rotor reference frame q
5109 …q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_park_q31()
5110 …q31_t product3, product4; /* Temporary variables used to store intermediate res… in arm_park_q31()
5137 * @brief Converts the elements of the Q7 vector to floating-point vector.
5140 * @param[in] blockSize is the number of samples to process
5154 * Inverse Park transform converts the input flux and torque components to two-coordinate vector.
5156 …* The function operates on a single sample of data and each call to the function returns the proce…
5166 * Refer to the function specific documentation below for usage guidelines.
5178 * @param[out] pIalpha points to output two-phase orthogonal vector axis alpha
5179 * @param[out] pIbeta points to output two-phase orthogonal vector axis beta
5203 * @param[out] pIalpha points to output two-phase orthogonal vector axis alpha
5204 * @param[out] pIbeta points to output two-phase orthogonal vector axis beta
5222 …q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_inv_park_q31()
5223 …q31_t product3, product4; /* Temporary variables used to store intermediate res… in arm_inv_park_q31()
5251 * @brief Converts the elements of the Q31 vector to floating-point vector.
5254 * @param[in] blockSize is the number of samples to process
5282 * y0, y1 are nearest values to output y
5288 * sample of data and each call to the function returns a single processed value.
5289 * <code>S</code> points to an instance of the Linear Interpolate function data structure.
5305 * @param[in] x input sample to process
5318 float32_t *pYData = S->pYData; /* pointer to output table */ in arm_linear_interp_f32()
5356 * @param[in] pYData pointer to Q31 Linear Interpolation table
5357 * @param[in] x input sample to process
5374 int32_t index; /* Index to read nearest output values */ in arm_linear_interp_q31()
5392 /* shift left by 11 to keep fract in 1.31 format */ in arm_linear_interp_q31()
5405 /* Convert y to 1.31 format */ in arm_linear_interp_q31()
5414 * @param[in] pYData pointer to Q15 Linear Interpolation table
5415 * @param[in] x input sample to process
5432 int32_t index; /* Index to read nearest output values */ in arm_linear_interp_q15()
5463 /* convert y to 1.15 format */ in arm_linear_interp_q15()
5472 * @param[in] pYData pointer to Q7 Linear Interpolation table
5473 * @param[in] x input sample to process
5489 uint32_t index; /* Index to read nearest output values */ in arm_linear_interp_q7()
5520 /* convert y to 1.7(q7) format */ in arm_linear_interp_q7()
5530 * @brief Fast approximation to the trigonometric sine function for floating-point data.
5539 * @brief Fast approximation to the trigonometric sine function for Q31 data.
5548 * @brief Fast approximation to the trigonometric sine function for Q15 data.
5557 * @brief Fast approximation to the trigonometric cosine function for floating-point data.
5566 * @brief Fast approximation to the trigonometric cosine function for Q31 data.
5575 * @brief Fast approximation to the trigonometric cosine function for Q15 data.
5601 * For the square root function, the algorithm reduces to:
5652 …* @param[in] in input value. The range of the input value is [0 +1) or 0x00000000 to 0x7FFFFF…
5664 * @param[in] in input value. The range of the input value is [0 +1) or 0x0000 to 0x7FFF.
5694 * to the current location where the input samples to be copied */ in arm_circularWrite_f32()
5702 /* copy the input sample to the circular buffer */ in arm_circularWrite_f32()
5741 * to the current location from where the input samples to be read */ in arm_circularRead_f32()
5750 /* copy the sample from the circular buffer to the destination buffer */ in arm_circularRead_f32()
5794 * to the current location where the input samples to be copied */ in arm_circularWrite_q15()
5802 /* copy the input sample to the circular buffer */ in arm_circularWrite_q15()
5840 * to the current location from where the input samples to be read */ in arm_circularRead_q15()
5850 /* copy the sample from the circular buffer to the destination buffer */ in arm_circularRead_q15()
5894 * to the current location where the input samples to be copied */ in arm_circularWrite_q7()
5902 /* copy the input sample to the circular buffer */ in arm_circularWrite_q7()
5940 * to the current location from where the input samples to be read */ in arm_circularRead_q7()
5950 /* copy the sample from the circular buffer to the destination buffer */ in arm_circularRead_q7()
5981 * @param[in] blockSize is the number of samples to process
5993 * @param[in] blockSize is the number of samples to process
6005 * @param[in] blockSize is the number of samples to process
6017 * @param[in] blockSize is the number of samples to process
6029 * @param[in] blockSize is the number of samples to process
6041 * @param[in] blockSize is the number of samples to process
6053 * @param[in] blockSize is the number of samples to process
6065 * @param[in] blockSize is the number of samples to process
6077 * @param[in] blockSize is the number of samples to process
6089 * @param[in] blockSize is the number of samples to process
6101 * @param[in] blockSize is the number of samples to process
6113 * @param[in] blockSize is the number of samples to process
6125 * @param[in] blockSize is the number of samples to process
6137 * @param[in] blockSize is the number of samples to process
6149 * @param[in] blockSize is the number of samples to process
6161 * @param[in] blockSize is the number of samples to process
6173 * @param[in] blockSize is the number of samples to process
6184 * @param[in] pSrc points to the complex input vector
6185 * @param[out] pDst points to the real output vector
6196 * @param[in] pSrc points to the complex input vector
6197 * @param[out] pDst points to the real output vector
6208 * @param[in] pSrc points to the complex input vector
6209 * @param[out] pDst points to the real output vector
6220 * @param[in] pSrcA points to the first input vector
6221 * @param[in] pSrcB points to the second input vector
6236 * @param[in] pSrcA points to the first input vector
6237 * @param[in] pSrcB points to the second input vector
6252 * @param[in] pSrcA points to the first input vector
6253 * @param[in] pSrcB points to the second input vector
6268 * @param[in] pSrcCmplx points to the complex input vector
6269 * @param[in] pSrcReal points to the real input vector
6270 * @param[out] pCmplxDst points to the complex output vector
6282 * @param[in] pSrcCmplx points to the complex input vector
6283 * @param[in] pSrcReal points to the real input vector
6284 * @param[out] pCmplxDst points to the complex output vector
6296 * @param[in] pSrcCmplx points to the complex input vector
6297 * @param[in] pSrcReal points to the real input vector
6298 * @param[out] pCmplxDst points to the complex output vector
6311 * @param[in] blockSize is the number of samples to process
6325 * @param[in] blockSize is the number of samples to process
6339 * @param[in] blockSize is the number of samples to process
6353 * @param[in] blockSize is the number of samples to process
6366 * @param[in] pSrc points to the input buffer
6380 * @param[in] pSrc points to the input buffer
6394 * @param[in] pSrc points to the input buffer
6408 * @param[in] pSrc points to the input buffer
6422 * @param[in] pSrcA points to the first input vector
6423 * @param[in] pSrcB points to the second input vector
6424 * @param[out] pDst points to the output vector
6436 * @param[in] pSrcA points to the first input vector
6437 * @param[in] pSrcB points to the second input vector
6438 * @param[out] pDst points to the output vector
6450 * @param[in] pSrcA points to the first input vector
6451 * @param[in] pSrcB points to the second input vector
6452 * @param[out] pDst points to the output vector
6463 * @brief Converts the elements of the floating-point vector to Q31 vector.
6464 * @param[in] pSrc points to the floating-point input vector
6465 * @param[out] pDst points to the Q31 output vector
6475 * @brief Converts the elements of the floating-point vector to Q15 vector.
6476 * @param[in] pSrc points to the floating-point input vector
6477 * @param[out] pDst points to the Q15 output vector
6487 * @brief Converts the elements of the floating-point vector to Q7 vector.
6488 * @param[in] pSrc points to the floating-point input vector
6489 * @param[out] pDst points to the Q7 output vector
6499 * @brief Converts the elements of the Q31 vector to Q15 vector.
6502 * @param[in] blockSize is the number of samples to process
6511 * @brief Converts the elements of the Q31 vector to Q7 vector.
6514 * @param[in] blockSize is the number of samples to process
6523 * @brief Converts the elements of the Q15 vector to floating-point vector.
6526 * @param[in] blockSize is the number of samples to process
6535 * @brief Converts the elements of the Q15 vector to Q31 vector.
6538 * @param[in] blockSize is the number of samples to process
6547 * @brief Converts the elements of the Q15 vector to Q7 vector.
6550 * @param[in] blockSize is the number of samples to process
6565 …* Bilinear interpolation is an extension of linear interpolation applied to a two dimensional grid.
6568 …* Bilinear interpolation is equivalent to two step linear interpolation, first in the x-dimension …
6569 * Bilinear interpolation is often used in image processing to rescale images.
6588 * and <code>pData</code> points to an array of size <code>numRows*numCols</code> values.
6607 * The integer components specify which portion of the table to use while the
6623 * @param[in,out] S points to an instance of the interpolation structure.
6681 /* return to application */ in arm_bilinear_interp_f32()
6689 * @param[in,out] S points to an instance of the interpolation structure.
6704 q31_t *pYData = S->pData; /* pointer to output table values */ in arm_bilinear_interp_q31()
6725 /* shift left xfract by 11 to keep 1.31 format */ in arm_bilinear_interp_q31()
6733 /* shift left yfract by 11 to keep 1.31 format */ in arm_bilinear_interp_q31()
6744 /* x2 * (xfract) * (1-yfract) in 3.29(q29) and adding to acc */ in arm_bilinear_interp_q31()
6748 /* y1 * (1 - xfract) * (yfract) in 3.29(q29) and adding to acc */ in arm_bilinear_interp_q31()
6752 /* y2 * (xfract) * (yfract) in 3.29(q29) and adding to acc */ in arm_bilinear_interp_q31()
6756 /* Convert acc to 1.31(q31) format */ in arm_bilinear_interp_q31()
6763 * @param[in,out] S points to an instance of the interpolation structure.
6778 q15_t *pYData = S->pData; /* pointer to output table values */ in arm_bilinear_interp_q15()
6817 /* convert 13.35 to 13.31 by right shifting and out is in 1.31 */ in arm_bilinear_interp_q15()
6821 /* x2 * (xfract) * (1-yfract) in 1.51 and adding to acc */ in arm_bilinear_interp_q15()
6825 /* y1 * (1 - xfract) * (yfract) in 1.51 and adding to acc */ in arm_bilinear_interp_q15()
6829 /* y2 * (xfract) * (yfract) in 1.51 and adding to acc */ in arm_bilinear_interp_q15()
6834 /* Convert out to 1.15 format */ in arm_bilinear_interp_q15()
6841 * @param[in,out] S points to an instance of the interpolation structure.
6856 q7_t *pYData = S->pData; /* pointer to output table values */ in arm_bilinear_interp_q7()
6896 /* x2 * (xfract) * (1-yfract) in 2.22 and adding to acc */ in arm_bilinear_interp_q7()
6900 /* y1 * (1 - xfract) * (yfract) in 2.22 and adding to acc */ in arm_bilinear_interp_q7()
6904 /* y2 * (xfract) * (yfract) in 2.22 and adding to acc */ in arm_bilinear_interp_q7()
6908 /* acc in 16.47 format and down shift by 40 to convert to 1.7 format */ in arm_bilinear_interp_q7()