Searched refs:scaleFactor (Results 1 – 2 of 2) sorted by relevance
1070 float scaleFactor = std::min( fHin / fHout, fWin / fWout ); in cropAndScaleThumbLocked() local1094 float fWcrop = scaleFactor * fWout; in cropAndScaleThumbLocked()1095 float fHcrop = scaleFactor * fHout; in cropAndScaleThumbLocked()1512 float scaleFactor = ((float) (width * height)) / in getJpegBufferSize() local1514 ssize_t jpegBufferSize = scaleFactor * (maxJpegBufferSize - kMinJpegBufferSize) + in getJpegBufferSize()
16280 float scaleFactor = static_cast<float>(activeArrayWidth) / width; in readSensorCalibration() local16282 cameraIntrinsics[0] = params[0] * scaleFactor; // fu -> f_x in readSensorCalibration()16283 cameraIntrinsics[1] = params[1] * scaleFactor; // fv -> f_y in readSensorCalibration()16284 cameraIntrinsics[2] = params[2] * scaleFactor; // u0 -> c_x in readSensorCalibration()16285 cameraIntrinsics[3] = params[3] * scaleFactor; // v0 -> c_y in readSensorCalibration()