Home
last modified time | relevance | path

Searched refs:q31_t (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/cmsis-dsp-3.7.0-3.6.0/Source/CommonTables/
Darm_common_tables.c16860 const q31_t twiddleCoef_16_q31[24] = {
16861 (q31_t)0x7FFFFFFF, (q31_t)0x00000000,
16862 (q31_t)0x7641AF3C, (q31_t)0x30FBC54D,
16863 (q31_t)0x5A82799A, (q31_t)0x5A82799A,
16864 (q31_t)0x30FBC54D, (q31_t)0x7641AF3C,
16865 (q31_t)0x00000000, (q31_t)0x7FFFFFFF,
16866 (q31_t)0xCF043AB2, (q31_t)0x7641AF3C,
16867 (q31_t)0xA57D8666, (q31_t)0x5A82799A,
16868 (q31_t)0x89BE50C3, (q31_t)0x30FBC54D,
16869 (q31_t)0x80000000, (q31_t)0x00000000,
[all …]
/cmsis-dsp-3.7.0-3.6.0/Include/dsp/
Dnone.h136 __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 …]
Dcontroller_functions.h103 q31_t theta,
104 q31_t * pSinVal,
105 q31_t * pCosVal);
182 q31_t A1; /**< The derived gain A1 = -Kp - 2Kd | Kd.*/
196 q31_t A0; /**< The derived gain, A0 = Kp + Ki + Kd . */
197 q31_t A1; /**< The derived gain, A1 = -Kp - 2Kd. */
198 q31_t A2; /**< The derived gain, A2 = Kd . */
199 q31_t state[3]; /**< The state array of length 3. */
200 q31_t Kp; /**< The proportional gain. */
201 q31_t Ki; /**< The integral gain. */
[all …]
Dfiltering_functions.h46 #define DELTA_Q31 ((q31_t)(0x100))
79q31_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…
191 const q31_t * pSrc,
192 q31_t * pDst,
204 const q31_t * pSrc,
205 q31_t * pDst,
222 const q31_t * pCoeffs,
223 q31_t * pState,
299q31_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
[all …]
/cmsis-dsp-3.7.0-3.6.0/Source/FilteringFunctions/
Darm_fir_lattice_q31.c53 const q31_t * pSrc, in arm_fir_lattice_q31()
54 q31_t * pDst, in arm_fir_lattice_q31()
57 q31_t *pState = S->pState; /* State pointer */ in arm_fir_lattice_q31()
58 const q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_fir_lattice_q31()
59 q31_t *px; /* Temporary state pointer */ in arm_fir_lattice_q31()
60 const q31_t *pk; /* Temporary coefficient pointer */ in arm_fir_lattice_q31()
63 q31_t fcurr0, fnext0, gnext0, gcurr0; /* Temporary variables */ in arm_fir_lattice_q31()
69q31_t fcurr1, fnext1, gnext1; /* Temporary variables for second sample in loop un… in arm_fir_lattice_q31()
70q31_t fcurr2, fnext2, gnext2; /* Temporary variables for third sample in loop unr… in arm_fir_lattice_q31()
71q31_t fcurr3, fnext3, gnext3; /* Temporary variables for fourth sample in loop un… in arm_fir_lattice_q31()
[all …]
Darm_conv_fast_q31.c63 const q31_t * pSrcA, in arm_conv_fast_q31()
65 const q31_t * pSrcB, in arm_conv_fast_q31()
67 q31_t * pDst) in arm_conv_fast_q31()
69 const q31_t *pIn1; /* InputA pointer */ in arm_conv_fast_q31()
70 const q31_t *pIn2; /* InputB pointer */ in arm_conv_fast_q31()
71 q31_t *pOut = pDst; /* Output pointer */ in arm_conv_fast_q31()
72 const q31_t *px; /* Intermediate inputA pointer */ in arm_conv_fast_q31()
73 const q31_t *py; /* Intermediate inputB pointer */ in arm_conv_fast_q31()
74 const q31_t *pSrc1, *pSrc2; /* Intermediate pointers */ in arm_conv_fast_q31()
75 q31_t sum, acc0, acc1, acc2, acc3; /* Accumulators */ in arm_conv_fast_q31()
[all …]
Darm_correlate_fast_q31.c65 const q31_t * pSrcA, in arm_correlate_fast_q31()
67 const q31_t * pSrcB, in arm_correlate_fast_q31()
69 q31_t * pDst) in arm_correlate_fast_q31()
71 const q31_t *pIn1; /* InputA pointer */ in arm_correlate_fast_q31()
72 const q31_t *pIn2; /* InputB pointer */ in arm_correlate_fast_q31()
73 q31_t *pOut = pDst; /* Output pointer */ in arm_correlate_fast_q31()
74 const q31_t *px; /* Intermediate inputA pointer */ in arm_correlate_fast_q31()
75 const q31_t *py; /* Intermediate inputB pointer */ in arm_correlate_fast_q31()
76 const q31_t *pSrc1; /* Intermediate pointers */ in arm_correlate_fast_q31()
77 q31_t sum, acc0, acc1, acc2, acc3; /* Accumulators */ in arm_correlate_fast_q31()
[all …]
Darm_conv_partial_fast_q31.c58 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 …]
Darm_fir_lattice_q15.c60 q31_t fcurr0, fnext0, gnext0, gcurr0; /* Temporary variables */ in arm_fir_lattice_q15()
66q31_t fcurr1, fnext1, gnext1; /* Temporary variables for second sample in loop un… in arm_fir_lattice_q15()
67q31_t fcurr2, fnext2, gnext2; /* Temporary variables for third sample in loop unr… in arm_fir_lattice_q15()
68q31_t fcurr3, fnext3, gnext3; /* Temporary variables for fourth sample in loop un… in arm_fir_lattice_q15()
96 fnext0 = (q31_t) ((gcurr0 * (*pk)) >> 15U) + fcurr0; in arm_fir_lattice_q15()
100 gnext0 = (q31_t) ((fcurr0 * (*pk)) >> 15U) + gcurr0; in arm_fir_lattice_q15()
104 fnext1 = (q31_t) ((fcurr0 * (*pk)) >> 15U) + fcurr1; in arm_fir_lattice_q15()
106 gnext1 = (q31_t) ((fcurr1 * (*pk)) >> 15U) + fcurr0; in arm_fir_lattice_q15()
115 fnext2 = (q31_t) ((fcurr1 * (*pk)) >> 15U) + fcurr2; in arm_fir_lattice_q15()
117 gnext2 = (q31_t) ((fcurr2 * (*pk)) >> 15U) + fcurr1; in arm_fir_lattice_q15()
[all …]
Darm_fir_decimate_fast_q31.c63 const q31_t * pSrc, in arm_fir_decimate_fast_q31()
64 q31_t * pDst, in arm_fir_decimate_fast_q31()
67 q31_t *pState = S->pState; /* State pointer */ in arm_fir_decimate_fast_q31()
68 const q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_fir_decimate_fast_q31()
69q31_t *pStateCur; /* Points to the current sample of the state */ in arm_fir_decimate_fast_q31()
70 q31_t *px0; /* Temporary pointer for state buffer */ in arm_fir_decimate_fast_q31()
71 …const q31_t *pb; /* Temporary pointer for coefficient buffer */ in arm_fir_decimate_fast_q31()
72q31_t x0, c0; /* Temporary variables to hold state and coefficien… in arm_fir_decimate_fast_q31()
78 q31_t *px1, *px2, *px3; in arm_fir_decimate_fast_q31()
79 q31_t x1, x2, x3; in arm_fir_decimate_fast_q31()
[all …]
Darm_conv_partial_q7.c75 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 …]
Darm_fir_q31.c65 const q31_t *pSmp = &pSamples[j]; \
74 *pOutput++ = (q31_t)asrl(acc[j], 23); \
80 const q31_t *pSmp = &pSamples[j]; \
94 const q31_t *pSmp = &pSamples[j]; \
103 *pOutput++ = (q31_t)asrl(acc[j], 23); \
109 q31_t *pRefStatePtr = S->pState + 2*ARM_ROUND_UP(blockSize, 4); \
110 q31_t *pState = pRefStatePtr; /* State pointer */ \
111 const q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ \
112 q31_t *pStateCur; /* Points to the current sample of the state */ \
113 const q31_t *pSamples; /* Temporary pointer to the sample buffer */ \
[all …]
Darm_lms_norm_q31.c66 const q31_t * pSrc, in arm_lms_norm_q31()
67 q31_t * pRef, in arm_lms_norm_q31()
68 q31_t * pOut, in arm_lms_norm_q31()
69 q31_t * pErr, in arm_lms_norm_q31()
72 q31_t *pState = S->pState; /* State pointer */ in arm_lms_norm_q31()
73 q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_lms_norm_q31()
74q31_t *pStateCurnt; /* Points to the current sample of the state */ in arm_lms_norm_q31()
75q31_t *px, *pb; /* Temporary pointers for state and coefficient buf… in arm_lms_norm_q31()
76 q31_t mu = S->mu; /* Adaptive factor */ in arm_lms_norm_q31()
81 q31_t e = 0; /* Error data sample */ in arm_lms_norm_q31()
[all …]
Darm_fir_sparse_q31.c58 const q31_t * pSrc, in arm_fir_sparse_q31()
59 q31_t * pDst, in arm_fir_sparse_q31()
60 q31_t * pScratchIn, in arm_fir_sparse_q31()
63 q31_t *pState = S->pState; /* State pointer */ in arm_fir_sparse_q31()
64 const q31_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_fir_sparse_q31()
65 q31_t *px; /* Scratch buffer pointer */ in arm_fir_sparse_q31()
66 q31_t *py = pState; /* Temporary pointers for state buffer */ in arm_fir_sparse_q31()
67 q31_t *pb = pScratchIn; /* Temporary pointers for scratch buffer */ in arm_fir_sparse_q31()
68 q31_t *pOut; /* Destination pointer */ in arm_fir_sparse_q31()
74 q31_t coeff = *pCoeffs++; /* Read the first coefficient value */ in arm_fir_sparse_q31()
[all …]
Darm_conv_q31.c66 const q31_t * pSrcA, in arm_conv_q31()
68 const q31_t * pSrcB, in arm_conv_q31()
70 q31_t * pDst) in arm_conv_q31()
72 const q31_t *pIn1 = pSrcA; /* inputA pointer */ in arm_conv_q31()
73 const q31_t *pIn2 = pSrcB; /* inputB pointer */ in arm_conv_q31()
77 const q31_t *pX; in arm_conv_q31()
78 const q31_t *pY; in arm_conv_q31()
79 const q31_t *pA; in arm_conv_q31()
80 const q31_t *pB; in arm_conv_q31()
122 *pDst++ = (q31_t) acc0; in arm_conv_q31()
[all …]
/cmsis-dsp-3.7.0-3.6.0/Source/ComplexMathFunctions/
Darm_cmplx_mult_real_q31.c54 const q31_t * pSrcCmplx, in arm_cmplx_mult_real_q31()
55 const q31_t * pSrcReal, in arm_cmplx_mult_real_q31()
56 q31_t * pCmplxDst, in arm_cmplx_mult_real_q31()
69 q31_t in; in arm_cmplx_mult_real_q31()
99 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31()
100 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31()
108 const q31_t * pSrcCmplx, in arm_cmplx_mult_real_q31()
109 const q31_t * pSrcReal, in arm_cmplx_mult_real_q31()
110 q31_t * pCmplxDst, in arm_cmplx_mult_real_q31()
114 q31_t in; /* Temporary variable */ in arm_cmplx_mult_real_q31()
[all …]
Darm_cmplx_mult_real_q15.c99 *pCmplxDst++ = (q15_t) __SSAT((((q31_t) *pSrcCmplx++ * in) >> 15), 16); in arm_cmplx_mult_real_q15()
100 *pCmplxDst++ = (q15_t) __SSAT((((q31_t) *pSrcCmplx++ * in) >> 15), 16); in arm_cmplx_mult_real_q15()
119 q31_t inA1, inA2; /* Temporary variables to hold input data */ in arm_cmplx_mult_real_q15()
120 q31_t inB1; /* Temporary variables to hold input data */ in arm_cmplx_mult_real_q15()
122q31_t mul1, mul2, mul3, mul4; /* Temporary variables to hold intermediate data */ in arm_cmplx_mult_real_q15()
142 mul1 = (q31_t) ((q15_t) (inA1) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15()
143 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15()
144 mul3 = (q31_t) ((q15_t) (inA2) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15()
145 mul4 = (q31_t) ((q15_t) (inA2 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15()
147 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15()
[all …]
Darm_cmplx_dot_prod_q15.c61 q31_t * realResult, in arm_cmplx_dot_prod_q15()
62 q31_t * imagResult) in arm_cmplx_dot_prod_q15()
162 q31_t * realResult, in arm_cmplx_dot_prod_q15()
163 q31_t * imagResult) in arm_cmplx_dot_prod_q15()
180 real_sum += (q31_t)a0 * c0; in arm_cmplx_dot_prod_q15()
181 imag_sum += (q31_t)a0 * d0; in arm_cmplx_dot_prod_q15()
182 real_sum -= (q31_t)b0 * d0; in arm_cmplx_dot_prod_q15()
183 imag_sum += (q31_t)b0 * c0; in arm_cmplx_dot_prod_q15()
190 real_sum += (q31_t)a0 * c0; in arm_cmplx_dot_prod_q15()
191 imag_sum += (q31_t)a0 * d0; in arm_cmplx_dot_prod_q15()
[all …]
Darm_cmplx_mag_q31.c56 const q31_t * pSrc, in arm_cmplx_mag_q31()
57 q31_t * pDst, in arm_cmplx_mag_q31()
66 q31_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_q31()
67 q31_t acc0, acc1; /* Accumulators */ in arm_cmplx_mag_q31()
109 acc0 = (q31_t) (((q63_t) real * real) >> 33); in arm_cmplx_mag_q31()
110 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_q31()
122 const q31_t * pSrc, in arm_cmplx_mag_q31()
123 q31_t * pDst, in arm_cmplx_mag_q31()
127 q31_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_q31()
128 q31_t acc0, acc1; /* Accumulators */ in arm_cmplx_mag_q31()
[all …]
Darm_cmplx_mag_squared_q31.c54 const q31_t * pSrc, in arm_cmplx_mag_squared_q31()
55 q31_t * pDst, in arm_cmplx_mag_squared_q31()
63 q31_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_squared_q31()
64 q31_t acc0, acc1; /* Accumulators */ in arm_cmplx_mag_squared_q31()
95 acc0 = (q31_t) (((q63_t) real * real) >> 33); in arm_cmplx_mag_squared_q31()
96 acc1 = (q31_t) (((q63_t) imag * imag) >> 33); in arm_cmplx_mag_squared_q31()
108 const q31_t * pSrc, in arm_cmplx_mag_squared_q31()
109 q31_t * pDst, in arm_cmplx_mag_squared_q31()
113 q31_t real, imag; /* Temporary input variables */ in arm_cmplx_mag_squared_q31()
114 q31_t acc0, acc1; /* Accumulators */ in arm_cmplx_mag_squared_q31()
[all …]
/cmsis-dsp-3.7.0-3.6.0/Source/MatrixFunctions/
Darm_mat_mult_q31.c72 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 …]
Darm_mat_mult_opt_q31.c76 q31_t *pInB = pSrcB->pData; /* input data matrix pointer B */ in arm_mat_mult_opt_q31_2x2_mve()
77 q31_t *pInA = pSrcA->pData; /* input data matrix pointer A */ in arm_mat_mult_opt_q31_2x2_mve()
78 q31_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_mult_opt_q31_2x2_mve()
80 q31_t *pInA0 = pInA; in arm_mat_mult_opt_q31_2x2_mve()
81 q31_t *pInA1 = pInA0 + MATRIX_DIM2; in arm_mat_mult_opt_q31_2x2_mve()
105 pOut[0 * MATRIX_DIM2] = (q31_t) acc0; in arm_mat_mult_opt_q31_2x2_mve()
106 pOut[1 * MATRIX_DIM2] = (q31_t) acc1; in arm_mat_mult_opt_q31_2x2_mve()
120 pOut[0 * MATRIX_DIM2] = (q31_t) acc0; in arm_mat_mult_opt_q31_2x2_mve()
121 pOut[1 * MATRIX_DIM2] = (q31_t) acc1; in arm_mat_mult_opt_q31_2x2_mve()
135 q31_t *pInB = pSrcB->pData; /* input data matrix pointer B */ in arm_mat_mult_opt_q31_3x3_mve()
[all …]
Darm_mat_cmplx_mult_q31.c72 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 …]
/cmsis-dsp-3.7.0-3.6.0/Source/TransformFunctions/
Darm_rfft_q31.c36 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,
107 q31_t * pSrc, in arm_rfft_q31()
108 q31_t * pDst) in arm_rfft_q31()
[all …]
/cmsis-dsp-3.7.0-3.6.0/Source/InterpolationFunctions/
Darm_bilinear_interp_q31.c48 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 const 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 …]

12345678910>>...14