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

/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.cpp2553 float stillAspect = static_cast<float>(pictureWidth) / pictureHeight; local
2554 ALOGV("Array aspect: %f, still aspect: %f", arrayAspect, stillAspect);
2583 if (stillAspect < previewAspect) {
2584 horizCropFactor *= stillAspect / previewAspect;
2586 vertCropFactor *= previewAspect / stillAspect;
2595 horizCropFactor = (arrayAspect > stillAspect) ?
2596 (stillAspect / arrayAspect) : 1.f;
2597 vertCropFactor = (arrayAspect < stillAspect) ?
2598 (arrayAspect / stillAspect) : 1.f;

Completed in 24 milliseconds