Searched refs:previewAspect (Results 1 – 1 of 1) sorted by relevance
2918 float previewAspect = static_cast<float>(previewWidth) / previewHeight; in calculatePreviewCrop() local2921 if (previewAspect > cropAspect) { in calculatePreviewCrop()2923 height = cropAspect * scalerCrop.height / previewAspect; in calculatePreviewCrop()2928 width = previewAspect * scalerCrop.width / cropAspect; in calculatePreviewCrop()3294 float previewAspect = static_cast<float>(previewWidth) / previewHeight; in calculatePictureFovs() local3296 if (videoAspect > previewAspect) { in calculatePictureFovs()3297 previewAspect = videoAspect; in calculatePictureFovs()3300 if (arrayAspect < previewAspect) { in calculatePictureFovs()3301 vertCropFactor = arrayAspect / previewAspect; in calculatePictureFovs()3303 horizCropFactor = previewAspect / arrayAspect; in calculatePictureFovs()[all …]