Searched refs:rSq (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
H A DDistortionMapper.cpp317 float rSq = xwi * xwi + ywi * ywi; local
318 float Fr = 1.f + (mK[0] * rSq) + (mK[1] * rSq * rSq) + (mK[2] * rSq * rSq * rSq);
319 float xc = xwi * Fr + (mK[3] * 2 * xwi * ywi) + mK[4] * (rSq + 2 * xwi * xwi);
320 float yc = ywi * Fr + (mK[4] * 2 * xwi * ywi) + mK[3] * (rSq + 2 * ywi * ywi);

Completed in 47 milliseconds