Searched refs:kiScale (Results 1 – 2 of 2) sorted by relevance
191 const int32_t kiScale = (1 << kiScaleBit); in GeneralBilinearAccurateDownsampler_c() local192 int32_t iScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kiScale); in GeneralBilinearAccurateDownsampler_c()193 int32_t iScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kiScale); in GeneralBilinearAccurateDownsampler_c()203 int32_t iFv = iYInverse & (kiScale - 1); in GeneralBilinearAccurateDownsampler_c()211 int32_t iFu = iXInverse & (kiScale - 1); in GeneralBilinearAccurateDownsampler_c()221 …x = (((int64_t) (kiScale - 1 - iFu)) * (kiScale - 1 - iFv) * a + ((int64_t)iFu) * (kiScale - 1 - i… in GeneralBilinearAccurateDownsampler_c()222 kiScale - 1 - iFu)) * iFv * c + in GeneralBilinearAccurateDownsampler_c()
127 const int32_t kiScale = (1 << kiScaleBit); in GeneralBilinearAccurateDownsampler_ref() local128 int32_t iScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kiScale); in GeneralBilinearAccurateDownsampler_ref()129 int32_t iScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kiScale); in GeneralBilinearAccurateDownsampler_ref()139 int32_t iFv = iYInverse & (kiScale - 1); in GeneralBilinearAccurateDownsampler_ref()147 int32_t iFu = iXInverse & (kiScale - 1); in GeneralBilinearAccurateDownsampler_ref()157 …x = (((int64_t) (kiScale - 1 - iFu)) * (kiScale - 1 - iFv) * a + ((int64_t)iFu) * (kiScale - 1 - i… in GeneralBilinearAccurateDownsampler_ref()158 kiScale - 1 - iFu)) * iFv * c + in GeneralBilinearAccurateDownsampler_ref()