Searched refs:arrayWidth (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/camera/libcameraservice/device3/ |
D | ZoomRatioMapper.cpp | 219 int32_t *arrayWidth, int32_t *arrayHeight) { in getArrayDimensionsToBeUsed() argument 220 if (settings == nullptr || arrayWidth == nullptr || arrayHeight == nullptr) { in getArrayDimensionsToBeUsed() 236 *arrayWidth = mArrayWidth; in getArrayDimensionsToBeUsed() 239 *arrayWidth = mArrayWidthMaximumResolution; in getArrayDimensionsToBeUsed() 250 int arrayHeight, arrayWidth = 0; in updateCaptureRequest() local 251 res = getArrayDimensionsToBeUsed(request, &arrayWidth, &arrayHeight); in updateCaptureRequest() 269 if (cropWidth < arrayWidth && cropHeight < arrayHeight) { in updateCaptureRequest() 272 cropRegionEntry.data.i32[2] = arrayWidth; in updateCaptureRequest() 279 res = separateZoomFromCropLocked(request, false/*isResult*/, arrayWidth, arrayHeight); in updateCaptureRequest() 281 res = combineZoomAndCropLocked(request, false/*isResult*/, arrayWidth, arrayHeight); in updateCaptureRequest() [all …]
|
D | ZoomRatioMapper.h | 73 float scaleRatio, bool clamp, int32_t arrayWidth, int32_t arrayHeight); 75 int32_t arrayWidth, int32_t arrayHeight); 89 status_t deriveZoomRatio(const CameraMetadata* metadata, float *zoomRatio, int arrayWidth, 91 void scaleRects(int32_t* rects, int rectCount, float scaleRatio, int32_t arrayWidth, 94 status_t separateZoomFromCropLocked(CameraMetadata* metadata, bool isResult, int arrayWidth, 96 status_t combineZoomAndCropLocked(CameraMetadata* metadata, bool isResult, int arrayWidth, 98 status_t getArrayDimensionsToBeUsed(const CameraMetadata *settings, int32_t *arrayWidth,
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 1054 int32_t arrayWidth; in buildFastInfo() local 1059 arrayWidth = activeArraySize.data.i32[0]; in buildFastInfo() 1062 arrayWidth = activeArraySize.data.i32[2]; in buildFastInfo() 1248 fastInfo.arrayWidth = arrayWidth; in buildFastInfo() 2929 ALOG_ASSERT( (ret >= 0 && ret < fastInfo.arrayWidth), in cropXToArray() 2931 ret, fastInfo.arrayWidth); in cropXToArray() 2967 return (x + 1000) * (fastInfo.arrayWidth - 1) / 2000; in normalizedXToArray() 3012 return x * 2000 / (fastInfo.arrayWidth - 1) - 1000; in arrayXToNormalizedWithCrop() 3283 previewHeight, fastInfo.arrayWidth, fastInfo.arrayHeight); in calculateCropRegion() 3297 float arrayRatio = 1.f * fastInfo.arrayWidth / fastInfo.arrayHeight; in calculateCropRegion() [all …]
|
D | Parameters.h | 233 int32_t arrayWidth; member
|