Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DRotateAndCropMapper.cpp112 float cropAspect = static_cast<float>(cw) / ch; in updateCaptureRequest() local
124 float rw = cropAspect > mRotateAspect ? in updateCaptureRequest()
127 float rh = cropAspect >= mRotateAspect ? in updateCaptureRequest()
236 float cropAspect = static_cast<float>(cw) / ch; in updateCaptureResult() local
251 float rw = cropAspect > mRotateAspect ? in updateCaptureResult()
254 float rh = cropAspect >= mRotateAspect ? in updateCaptureResult()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp2919 float cropAspect = scalerCrop.width / scalerCrop.height; in calculatePreviewCrop() local
2921 if (previewAspect > cropAspect) { in calculatePreviewCrop()
2923 height = cropAspect * scalerCrop.height / previewAspect; in calculatePreviewCrop()
2928 width = previewAspect * scalerCrop.width / cropAspect; in calculatePreviewCrop()