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

/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp2969 float stillAspect = static_cast<float>(pictureWidth) / pictureHeight; local
2970 ALOGV("Array aspect: %f, still aspect: %f", arrayAspect, stillAspect);
2999 if (stillAspect < previewAspect) {
3000 horizCropFactor *= stillAspect / previewAspect;
3002 vertCropFactor *= previewAspect / stillAspect;
3011 horizCropFactor = (arrayAspect > stillAspect) ?
3012 (stillAspect / arrayAspect) : 1.f;
3013 vertCropFactor = (arrayAspect < stillAspect) ?
3014 (arrayAspect / stillAspect) : 1.f;

Completed in 72 milliseconds