Searched refs:scaleFactor (Results 1 – 2 of 2) sorted by relevance
1164 float scaleFactor = std::min( fHin / fHout, fWin / fWout ); in cropAndScaleThumbLocked() local1188 float fWcrop = scaleFactor * fWout; in cropAndScaleThumbLocked()1189 float fHcrop = scaleFactor * fHout; in cropAndScaleThumbLocked()1606 float scaleFactor = ((float) (width * height)) / in getJpegBufferSize() local1608 ssize_t jpegBufferSize = scaleFactor * (maxJpegBufferSize - kMinJpegBufferSize) + in getJpegBufferSize()
16732 float scaleFactor = static_cast<float>(activeArrayWidth) / width; in readSensorCalibration() local16734 cameraIntrinsics[0] = params[0] * scaleFactor; // fu -> f_x in readSensorCalibration()16735 cameraIntrinsics[1] = params[1] * scaleFactor; // fv -> f_y in readSensorCalibration()16736 cameraIntrinsics[2] = params[2] * scaleFactor; // u0 -> c_x in readSensorCalibration()16737 cameraIntrinsics[3] = params[3] * scaleFactor; // v0 -> c_y in readSensorCalibration()