Lines Matching refs:kuiScaleBitWidth
121 const uint32_t kuiScaleBitWidth = 16, kuiScaleBitHeight = 15; in GeneralBilinearFastDownsampler_c() local
122 const uint32_t kuiScaleWidth = (1 << kuiScaleBitWidth), kuiScaleHeight = (1 << kuiScaleBitHeight); in GeneralBilinearFastDownsampler_c()
139 iXInverse = 1 << (kuiScaleBitWidth - 1); in GeneralBilinearFastDownsampler_c()
141 int32_t iXx = iXInverse >> kuiScaleBitWidth; in GeneralBilinearFastDownsampler_c()
152 … x = (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (kuiScaleHeight - 1 - fv) >> kuiScaleBitWidth) * a; in GeneralBilinearFastDownsampler_c()
153 x += (((uint32_t) (iFu)) * (kuiScaleHeight - 1 - fv) >> kuiScaleBitWidth) * b; in GeneralBilinearFastDownsampler_c()
154 x += (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (fv) >> kuiScaleBitWidth) * c; in GeneralBilinearFastDownsampler_c()
155 x += (((uint32_t) (iFu)) * (fv) >> kuiScaleBitWidth) * d; in GeneralBilinearFastDownsampler_c()
166 *pByDst = * (pBySrc + (iXInverse >> kuiScaleBitWidth)); in GeneralBilinearFastDownsampler_c()
177 iXInverse = 1 << (kuiScaleBitWidth - 1); in GeneralBilinearFastDownsampler_c()
179 int32_t iXx = iXInverse >> kuiScaleBitWidth; in GeneralBilinearFastDownsampler_c()