Home
last modified time | relevance | path

Searched refs:xfract (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/InterpolationFunctions/
Darm_bilinear_interp_q7.c55 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q7() local
80 xfract = (X & (q31_t)0x000FFFFF); in arm_bilinear_interp_q7()
95 out = ((x1 * (0xFFFFF - xfract))); in arm_bilinear_interp_q7()
100 acc += (((q63_t) out * (xfract))); in arm_bilinear_interp_q7()
103 out = ((y1 * (0xFFFFF - xfract))); in arm_bilinear_interp_q7()
108 acc += (((q63_t) out * (xfract))); in arm_bilinear_interp_q7()
Darm_bilinear_interp_q15.c55 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q15() local
79 xfract = (X & 0x000FFFFF); in arm_bilinear_interp_q15()
97 out = (q31_t) (((q63_t) x1 * (0x0FFFFF - xfract)) >> 4U); in arm_bilinear_interp_q15()
102 acc += ((q63_t) out * (xfract)); in arm_bilinear_interp_q15()
105 out = (q31_t) (((q63_t) y1 * (0x0FFFFF - xfract)) >> 4U); in arm_bilinear_interp_q15()
109 out = (q31_t) (((q63_t) y2 * (xfract)) >> 4U); in arm_bilinear_interp_q15()
Darm_bilinear_interp_q31.c55 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q31() local
80 xfract = (X & 0x000FFFFF) << 11U; in arm_bilinear_interp_q31()
95 out = ((q31_t) (((q63_t) x1 * (0x7FFFFFFF - xfract)) >> 32)); in arm_bilinear_interp_q31()
100 acc += ((q31_t) ((q63_t) out * (xfract) >> 32)); in arm_bilinear_interp_q31()
103 out = ((q31_t) ((q63_t) y1 * (0x7FFFFFFF - xfract) >> 32)); in arm_bilinear_interp_q31()
107 out = ((q31_t) ((q63_t) y2 * (xfract) >> 32)); in arm_bilinear_interp_q31()
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/Include/
Darm_math.h7008 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q31() local
7033 xfract = (X & 0x000FFFFF) << 11U; in arm_bilinear_interp_q31()
7048 out = ((q31_t) (((q63_t) x1 * (0x7FFFFFFF - xfract)) >> 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()
7060 out = ((q31_t) ((q63_t) y2 * (xfract) >> 32)); in arm_bilinear_interp_q31()
7083 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q15() local
7107 xfract = (X & 0x000FFFFF); in arm_bilinear_interp_q15()
7125 out = (q31_t) (((q63_t) x1 * (0xFFFFF - xfract)) >> 4U); in arm_bilinear_interp_q15()
7130 acc += ((q63_t) out * (xfract)); in arm_bilinear_interp_q15()
[all …]