Lines Matching refs:q31_t

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()
522 q31_t val = value; in write_q15x2()
533 __STATIC_FORCEINLINE q31_t read_q7x4_ia ( in read_q7x4_ia()
536 q31_t val; in read_q7x4_ia()
549 __STATIC_FORCEINLINE q31_t read_q7x4_da ( in read_q7x4_da()
552 q31_t val; in read_q7x4_da()
568 q31_t value) in write_q7x4_ia()
570 q31_t val = value; in write_q7x4_ia()
670 __STATIC_FORCEINLINE q31_t clip_q63_to_q31( in clip_q63_to_q31()
673 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q31()
674 ((0x7FFFFFFF ^ ((q31_t) (x >> 63)))) : (q31_t) x; in clip_q63_to_q31()
683 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q15()
691 q31_t x) in clip_q31_to_q7()
693 return ((q31_t) (x >> 24) != ((q31_t) x >> 23)) ? in clip_q31_to_q7()
701 q31_t x) in clip_q31_to_q15()
703 return ((q31_t) (x >> 16) != ((q31_t) x >> 15)) ? in clip_q31_to_q15()
712 q31_t y) in mult32x64()
722 q31_t in, in arm_recip_q31()
723 q31_t * dst, in arm_recip_q31()
724 const q31_t * pRecipTable) in arm_recip_q31()
726 q31_t out; in arm_recip_q31()
805 tempVal = (uint32_t) (((q31_t) in * out) >> 15); in arm_recip_q15()
808 out = (q15_t) (((q31_t) out * tempVal) >> 14); in arm_recip_q15()
871 q31_t r, s, t, u; in __QADD8()
873 r = __SSAT(((((q31_t)x << 24) >> 24) + (((q31_t)y << 24) >> 24)), 8) & (int32_t)0x000000FF; in __QADD8()
874 s = __SSAT(((((q31_t)x << 16) >> 24) + (((q31_t)y << 16) >> 24)), 8) & (int32_t)0x000000FF; in __QADD8()
875 t = __SSAT(((((q31_t)x << 8) >> 24) + (((q31_t)y << 8) >> 24)), 8) & (int32_t)0x000000FF; in __QADD8()
876 u = __SSAT(((((q31_t)x ) >> 24) + (((q31_t)y ) >> 24)), 8) & (int32_t)0x000000FF; in __QADD8()
889 q31_t r, s, t, u; in __QSUB8()
891 r = __SSAT(((((q31_t)x << 24) >> 24) - (((q31_t)y << 24) >> 24)), 8) & (int32_t)0x000000FF; in __QSUB8()
892 s = __SSAT(((((q31_t)x << 16) >> 24) - (((q31_t)y << 16) >> 24)), 8) & (int32_t)0x000000FF; in __QSUB8()
893 t = __SSAT(((((q31_t)x << 8) >> 24) - (((q31_t)y << 8) >> 24)), 8) & (int32_t)0x000000FF; in __QSUB8()
894 u = __SSAT(((((q31_t)x ) >> 24) - (((q31_t)y ) >> 24)), 8) & (int32_t)0x000000FF; in __QSUB8()
908 q31_t r = 0, s = 0; in __QADD16()
910 r = __SSAT(((((q31_t)x << 16) >> 16) + (((q31_t)y << 16) >> 16)), 16) & (int32_t)0x0000FFFF; in __QADD16()
911 s = __SSAT(((((q31_t)x ) >> 16) + (((q31_t)y ) >> 16)), 16) & (int32_t)0x0000FFFF; in __QADD16()
924 q31_t r, s; in __SHADD16()
926 r = (((((q31_t)x << 16) >> 16) + (((q31_t)y << 16) >> 16)) >> 1) & (int32_t)0x0000FFFF; in __SHADD16()
927 s = (((((q31_t)x ) >> 16) + (((q31_t)y ) >> 16)) >> 1) & (int32_t)0x0000FFFF; in __SHADD16()
940 q31_t r, s; in __QSUB16()
942 r = __SSAT(((((q31_t)x << 16) >> 16) - (((q31_t)y << 16) >> 16)), 16) & (int32_t)0x0000FFFF; in __QSUB16()
943 s = __SSAT(((((q31_t)x ) >> 16) - (((q31_t)y ) >> 16)), 16) & (int32_t)0x0000FFFF; in __QSUB16()
956 q31_t r, s; in __SHSUB16()
958 r = (((((q31_t)x << 16) >> 16) - (((q31_t)y << 16) >> 16)) >> 1) & (int32_t)0x0000FFFF; in __SHSUB16()
959 s = (((((q31_t)x ) >> 16) - (((q31_t)y ) >> 16)) >> 1) & (int32_t)0x0000FFFF; in __SHSUB16()
972 q31_t r, s; in __QASX()
974 r = __SSAT(((((q31_t)x << 16) >> 16) - (((q31_t)y ) >> 16)), 16) & (int32_t)0x0000FFFF; in __QASX()
975 s = __SSAT(((((q31_t)x ) >> 16) + (((q31_t)y << 16) >> 16)), 16) & (int32_t)0x0000FFFF; in __QASX()
988 q31_t r, s; in __SHASX()
990 r = (((((q31_t)x << 16) >> 16) - (((q31_t)y ) >> 16)) >> 1) & (int32_t)0x0000FFFF; in __SHASX()
991 s = (((((q31_t)x ) >> 16) + (((q31_t)y << 16) >> 16)) >> 1) & (int32_t)0x0000FFFF; in __SHASX()
1004 q31_t r, s; in __QSAX()
1006 r = __SSAT(((((q31_t)x << 16) >> 16) + (((q31_t)y ) >> 16)), 16) & (int32_t)0x0000FFFF; in __QSAX()
1007 s = __SSAT(((((q31_t)x ) >> 16) - (((q31_t)y << 16) >> 16)), 16) & (int32_t)0x0000FFFF; in __QSAX()
1020 q31_t r, s; in __SHSAX()
1022 r = (((((q31_t)x << 16) >> 16) + (((q31_t)y ) >> 16)) >> 1) & (int32_t)0x0000FFFF; in __SHSAX()
1023 s = (((((q31_t)x ) >> 16) - (((q31_t)y << 16) >> 16)) >> 1) & (int32_t)0x0000FFFF; in __SHSAX()
1036 return ((uint32_t)(((((q31_t)x << 16) >> 16) * (((q31_t)y ) >> 16)) - in __SMUSDX()
1037 ((((q31_t)x ) >> 16) * (((q31_t)y << 16) >> 16)) )); in __SMUSDX()
1047 return ((uint32_t)(((((q31_t)x << 16) >> 16) * (((q31_t)y ) >> 16)) + in __SMUADX()
1048 ((((q31_t)x ) >> 16) * (((q31_t)y << 16) >> 16)) )); in __SMUADX()
1059 return ((int32_t)(clip_q63_to_q31((q63_t)x + (q31_t)y))); in __QADD()
1070 return ((int32_t)(clip_q63_to_q31((q63_t)x - (q31_t)y))); in __QSUB()
1082 return ((uint32_t)(((((q31_t)x << 16) >> 16) * (((q31_t)y << 16) >> 16)) + in __SMLAD()
1083 ((((q31_t)x ) >> 16) * (((q31_t)y ) >> 16)) + in __SMLAD()
1084 ( ((q31_t)sum ) ) )); in __SMLAD()
1096 return ((uint32_t)(((((q31_t)x << 16) >> 16) * (((q31_t)y ) >> 16)) + in __SMLADX()
1097 ((((q31_t)x ) >> 16) * (((q31_t)y << 16) >> 16)) + in __SMLADX()
1098 ( ((q31_t)sum ) ) )); in __SMLADX()
1110 return ((uint32_t)(((((q31_t)x << 16) >> 16) * (((q31_t)y ) >> 16)) - in __SMLSDX()
1111 ((((q31_t)x ) >> 16) * (((q31_t)y << 16) >> 16)) + in __SMLSDX()
1112 ( ((q31_t)sum ) ) )); in __SMLSDX()
1125 return ((uint64_t)(((((q31_t)x << 16) >> 16) * (((q31_t)y << 16) >> 16)) + in __SMLALD()
1126 ((((q31_t)x ) >> 16) * (((q31_t)y ) >> 16)) + in __SMLALD()
1140 return ((uint64_t)(((((q31_t)x << 16) >> 16) * (((q31_t)y ) >> 16)) + in __SMLALDX()
1141 ((((q31_t)x ) >> 16) * (((q31_t)y << 16) >> 16)) + in __SMLALDX()
1153 return ((uint32_t)(((((q31_t)x << 16) >> 16) * (((q31_t)y << 16) >> 16)) + in __SMUAD()
1154 ((((q31_t)x ) >> 16) * (((q31_t)y ) >> 16)) )); in __SMUAD()
1165 return ((uint32_t)(((((q31_t)x << 16) >> 16) * (((q31_t)y << 16) >> 16)) - in __SMUSD()
1166 ((((q31_t)x ) >> 16) * (((q31_t)y ) >> 16)) )); in __SMUSD()
1176 return ((uint32_t)(((((q31_t)x << 24) >> 24) & (q31_t)0x0000FFFF) | in __SXTB16()
1177 ((((q31_t)x << 8) >> 8) & (q31_t)0xFFFF0000) )); in __SXTB16()
1220q31_t *pState; /**< points to the state variable array. The array is of length numTaps+…
1221 …const q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTa…
1315 const q31_t * pSrc,
1316 q31_t * pDst,
1328 const q31_t * pSrc,
1329 q31_t * pDst,
1343 const q31_t * pCoeffs,
1344 q31_t * pState,
1392q31_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
1393 …const q31_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5…
1457 const q31_t * pSrc,
1458 q31_t * pDst,
1470 const q31_t * pSrc,
1471 q31_t * pDst,
1485 const q31_t * pCoeffs,
1486 q31_t * pState,
1553 q31_t *pData; /**< points to the data of the matrix. */
1815 q31_t scaleFract,
1830 q31_t * pData);
1869 q31_t A1; /**< The derived gain A1 = -Kp - 2Kd | Kd.*/
1882 q31_t A0; /**< The derived gain, A0 = Kp + Ki + Kd . */
1883 q31_t A1; /**< The derived gain, A1 = -Kp - 2Kd. */
1884 q31_t A2; /**< The derived gain, A2 = Kd . */
1885 q31_t state[3]; /**< The state array of length 3. */
1886 q31_t Kp; /**< The proportional gain. */
1887 q31_t Ki; /**< The integral gain. */
1888 q31_t Kd; /**< The derivative gain. */
1990 q31_t *pData; /**< points to the data table. */
2050 const q31_t * pSrcA,
2051 const q31_t * pSrcB,
2052 q31_t * pDst,
2131 const q31_t *pTwiddle; /**< points to the Twiddle factor table. */
2147 q31_t * pSrc);
2157 const q31_t *pTwiddle; /**< points to the twiddle factor table. */
2166 q31_t * pSrc);
2252 const q31_t *pTwiddle; /**< points to the Twiddle factor table. */
2259 q31_t * p1,
2314 … const q31_t *pTwiddleAReal; /**< points to the real twiddle factor table. */
2315 … const q31_t *pTwiddleBReal; /**< points to the imag twiddle factor table. */
2327 q31_t * pSrc,
2328 q31_t * pDst);
2446 q31_t normalize; /**< normalizing factor. */
2447 const q31_t *pTwiddle; /**< points to the twiddle factor table. */
2448 const q31_t *pCosFactor; /**< points to the cosFactor table. */
2470 q31_t normalize);
2481 q31_t * pState,
2482 q31_t * pInlineBuffer);
2581 const q31_t * pSrcA,
2582 const q31_t * pSrcB,
2583 q31_t * pDst,
2637 const q31_t * pSrcA,
2638 const q31_t * pSrcB,
2639 q31_t * pDst,
2698 const q31_t * pSrc,
2699 q31_t scaleFract,
2701 q31_t * pDst,
2748 const q31_t * pSrc,
2749 q31_t * pDst,
2778 q31_t * result);
2803 const q31_t * pSrcA,
2804 const q31_t * pSrcB,
2845 const q31_t * pSrc,
2847 q31_t * pDst,
2901 const q31_t * pSrc,
2902 q31_t offset,
2903 q31_t * pDst,
2950 const q31_t * pSrc,
2951 q31_t * pDst,
2998 const q31_t * pSrc,
2999 q31_t * pDst,
3046 q31_t value,
3047 q31_t * pDst,
3148 const q31_t * pSrcA,
3150 const q31_t * pSrcB,
3152 q31_t * pDst);
3164 const q31_t * pSrcA,
3166 const q31_t * pSrcB,
3168 q31_t * pDst);
3332 const q31_t * pSrcA,
3334 const q31_t * pSrcB,
3336 q31_t * pDst,
3353 const q31_t * pSrcA,
3355 const q31_t * pSrcB,
3357 q31_t * pDst,
3426 …const q31_t *pCoeffs; /**< points to the coefficient array. The array is of length num…
3427q31_t *pState; /**< points to the state variable array. The array is of length numTap…
3534 const q31_t * pSrc,
3535 q31_t * pDst,
3547 const q31_t * pSrc,
3548 q31_t * pDst,
3567 const q31_t * pCoeffs,
3568 q31_t * pState,
3590 …const q31_t *pCoeffs; /**< points to the coefficient array. The array is of length…
3591q31_t *pState; /**< points to the state variable array. The array is of length bl…
3649 const q31_t * pSrc,
3650 q31_t * pDst,
3669 const q31_t * pCoeffs,
3670 q31_t * pState,
3715 …const q31_t *pCoeffs; /**< points to the array of coefficients. The array is of length 5…
3728 q31_t * pSrc,
3729 q31_t * pDst,
3743 const q31_t * pCoeffs,
3885q31_t *pState; /**< points to the state variable array. The array is of leng…
3886 …const q31_t *pCoeffs; /**< points to the coefficient array. The array is of l…
3938 const q31_t * pCoeffs,
3939 q31_t * pState);
3951 const q31_t * pSrc,
3952 q31_t * pDst,
4001q31_t *pState; /**< points to the state variable array. The array is of leng…
4002q31_t *pkCoeffs; /**< points to the reflection coefficient array. The array is…
4003q31_t *pvCoeffs; /**< points to the ladder coefficient array. The array is of …
4059 const q31_t * pSrc,
4060 q31_t * pDst,
4076 q31_t * pkCoeffs,
4077 q31_t * pvCoeffs,
4078 q31_t * pState,
4219q31_t *pState; /**< points to the state variable array. The array is of length numTaps+block…
4220q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4221 q31_t mu; /**< step size that controls filter coefficient updates. */
4237 const q31_t * pSrc,
4238 q31_t * pRef,
4239 q31_t * pOut,
4240 q31_t * pErr,
4257 q31_t * pCoeffs,
4258 q31_t * pState,
4259 q31_t mu,
4320q31_t *pState; /**< points to the state variable array. The array is of length numTaps+bloc…
4321q31_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. */
4322 q31_t mu; /**< step size that controls filter coefficient updates. */
4324 const q31_t *recipTable; /**< points to the reciprocal initial value table. */
4325 q31_t energy; /**< saves previous frame energy. */
4326 q31_t x0; /**< saves previous input sample. */
4341 const q31_t * pSrc,
4342 q31_t * pRef,
4343 q31_t * pOut,
4344 q31_t * pErr,
4361 q31_t * pCoeffs,
4362 q31_t * pState,
4363 q31_t mu,
4516 const q31_t * pSrcA,
4518 const q31_t * pSrcB,
4520 q31_t * pDst);
4532 const q31_t * pSrcA,
4534 const q31_t * pSrcB,
4536 q31_t * pDst);
4595q31_t *pState; /**< points to the state buffer array. The array is of length maxDel…
4596 …const q31_t *pCoeffs; /**< points to the coefficient array. The array is of length n…
4674 const q31_t * pSrc,
4675 q31_t * pDst,
4676 q31_t * pScratchIn,
4693 const q31_t * pCoeffs,
4694 q31_t * pState,
4714 q31_t * pScratchOut,
4752 q31_t * pScratchOut,
4795 q31_t theta,
4796 q31_t * pSinVal,
4797 q31_t * pCosVal);
4818 const q31_t * pSrc,
4819 q31_t * pDst,
4854 const q31_t * pSrc,
4855 q31_t * pDst,
4977 __STATIC_FORCEINLINE q31_t arm_pid_q31( in arm_pid_q31()
4979 q31_t in) in arm_pid_q31()
4982 q31_t out; in arm_pid_q31()
4994 out = (q31_t) (acc >> 31U); in arm_pid_q31()
5034 acc = (q31_t) __SMUAD((uint32_t)S->A0, (uint32_t)in); in arm_pid_q15()
5040 acc = ((q31_t) S->A0) * in; in arm_pid_q15()
5043 acc += (q31_t) S->A1 * S->state[0]; in arm_pid_q15()
5044 acc += (q31_t) S->A2 * S->state[1]; in arm_pid_q15()
5048 acc += (q31_t) S->state[2] << 15; in arm_pid_q15()
5160 q31_t Ia, in arm_clarke_q31()
5161 q31_t Ib, in arm_clarke_q31()
5162 q31_t * pIalpha, in arm_clarke_q31()
5163 q31_t * pIbeta) in arm_clarke_q31()
5165q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_clarke_q31()
5171 product1 = (q31_t) (((q63_t) Ia * 0x24F34E8B) >> 30); in arm_clarke_q31()
5174 product2 = (q31_t) (((q63_t) Ib * 0x49E69D16) >> 30); in arm_clarke_q31()
5246 q31_t Ialpha, in arm_inv_clarke_q31()
5247 q31_t Ibeta, in arm_inv_clarke_q31()
5248 q31_t * pIa, in arm_inv_clarke_q31()
5249 q31_t * pIb) in arm_inv_clarke_q31()
5251q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_inv_clarke_q31()
5257 product1 = (q31_t) (((q63_t) (Ialpha) * (0x40000000)) >> 31); in arm_inv_clarke_q31()
5260 product2 = (q31_t) (((q63_t) (Ibeta) * (0x6ED9EBA1)) >> 31); in arm_inv_clarke_q31()
5350 q31_t Ialpha, in arm_park_q31()
5351 q31_t Ibeta, in arm_park_q31()
5352 q31_t * pId, in arm_park_q31()
5353 q31_t * pIq, in arm_park_q31()
5354 q31_t sinVal, in arm_park_q31()
5355 q31_t cosVal) in arm_park_q31()
5357q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_park_q31()
5358q31_t product3, product4; /* Temporary variables used to store intermediate res… in arm_park_q31()
5361 product1 = (q31_t) (((q63_t) (Ialpha) * (cosVal)) >> 31); in arm_park_q31()
5364 product2 = (q31_t) (((q63_t) (Ibeta) * (sinVal)) >> 31); in arm_park_q31()
5368 product3 = (q31_t) (((q63_t) (Ialpha) * (sinVal)) >> 31); in arm_park_q31()
5371 product4 = (q31_t) (((q63_t) (Ibeta) * (cosVal)) >> 31); in arm_park_q31()
5453 q31_t Id, in arm_inv_park_q31()
5454 q31_t Iq, in arm_inv_park_q31()
5455 q31_t * pIalpha, in arm_inv_park_q31()
5456 q31_t * pIbeta, in arm_inv_park_q31()
5457 q31_t sinVal, in arm_inv_park_q31()
5458 q31_t cosVal) in arm_inv_park_q31()
5460q31_t product1, product2; /* Temporary variables used to store intermediate res… in arm_inv_park_q31()
5461q31_t product3, product4; /* Temporary variables used to store intermediate res… in arm_inv_park_q31()
5464 product1 = (q31_t) (((q63_t) (Id) * (cosVal)) >> 31); in arm_inv_park_q31()
5467 product2 = (q31_t) (((q63_t) (Iq) * (sinVal)) >> 31); in arm_inv_park_q31()
5471 product3 = (q31_t) (((q63_t) (Id) * (sinVal)) >> 31); in arm_inv_park_q31()
5474 product4 = (q31_t) (((q63_t) (Iq) * (cosVal)) >> 31); in arm_inv_park_q31()
5593 __STATIC_FORCEINLINE q31_t arm_linear_interp_q31( in arm_linear_interp_q31()
5594 q31_t * pYData, in arm_linear_interp_q31()
5595 q31_t x, in arm_linear_interp_q31()
5598 q31_t y; /* output */ in arm_linear_interp_q31()
5599 q31_t y0, y1; /* Nearest output values */ in arm_linear_interp_q31()
5600 q31_t fract; /* fractional part */ in arm_linear_interp_q31()
5606 index = ((x & (q31_t)0xFFF00000) >> 20); in arm_linear_interp_q31()
5627 y = ((q31_t) ((q63_t) y0 * (0x7FFFFFFF - fract) >> 32)); in arm_linear_interp_q31()
5630 y += ((q31_t) (((q63_t) y1 * fract) >> 32)); in arm_linear_interp_q31()
5653 q31_t x, in arm_linear_interp_q15()
5658 q31_t fract; /* fractional part */ in arm_linear_interp_q15()
5710 q31_t x, in arm_linear_interp_q7()
5713 q31_t y; /* output */ in arm_linear_interp_q7()
5715 q31_t fract; /* fractional part */ in arm_linear_interp_q7()
5770 q31_t arm_sin_q31(
5771 q31_t x);
5797 q31_t arm_cos_q31(
5798 q31_t x);
5892 q31_t in,
5893 q31_t * pOut);
5922 q31_t * pIn,
5923 q31_t * pOut,
6246 const q31_t * pSrc,
6284 q31_t * pResult);
6318 const q31_t * pSrc,
6320 q31_t * pResult);
6354 const q31_t * pSrc,
6356 q31_t * pResult);
6390 const q31_t * pSrc,
6392 q31_t * pResult);
6426 const q31_t * pSrc,
6428 q31_t * pResult);
6462 const q31_t * pSrc,
6463 q31_t * pDst,
6491 q31_t * realResult,
6492 q31_t * imagResult);
6504 const q31_t * pSrcA,
6505 const q31_t * pSrcB,
6549 const q31_t * pSrcCmplx,
6550 const q31_t * pSrcReal,
6551 q31_t * pCmplxDst,
6605 const q31_t * pSrc,
6607 q31_t * pResult,
6661 const q31_t * pSrc,
6663 q31_t * pResult,
6703 const q31_t * pSrcA,
6704 const q31_t * pSrcB,
6705 q31_t * pDst,
6731 q31_t * pDst,
6766 const q31_t * pSrc,
6778 const q31_t * pSrc,
6790 const q31_t * pSrc,
6815 q31_t * pDst,
6851 q31_t * pDst,
7001 __STATIC_FORCEINLINE q31_t arm_bilinear_interp_q31( in arm_bilinear_interp_q31()
7003 q31_t X, in arm_bilinear_interp_q31()
7004 q31_t Y) in arm_bilinear_interp_q31()
7006 q31_t out; /* Temporary output */ in arm_bilinear_interp_q31()
7007 q31_t acc = 0; /* output */ in arm_bilinear_interp_q31()
7008 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q31()
7009 q31_t x1, x2, y1, y2; /* Nearest output values */ in arm_bilinear_interp_q31()
7011 q31_t *pYData = S->pData; /* pointer to output table values */ in arm_bilinear_interp_q31()
7017 rI = ((X & (q31_t)0xFFF00000) >> 20); in arm_bilinear_interp_q31()
7022 cI = ((Y & (q31_t)0xFFF00000) >> 20); in arm_bilinear_interp_q31()
7048 out = ((q31_t) (((q63_t) x1 * (0x7FFFFFFF - xfract)) >> 32)); in arm_bilinear_interp_q31()
7049 acc = ((q31_t) (((q63_t) out * (0x7FFFFFFF - yfract)) >> 32)); in arm_bilinear_interp_q31()
7052 out = ((q31_t) ((q63_t) x2 * (0x7FFFFFFF - yfract) >> 32)); in arm_bilinear_interp_q31()
7053 acc += ((q31_t) ((q63_t) out * (xfract) >> 32)); in arm_bilinear_interp_q31()
7056 out = ((q31_t) ((q63_t) y1 * (0x7FFFFFFF - xfract) >> 32)); in arm_bilinear_interp_q31()
7057 acc += ((q31_t) ((q63_t) out * (yfract) >> 32)); in arm_bilinear_interp_q31()
7060 out = ((q31_t) ((q63_t) y2 * (xfract) >> 32)); in arm_bilinear_interp_q31()
7061 acc += ((q31_t) ((q63_t) out * (yfract) >> 32)); in arm_bilinear_interp_q31()
7064 return ((q31_t)(acc << 2)); in arm_bilinear_interp_q31()
7077 q31_t X, in arm_bilinear_interp_q15()
7078 q31_t Y) in arm_bilinear_interp_q15()
7081 q31_t out; /* Temporary output */ in arm_bilinear_interp_q15()
7083 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q15()
7091 rI = ((X & (q31_t)0xFFF00000) >> 20); in arm_bilinear_interp_q15()
7096 cI = ((Y & (q31_t)0xFFF00000) >> 20); in arm_bilinear_interp_q15()
7125 out = (q31_t) (((q63_t) x1 * (0xFFFFF - xfract)) >> 4U); in arm_bilinear_interp_q15()
7129 out = (q31_t) (((q63_t) x2 * (0xFFFFF - yfract)) >> 4U); in arm_bilinear_interp_q15()
7133 out = (q31_t) (((q63_t) y1 * (0xFFFFF - xfract)) >> 4U); in arm_bilinear_interp_q15()
7137 out = (q31_t) (((q63_t) y2 * (xfract)) >> 4U); in arm_bilinear_interp_q15()
7155 q31_t X, in arm_bilinear_interp_q7()
7156 q31_t Y) in arm_bilinear_interp_q7()
7159 q31_t out; /* Temporary output */ in arm_bilinear_interp_q7()
7160 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q7()
7169 rI = ((X & (q31_t)0xFFF00000) >> 20); in arm_bilinear_interp_q7()
7174 cI = ((Y & (q31_t)0xFFF00000) >> 20); in arm_bilinear_interp_q7()
7185 xfract = (X & (q31_t)0x000FFFFF); in arm_bilinear_interp_q7()
7193 yfract = (Y & (q31_t)0x000FFFFF); in arm_bilinear_interp_q7()
7226 a = (q31_t) (((((q63_t) a) << 32) + ((q63_t) x * y) + 0x80000000LL ) >> 32)
7230 a = (q31_t) (((((q63_t) a) << 32) - ((q63_t) x * y) + 0x80000000LL ) >> 32)
7234 a = (q31_t) (((q63_t) x * y + 0x80000000LL ) >> 32)
7238 a += (q31_t) (((q63_t) x * y) >> 32)
7242 a -= (q31_t) (((q63_t) x * y) >> 32)
7246 a = (q31_t) (((q63_t) x * y ) >> 32)