Home
last modified time | relevance | path

Searched refs:scaleFactor (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp1164 float scaleFactor = std::min( fHin / fHout, fWin / fWout ); in cropAndScaleThumbLocked() local
1188 float fWcrop = scaleFactor * fWout; in cropAndScaleThumbLocked()
1189 float fHcrop = scaleFactor * fHout; in cropAndScaleThumbLocked()
1606 float scaleFactor = ((float) (width * height)) / in getJpegBufferSize() local
1608 ssize_t jpegBufferSize = scaleFactor * (maxJpegBufferSize - kMinJpegBufferSize) + in getJpegBufferSize()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp16732 float scaleFactor = static_cast<float>(activeArrayWidth) / width; in readSensorCalibration() local
16734 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()