/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/CommonTables/ |
D | arm_common_tables.c | 16922 const q31_t twiddleCoef_16_q31[24] = { 16923 (q31_t)0x7FFFFFFF, (q31_t)0x00000000, 16924 (q31_t)0x7641AF3C, (q31_t)0x30FBC54D, 16925 (q31_t)0x5A82799A, (q31_t)0x5A82799A, 16926 (q31_t)0x30FBC54D, (q31_t)0x7641AF3C, 16927 (q31_t)0x00000000, (q31_t)0x7FFFFFFF, 16928 (q31_t)0xCF043AB2, (q31_t)0x7641AF3C, 16929 (q31_t)0xA57D8666, (q31_t)0x5A82799A, 16930 (q31_t)0x89BE50C3, (q31_t)0x30FBC54D, 16931 (q31_t)0x80000000, (q31_t)0x00000000, [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Include/dsp/ |
D | none.h | 136 __STATIC_FORCEINLINE q31_t clip_q63_to_q31( in clip_q63_to_q31() 139 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q31() 140 ((0x7FFFFFFF ^ ((q31_t) (x >> 63)))) : (q31_t) x; in clip_q63_to_q31() 149 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q15() 157 q31_t x) in clip_q31_to_q7() 159 return ((q31_t) (x >> 24) != ((q31_t) x >> 23)) ? in clip_q31_to_q7() 167 q31_t x) in clip_q31_to_q15() 169 return ((q31_t) (x >> 16) != ((q31_t) x >> 15)) ? in clip_q31_to_q15() 178 q31_t y) in mult32x64() 186 a = (q31_t) (((((q63_t) a) << 32) + ((q63_t) x * y) + 0x80000000LL ) >> 32) [all …]
|
D | controller_functions.h | 83 q31_t theta, 84 q31_t * pSinVal, 85 q31_t * pCosVal); 164 q31_t A1; /**< The derived gain A1 = -Kp - 2Kd | Kd.*/ 177 q31_t A0; /**< The derived gain, A0 = Kp + Ki + Kd . */ 178 q31_t A1; /**< The derived gain, A1 = -Kp - 2Kd. */ 179 q31_t A2; /**< The derived gain, A2 = Kd . */ 180 q31_t state[3]; /**< The state array of length 3. */ 181 q31_t Kp; /**< The proportional gain. */ 182 q31_t Ki; /**< The integral gain. */ [all …]
|
D | filtering_functions.h | 46 #define DELTA_Q31 ((q31_t)(0x100)) 79 …q31_t *pState; /**< points to the state variable array. The array is of length numTaps+… 80 …const q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTa… 181 const q31_t * pSrc, 182 q31_t * pDst, 194 const q31_t * pSrc, 195 q31_t * pDst, 212 const q31_t * pCoeffs, 213 q31_t * pState, 261 …q31_t *pState; /**< Points to the array of state coefficients. The array is of length 4… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/Include/ |
D | arm_math.h | 399 typedef int32_t q31_t; typedef 454 __STATIC_FORCEINLINE q31_t read_q15x2 ( in read_q15x2() 457 q31_t val; in read_q15x2() 469 __STATIC_FORCEINLINE q31_t read_q15x2_ia ( in read_q15x2_ia() 472 q31_t val; in read_q15x2_ia() 485 __STATIC_FORCEINLINE q31_t read_q15x2_da ( in read_q15x2_da() 488 q31_t val; in read_q15x2_da() 504 q31_t value) in write_q15x2_ia() 506 q31_t val = value; in write_q15x2_ia() 520 q31_t value) in write_q15x2() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/FilteringFunctions/ |
D | arm_fir_lattice_q31.c | 54 const q31_t * pSrc, in arm_fir_lattice_q31() 55 q31_t * pDst, in arm_fir_lattice_q31() 58 q31_t *pState = S->pState; /* State pointer */ in arm_fir_lattice_q31() 59 const q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_fir_lattice_q31() 60 q31_t *px; /* Temporary state pointer */ in arm_fir_lattice_q31() 61 const q31_t *pk; /* Temporary coefficient pointer */ in arm_fir_lattice_q31() 64 q31_t fcurr0, fnext0, gnext0, gcurr0; /* Temporary variables */ in arm_fir_lattice_q31() 70 …q31_t fcurr1, fnext1, gnext1; /* Temporary variables for second sample in loop un… in arm_fir_lattice_q31() 71 …q31_t fcurr2, fnext2, gnext2; /* Temporary variables for third sample in loop unr… in arm_fir_lattice_q31() 72 …q31_t fcurr3, fnext3, gnext3; /* Temporary variables for fourth sample in loop un… in arm_fir_lattice_q31() [all …]
|
D | arm_conv_fast_q31.c | 64 const q31_t * pSrcA, in arm_conv_fast_q31() 66 const q31_t * pSrcB, in arm_conv_fast_q31() 68 q31_t * pDst) in arm_conv_fast_q31() 70 const q31_t *pIn1; /* InputA pointer */ in arm_conv_fast_q31() 71 const q31_t *pIn2; /* InputB pointer */ in arm_conv_fast_q31() 72 q31_t *pOut = pDst; /* Output pointer */ in arm_conv_fast_q31() 73 const q31_t *px; /* Intermediate inputA pointer */ in arm_conv_fast_q31() 74 const q31_t *py; /* Intermediate inputB pointer */ in arm_conv_fast_q31() 75 const q31_t *pSrc1, *pSrc2; /* Intermediate pointers */ in arm_conv_fast_q31() 76 q31_t sum, acc0, acc1, acc2, acc3; /* Accumulators */ in arm_conv_fast_q31() [all …]
|
D | arm_correlate_fast_q31.c | 66 const q31_t * pSrcA, in arm_correlate_fast_q31() 68 const q31_t * pSrcB, in arm_correlate_fast_q31() 70 q31_t * pDst) in arm_correlate_fast_q31() 72 const q31_t *pIn1; /* InputA pointer */ in arm_correlate_fast_q31() 73 const q31_t *pIn2; /* InputB pointer */ in arm_correlate_fast_q31() 74 q31_t *pOut = pDst; /* Output pointer */ in arm_correlate_fast_q31() 75 const q31_t *px; /* Intermediate inputA pointer */ in arm_correlate_fast_q31() 76 const q31_t *py; /* Intermediate inputB pointer */ in arm_correlate_fast_q31() 77 const q31_t *pSrc1; /* Intermediate pointers */ in arm_correlate_fast_q31() 78 q31_t sum, acc0, acc1, acc2, acc3; /* Accumulators */ in arm_correlate_fast_q31() [all …]
|
D | arm_conv_partial_fast_q31.c | 58 const q31_t * pSrcA, in arm_conv_partial_fast_q31() 60 const q31_t * pSrcB, in arm_conv_partial_fast_q31() 62 q31_t * pDst, in arm_conv_partial_fast_q31() 66 const q31_t *pIn1; /* InputA pointer */ in arm_conv_partial_fast_q31() 67 const q31_t *pIn2; /* InputB pointer */ in arm_conv_partial_fast_q31() 68 q31_t *pOut = pDst; /* Output pointer */ in arm_conv_partial_fast_q31() 69 const q31_t *px; /* Intermediate inputA pointer */ in arm_conv_partial_fast_q31() 70 const q31_t *py; /* Intermediate inputB pointer */ in arm_conv_partial_fast_q31() 71 const q31_t *pSrc1, *pSrc2; /* Intermediate pointers */ in arm_conv_partial_fast_q31() 72 q31_t sum; /* Accumulators */ in arm_conv_partial_fast_q31() [all …]
|
D | arm_fir_lattice_q15.c | 61 q31_t fcurr0, fnext0, gnext0, gcurr0; /* Temporary variables */ in arm_fir_lattice_q15() 67 …q31_t fcurr1, fnext1, gnext1; /* Temporary variables for second sample in loop un… in arm_fir_lattice_q15() 68 …q31_t fcurr2, fnext2, gnext2; /* Temporary variables for third sample in loop unr… in arm_fir_lattice_q15() 69 …q31_t fcurr3, fnext3, gnext3; /* Temporary variables for fourth sample in loop un… in arm_fir_lattice_q15() 97 fnext0 = (q31_t) ((gcurr0 * (*pk)) >> 15U) + fcurr0; in arm_fir_lattice_q15() 101 gnext0 = (q31_t) ((fcurr0 * (*pk)) >> 15U) + gcurr0; in arm_fir_lattice_q15() 105 fnext1 = (q31_t) ((fcurr0 * (*pk)) >> 15U) + fcurr1; in arm_fir_lattice_q15() 107 gnext1 = (q31_t) ((fcurr1 * (*pk)) >> 15U) + fcurr0; in arm_fir_lattice_q15() 116 fnext2 = (q31_t) ((fcurr1 * (*pk)) >> 15U) + fcurr2; in arm_fir_lattice_q15() 118 gnext2 = (q31_t) ((fcurr2 * (*pk)) >> 15U) + fcurr1; in arm_fir_lattice_q15() [all …]
|
D | arm_fir_decimate_fast_q31.c | 64 const q31_t * pSrc, in arm_fir_decimate_fast_q31() 65 q31_t * pDst, in arm_fir_decimate_fast_q31() 68 q31_t *pState = S->pState; /* State pointer */ in arm_fir_decimate_fast_q31() 69 const q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_fir_decimate_fast_q31() 70 … q31_t *pStateCur; /* Points to the current sample of the state */ in arm_fir_decimate_fast_q31() 71 q31_t *px0; /* Temporary pointer for state buffer */ in arm_fir_decimate_fast_q31() 72 …const q31_t *pb; /* Temporary pointer for coefficient buffer */ in arm_fir_decimate_fast_q31() 73 …q31_t x0, c0; /* Temporary variables to hold state and coefficien… in arm_fir_decimate_fast_q31() 79 q31_t *px1, *px2, *px3; in arm_fir_decimate_fast_q31() 80 q31_t x1, x2, x3; in arm_fir_decimate_fast_q31() [all …]
|
D | arm_conv_partial_q7.c | 75 q31_t sum; /* Accumulator */ in arm_conv_partial_q7() 81 q31_t acc0, acc1, acc2, acc3; /* Accumulator */ in arm_conv_partial_q7() 82 q31_t input1, input2; /* Temporary input variables */ in arm_conv_partial_q7() 186 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7() 191 input2 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7() 200 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7() 205 input2 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7() 228 sum += ((q31_t) * px++ * *py--); in arm_conv_partial_q7() 322 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7() 328 input2 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7() [all …]
|
D | arm_fir_q31.c | 66 const q31_t *pSmp = &pSamples[j]; \ 75 *pOutput++ = (q31_t)asrl(acc[j], 23); \ 81 const q31_t *pSmp = &pSamples[j]; \ 95 const q31_t *pSmp = &pSamples[j]; \ 104 *pOutput++ = (q31_t)asrl(acc[j], 23); \ 110 q31_t *pRefStatePtr = S->pState + 2*ROUND_UP(blockSize, 4); \ 111 q31_t *pState = pRefStatePtr; /* State pointer */ \ 112 const q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ \ 113 q31_t *pStateCur; /* Points to the current sample of the state */ \ 114 const q31_t *pSamples; /* Temporary pointer to the sample buffer */ \ [all …]
|
D | arm_lms_norm_q31.c | 67 const q31_t * pSrc, in arm_lms_norm_q31() 68 q31_t * pRef, in arm_lms_norm_q31() 69 q31_t * pOut, in arm_lms_norm_q31() 70 q31_t * pErr, in arm_lms_norm_q31() 73 q31_t *pState = S->pState; /* State pointer */ in arm_lms_norm_q31() 74 q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_lms_norm_q31() 75 … q31_t *pStateCurnt; /* Points to the current sample of the state */ in arm_lms_norm_q31() 76 …q31_t *px, *pb; /* Temporary pointers for state and coefficient buf… in arm_lms_norm_q31() 77 q31_t mu = S->mu; /* Adaptive factor */ in arm_lms_norm_q31() 82 q31_t e = 0; /* Error data sample */ in arm_lms_norm_q31() [all …]
|
D | arm_conv_q31.c | 67 const q31_t * pSrcA, in arm_conv_q31() 69 const q31_t * pSrcB, in arm_conv_q31() 71 q31_t * pDst) in arm_conv_q31() 73 const q31_t *pIn1 = pSrcA; /* inputA pointer */ in arm_conv_q31() 74 const q31_t *pIn2 = pSrcB; /* inputB pointer */ in arm_conv_q31() 78 const q31_t *pX; in arm_conv_q31() 79 const q31_t *pY; in arm_conv_q31() 80 const q31_t *pA; in arm_conv_q31() 81 const q31_t *pB; in arm_conv_q31() 122 *pDst++ = (q31_t) acc0; in arm_conv_q31() [all …]
|
D | arm_fir_sparse_q31.c | 59 const q31_t * pSrc, in arm_fir_sparse_q31() 60 q31_t * pDst, in arm_fir_sparse_q31() 61 q31_t * pScratchIn, in arm_fir_sparse_q31() 64 q31_t *pState = S->pState; /* State pointer */ in arm_fir_sparse_q31() 65 const q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_fir_sparse_q31() 66 q31_t *px; /* Scratch buffer pointer */ in arm_fir_sparse_q31() 67 q31_t *py = pState; /* Temporary pointers for state buffer */ in arm_fir_sparse_q31() 68 q31_t *pb = pScratchIn; /* Temporary pointers for scratch buffer */ in arm_fir_sparse_q31() 69 q31_t *pOut; /* Destination pointer */ in arm_fir_sparse_q31() 75 q31_t coeff = *pCoeffs++; /* Read the first coefficient value */ in arm_fir_sparse_q31() [all …]
|
D | arm_correlate_q31.c | 66 const q31_t * pSrcA, in arm_correlate_q31() 68 const q31_t * pSrcB, in arm_correlate_q31() 70 q31_t * pDst) in arm_correlate_q31() 72 const q31_t *pIn1 = pSrcA; /* inputA pointer */ in arm_correlate_q31() 73 const q31_t *pIn2 = pSrcB + (srcBLen - 1U); /* inputB pointer */ in arm_correlate_q31() 77 const q31_t *pX; in arm_correlate_q31() 78 const q31_t *pY; in arm_correlate_q31() 79 const q31_t *pA; in arm_correlate_q31() 80 const q31_t *pB; in arm_correlate_q31() 146 *pDst = (q31_t) acc0; in arm_correlate_q31() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/ComplexMathFunctions/ |
D | arm_cmplx_mult_real_q31.c | 55 const q31_t * pSrcCmplx, in arm_cmplx_mult_real_q31() 56 const q31_t * pSrcReal, in arm_cmplx_mult_real_q31() 57 q31_t * pCmplxDst, in arm_cmplx_mult_real_q31() 70 q31_t in; in arm_cmplx_mult_real_q31() 100 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31() 101 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31() 109 const q31_t * pSrcCmplx, in arm_cmplx_mult_real_q31() 110 const q31_t * pSrcReal, in arm_cmplx_mult_real_q31() 111 q31_t * pCmplxDst, in arm_cmplx_mult_real_q31() 115 q31_t in; /* Temporary variable */ in arm_cmplx_mult_real_q31() [all …]
|
D | arm_cmplx_mult_real_q15.c | 100 *pCmplxDst++ = (q15_t) __SSAT((((q31_t) *pSrcCmplx++ * in) >> 15), 16); in arm_cmplx_mult_real_q15() 101 *pCmplxDst++ = (q15_t) __SSAT((((q31_t) *pSrcCmplx++ * in) >> 15), 16); in arm_cmplx_mult_real_q15() 120 q31_t inA1, inA2; /* Temporary variables to hold input data */ in arm_cmplx_mult_real_q15() 121 q31_t inB1; /* Temporary variables to hold input data */ in arm_cmplx_mult_real_q15() 123 … q31_t mul1, mul2, mul3, mul4; /* Temporary variables to hold intermediate data */ in arm_cmplx_mult_real_q15() 143 mul1 = (q31_t) ((q15_t) (inA1) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 144 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 145 mul3 = (q31_t) ((q15_t) (inA2) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() 146 mul4 = (q31_t) ((q15_t) (inA2 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() 148 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() [all …]
|
D | arm_cmplx_dot_prod_q15.c | 62 q31_t * realResult, in arm_cmplx_dot_prod_q15() 63 q31_t * imagResult) in arm_cmplx_dot_prod_q15() 163 q31_t * realResult, in arm_cmplx_dot_prod_q15() 164 q31_t * imagResult) in arm_cmplx_dot_prod_q15() 181 real_sum += (q31_t)a0 * c0; in arm_cmplx_dot_prod_q15() 182 imag_sum += (q31_t)a0 * d0; in arm_cmplx_dot_prod_q15() 183 real_sum -= (q31_t)b0 * d0; in arm_cmplx_dot_prod_q15() 184 imag_sum += (q31_t)b0 * c0; in arm_cmplx_dot_prod_q15() 191 real_sum += (q31_t)a0 * c0; in arm_cmplx_dot_prod_q15() 192 imag_sum += (q31_t)a0 * d0; in arm_cmplx_dot_prod_q15() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/ |
D | arm_mat_mult_q31.c | 72 q31_t *pInB = pSrcB->pData; /* input data matrix pointer B */ in arm_mat_mult_q31_2x2_mve() 73 q31_t *pInA = pSrcA->pData; /* input data matrix pointer A */ in arm_mat_mult_q31_2x2_mve() 74 q31_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_mult_q31_2x2_mve() 76 q31_t *pInA0 = pInA; in arm_mat_mult_q31_2x2_mve() 77 q31_t *pInA1 = pInA0 + MATRIX_DIM2; in arm_mat_mult_q31_2x2_mve() 101 pOut[0 * MATRIX_DIM2] = (q31_t) acc0; in arm_mat_mult_q31_2x2_mve() 102 pOut[1 * MATRIX_DIM2] = (q31_t) acc1; in arm_mat_mult_q31_2x2_mve() 116 pOut[0 * MATRIX_DIM2] = (q31_t) acc0; in arm_mat_mult_q31_2x2_mve() 117 pOut[1 * MATRIX_DIM2] = (q31_t) acc1; in arm_mat_mult_q31_2x2_mve() 131 q31_t *pInB = pSrcB->pData; /* input data matrix pointer B */ in arm_mat_mult_q31_3x3_mve() [all …]
|
D | arm_mat_cmplx_mult_q31.c | 72 q31_t const *pInB = pSrcB->pData; /* input data matrix pointer B */ in arm_mat_cmplx_mult_q31_2x2_mve() 73 q31_t const *pInA = pSrcA->pData; /* input data matrix pointer A */ in arm_mat_cmplx_mult_q31_2x2_mve() 74 q31_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_cmplx_mult_q31_2x2_mve() 76 q31_t const *pInA0 = pInA; in arm_mat_cmplx_mult_q31_2x2_mve() 77 q31_t const *pInA1 = pInA0 + CMPLX_DIM * MATRIX_DIM2; in arm_mat_cmplx_mult_q31_2x2_mve() 88 pInB = (q31_t const *) pSrcB->pData; in arm_mat_cmplx_mult_q31_2x2_mve() 99 pOut[0 * CMPLX_DIM * MATRIX_DIM2 + 0] = (q31_t) asrl(acc0, 31); in arm_mat_cmplx_mult_q31_2x2_mve() 100 pOut[0 * CMPLX_DIM * MATRIX_DIM2 + 1] = (q31_t) asrl(acc1, 31); in arm_mat_cmplx_mult_q31_2x2_mve() 101 pOut[1 * CMPLX_DIM * MATRIX_DIM2 + 0] = (q31_t) asrl(acc2, 31); in arm_mat_cmplx_mult_q31_2x2_mve() 102 pOut[1 * CMPLX_DIM * MATRIX_DIM2 + 1] = (q31_t) asrl(acc3, 31); in arm_mat_cmplx_mult_q31_2x2_mve() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/TransformFunctions/ |
D | arm_rfft_q31.c | 36 q31_t * pSrc, 38 const q31_t * pATable, 39 const q31_t * pBTable, 40 q31_t * pDst, 44 q31_t * pSrc, 46 const q31_t * pATable, 47 const q31_t * pBTable, 48 q31_t * pDst, 85 q31_t * pSrc, in arm_rfft_q31() 86 q31_t * pDst) in arm_rfft_q31() [all …]
|
D | arm_cfft_q31.c | 40 q31_t *pSrc, in _arm_radix4_butterfly_q31_mve() 52 (0 - 16) * sizeof(q31_t *), (1 - 16) * sizeof(q31_t *), in _arm_radix4_butterfly_q31_mve() 53 (8 - 16) * sizeof(q31_t *), (9 - 16) * sizeof(q31_t *) in _arm_radix4_butterfly_q31_mve() 69 q31_t const *p_rearranged_twiddle_tab_stride2 = in _arm_radix4_butterfly_q31_mve() 72 q31_t const *p_rearranged_twiddle_tab_stride3 = &S->rearranged_twiddle_stride3[ in _arm_radix4_butterfly_q31_mve() 74 q31_t const *p_rearranged_twiddle_tab_stride1 = in _arm_radix4_butterfly_q31_mve() 77 q31_t const *pW1, *pW2, *pW3; in _arm_radix4_butterfly_q31_mve() 78 q31_t *inA = pSrc + CMPLX_DIM * i * n1; in _arm_radix4_butterfly_q31_mve() 79 q31_t *inB = inA + n2 * CMPLX_DIM; in _arm_radix4_butterfly_q31_mve() 80 q31_t *inC = inB + n2 * CMPLX_DIM; in _arm_radix4_butterfly_q31_mve() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/InterpolationFunctions/ |
D | arm_bilinear_interp_q31.c | 48 q31_t arm_bilinear_interp_q31( in arm_bilinear_interp_q31() 50 q31_t X, in arm_bilinear_interp_q31() 51 q31_t Y) in arm_bilinear_interp_q31() 53 q31_t out; /* Temporary output */ in arm_bilinear_interp_q31() 54 q31_t acc = 0; /* output */ in arm_bilinear_interp_q31() 55 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q31() 56 q31_t x1, x2, y1, y2; /* Nearest output values */ in arm_bilinear_interp_q31() 58 q31_t *pYData = S->pData; /* pointer to output table values */ in arm_bilinear_interp_q31() 64 rI = ((X & (q31_t)0xFFF00000) >> 20); in arm_bilinear_interp_q31() 69 cI = ((Y & (q31_t)0xFFF00000) >> 20); in arm_bilinear_interp_q31() [all …]
|