Home
last modified time | relevance | path

Searched refs:yfract (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
88 yfract = (Y & (q31_t)0x000FFFFF); in arm_bilinear_interp_q7()
96 acc = (((q63_t) out * (0xFFFFF - yfract))); in arm_bilinear_interp_q7()
99 out = ((x2 * (0xFFFFF - yfract))); in arm_bilinear_interp_q7()
104 acc += (((q63_t) out * (yfract))); in arm_bilinear_interp_q7()
107 out = ((y2 * (yfract))); in arm_bilinear_interp_q7()
Darm_bilinear_interp_q15.c55 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q15() local
87 yfract = (Y & 0x000FFFFF); in arm_bilinear_interp_q15()
98 acc = ((q63_t) out * (0x0FFFFF - yfract)); in arm_bilinear_interp_q15()
101 out = (q31_t) (((q63_t) x2 * (0x0FFFFF - yfract)) >> 4U); in arm_bilinear_interp_q15()
106 acc += ((q63_t) out * (yfract)); in arm_bilinear_interp_q15()
110 acc += ((q63_t) out * (yfract)); in arm_bilinear_interp_q15()
Darm_bilinear_interp_q31.c55 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q31() local
88 yfract = (Y & 0x000FFFFF) << 11U; in arm_bilinear_interp_q31()
96 acc = ((q31_t) (((q63_t) out * (0x7FFFFFFF - yfract)) >> 32)); in arm_bilinear_interp_q31()
99 out = ((q31_t) ((q63_t) x2 * (0x7FFFFFFF - yfract) >> 32)); in arm_bilinear_interp_q31()
104 acc += ((q31_t) ((q63_t) out * (yfract) >> 32)); in arm_bilinear_interp_q31()
108 acc += ((q31_t) ((q63_t) out * (yfract) >> 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
7041 yfract = (Y & 0x000FFFFF) << 11U; 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()
7057 acc += ((q31_t) ((q63_t) out * (yfract) >> 32)); in arm_bilinear_interp_q31()
7061 acc += ((q31_t) ((q63_t) out * (yfract) >> 32)); in arm_bilinear_interp_q31()
7083 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q15() local
7115 yfract = (Y & 0x000FFFFF); in arm_bilinear_interp_q15()
7126 acc = ((q63_t) out * (0xFFFFF - yfract)); in arm_bilinear_interp_q15()
7129 out = (q31_t) (((q63_t) x2 * (0xFFFFF - yfract)) >> 4U); in arm_bilinear_interp_q15()
[all …]