Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DZoomRatioMapper.cpp198 int32_t *arrayWidth, int32_t *arrayHeight) { in getArrayDimensionsToBeUsed() argument
199 if (settings == nullptr || arrayWidth == nullptr || arrayHeight == nullptr) { in getArrayDimensionsToBeUsed()
216 *arrayHeight = mArrayHeight; in getArrayDimensionsToBeUsed()
219 *arrayHeight = mArrayHeightMaximumResolution; in getArrayDimensionsToBeUsed()
230 int arrayHeight, arrayWidth = 0; in updateCaptureRequest() local
231 res = getArrayDimensionsToBeUsed(request, &arrayWidth, &arrayHeight); in updateCaptureRequest()
244 if (cropWidth < arrayWidth && cropHeight < arrayHeight) { in updateCaptureRequest()
248 cropRegionEntry.data.i32[3] = arrayHeight; in updateCaptureRequest()
254 res = separateZoomFromCropLocked(request, false/*isResult*/, arrayWidth, arrayHeight); in updateCaptureRequest()
256 res = combineZoomAndCropLocked(request, false/*isResult*/, arrayWidth, arrayHeight); in updateCaptureRequest()
[all …]
DZoomRatioMapper.h71 float scaleRatio, bool clamp, int32_t arrayWidth, int32_t arrayHeight);
73 int32_t arrayWidth, int32_t arrayHeight);
88 int arrayHeight);
90 int32_t arrayHeight);
93 int arrayHeight);
95 int arrayHeight);
97 int32_t *arrayHeight);
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1055 int32_t arrayHeight; in buildFastInfo() local
1060 arrayHeight = activeArraySize.data.i32[1]; in buildFastInfo()
1063 arrayHeight = activeArraySize.data.i32[3]; in buildFastInfo()
1249 fastInfo.arrayHeight = arrayHeight; in buildFastInfo()
2945 ALOG_ASSERT( (ret >= 0 && ret < fastInfo.arrayHeight), in cropYToArray()
2947 ret, fastInfo.arrayHeight); in cropYToArray()
2976 return (y + 1000) * (fastInfo.arrayHeight - 1) / 2000; in normalizedYToArray()
3023 return y * 2000 / (fastInfo.arrayHeight - 1) - 1000; in arrayYToNormalizedWithCrop()
3283 previewHeight, fastInfo.arrayWidth, fastInfo.arrayHeight); in calculateCropRegion()
3297 float arrayRatio = 1.f * fastInfo.arrayWidth / fastInfo.arrayHeight; in calculateCropRegion()
[all …]
DParameters.h234 int32_t arrayHeight; member