Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp2748 float stillAspect = static_cast<float>(pictureWidth) / pictureHeight; in calculatePictureFovs() local
2749 ALOGV("Array aspect: %f, still aspect: %f", arrayAspect, stillAspect); in calculatePictureFovs()
2778 if (stillAspect < previewAspect) { in calculatePictureFovs()
2779 horizCropFactor *= stillAspect / previewAspect; in calculatePictureFovs()
2781 vertCropFactor *= previewAspect / stillAspect; in calculatePictureFovs()
2790 horizCropFactor = (arrayAspect > stillAspect) ? in calculatePictureFovs()
2791 (stillAspect / arrayAspect) : 1.f; in calculatePictureFovs()
2792 vertCropFactor = (arrayAspect < stillAspect) ? in calculatePictureFovs()
2793 (arrayAspect / stillAspect) : 1.f; in calculatePictureFovs()