Searched refs:arrayWidth (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/camera/libcameraservice/device3/ |
D | ZoomRatioMapper.cpp | 195 int32_t *arrayWidth, int32_t *arrayHeight) { in getArrayDimensionsToBeUsed() argument 196 if (settings == nullptr || arrayWidth == nullptr || arrayHeight == nullptr) { in getArrayDimensionsToBeUsed() 212 *arrayWidth = mArrayWidth; in getArrayDimensionsToBeUsed() 215 *arrayWidth = mArrayWidthMaximumResolution; in getArrayDimensionsToBeUsed() 227 int arrayHeight, arrayWidth = 0; in updateCaptureRequest() local 228 res = getArrayDimensionsToBeUsed(request, &arrayWidth, &arrayHeight); in updateCaptureRequest() 241 if (cropWidth < arrayWidth && cropHeight < arrayHeight) { in updateCaptureRequest() 244 cropRegionEntry.data.i32[2] = arrayWidth; in updateCaptureRequest() 251 res = separateZoomFromCropLocked(request, false/*isResult*/, arrayWidth, arrayHeight); in updateCaptureRequest() 253 res = combineZoomAndCropLocked(request, false/*isResult*/, arrayWidth, arrayHeight); in updateCaptureRequest() [all …]
|
D | ZoomRatioMapper.h | 71 float scaleRatio, bool clamp, int32_t arrayWidth, int32_t arrayHeight); 85 status_t deriveZoomRatio(const CameraMetadata* metadata, float *zoomRatio, int arrayWidth, 87 void scaleRects(int32_t* rects, int rectCount, float scaleRatio, int32_t arrayWidth, 90 status_t separateZoomFromCropLocked(CameraMetadata* metadata, bool isResult, int arrayWidth, 92 status_t combineZoomAndCropLocked(CameraMetadata* metadata, bool isResult, int arrayWidth, 94 status_t getArrayDimensionsToBeUsed(const CameraMetadata *settings, int32_t *arrayWidth,
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 1013 int32_t arrayWidth; in buildFastInfo() local 1018 arrayWidth = activeArraySize.data.i32[0]; in buildFastInfo() 1021 arrayWidth = activeArraySize.data.i32[2]; in buildFastInfo() 1206 fastInfo.arrayWidth = arrayWidth; in buildFastInfo() 2885 ALOG_ASSERT( (ret >= 0 && ret < fastInfo.arrayWidth), in cropXToArray() 2887 ret, fastInfo.arrayWidth); in cropXToArray() 2923 return (x + 1000) * (fastInfo.arrayWidth - 1) / 2000; in normalizedXToArray() 2968 return x * 2000 / (fastInfo.arrayWidth - 1) - 1000; in arrayXToNormalizedWithCrop() 3237 previewHeight, fastInfo.arrayWidth, fastInfo.arrayHeight); in calculateCropRegion() 3251 float arrayRatio = 1.f * fastInfo.arrayWidth / fastInfo.arrayHeight; in calculateCropRegion() [all …]
|
D | Parameters.h | 230 int32_t arrayWidth; member
|