Searched refs:zoomRatio (Results 1 – 3 of 3) sorted by relevance
376 float zoomRatio = std::max(zoomRatioX, zoomRatioY); in setDigitalZoomRatio() local379 if (zoomRatio <= noZoomThreshold) { in setDigitalZoomRatio()383 static_cast<uint32_t>(std::round(zoomRatio * kRationalPrecision)), in setDigitalZoomRatio()
3200 float zoomRatio = 1 + zoomIncrement * zoom; in calculateCropRegion() local3201 ALOG_ASSERT( (zoomRatio >= 1.f && zoomRatio <= maxDigitalZoom.data.f[0]), in calculateCropRegion()3203 maxDigitalZoom.data.f[0], zoomRatio); in calculateCropRegion()3207 maxDigitalZoom.data.f[0], zoomIncrement, zoomRatio, previewWidth, in calculateCropRegion()3225 zoomWidth = fastInfo.arrayWidth / zoomRatio; in calculateCropRegion()3231 zoomHeight = fastInfo.arrayHeight / zoomRatio; in calculateCropRegion()3238 zoomWidth = fastInfo.arrayWidth / zoomRatio; in calculateCropRegion()3239 zoomHeight = fastInfo.arrayHeight / zoomRatio; in calculateCropRegion()
706 float zoomRatio = zoom * 1.0f / ZOOM_RATIO_MULTIPLIER; // normalize to 1.0 and smaller in getMaxZoomRatio() local708 return zoomRatio; in getMaxZoomRatio()