Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DZoomRatioMapper.h43 mArrayWidth(other.mArrayWidth), mArrayHeight(other.mArrayHeight), in ZoomRatioMapper()
76 int32_t mArrayWidth, mArrayHeight; variable
DZoomRatioMapper.cpp133 mArrayWidth = arrayW; in ZoomRatioMapper()
136 mArrayWidth = activeW; in ZoomRatioMapper()
142 __FUNCTION__, mArrayWidth, mArrayHeight, mHalSupportsZoomRatio); in ZoomRatioMapper()
201 float arrayCenterX = mArrayWidth / 2.0; in deriveZoomRatio()
212 float zoomRatioLeft = std::max(mArrayWidth / (2 * cropRegionLeft), 1.0f); in deriveZoomRatio()
214 float zoomRatioRight = std::max(mArrayWidth / (2 * cropRegionRight), 1.0f); in deriveZoomRatio()
335 float xCentered = x - (mArrayWidth - 2) / 2; in scaleCoordinates()
339 scaledX += (mArrayWidth - 2) / 2; in scaleCoordinates()
345 int32_t right = mArrayWidth - 1; in scaleCoordinates()
DRotateAndCropMapper.cpp42 mArrayWidth = entry.data.i32[2]; in RotateAndCropMapper()
44 mArrayAspect = static_cast<float>(mArrayWidth) / mArrayHeight; in RotateAndCropMapper()
59 int32_t cw = mArrayWidth; in updateCaptureRequest()
175 int32_t cw = mArrayWidth; in updateCaptureResult()
311 pts[i] = std::min(std::max(nx, 0), mArrayWidth); in transformPoints()
DDistortionMapper.h43 mArrayWidth(other.mArrayWidth), mArrayHeight(other.mArrayHeight), in DistortionMapper()
188 float mArrayWidth, mArrayHeight; variable
DDistortionMapper.cpp57 mArrayWidth = static_cast<float>(array.data.i32[2]); in setupStaticInfo()
262 float scaleX = mActiveWidth / mArrayWidth; in mapRawToCorrectedSimple()
332 xr = std::min(mArrayWidth - 1, std::max(0.f, xr)); in mapCorrectedToRawImpl()
348 float scaleX = mArrayWidth / mActiveWidth; in mapCorrectedToRawImplSimple()
356 rawX = std::min(mArrayWidth - 1, std::max(0.f, rawX)); in mapCorrectedToRawImplSimple()
397 float gridMargin = mArrayWidth * kGridMargin; in buildGrids()
398 float gridSpacingX = (mArrayWidth + 2 * gridMargin) / kGridSize; in buildGrids()
DRotateAndCropMapper.h60 int32_t mArrayWidth, mArrayHeight; variable