Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
Darm_math.h7212 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q31() local
7238 xfract = (X & 0x000FFFFF) << 11u; in arm_bilinear_interp_q31()
7253 out = ((q31_t) (((q63_t) x1 * (0x7FFFFFFF - xfract)) >> 32)); in arm_bilinear_interp_q31()
7258 acc += ((q31_t) ((q63_t) out * (xfract) >> 32)); in arm_bilinear_interp_q31()
7261 out = ((q31_t) ((q63_t) y1 * (0x7FFFFFFF - xfract) >> 32)); in arm_bilinear_interp_q31()
7265 out = ((q31_t) ((q63_t) y2 * (xfract) >> 32)); in arm_bilinear_interp_q31()
7289 q31_t xfract, yfract; /* X, Y fractional parts */ in arm_bilinear_interp_q15() local
7313 xfract = (X & 0x000FFFFF); in arm_bilinear_interp_q15()
7332 out = (q31_t) (((q63_t) x1 * (0xFFFFF - xfract)) >> 4u); in arm_bilinear_interp_q15()
7337 acc += ((q63_t) out * (xfract)); in arm_bilinear_interp_q15()
[all …]