Searched refs:inputCrop (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraDeviceSession.cpp | 949 IMapper::Rect inputCrop; in cropAndScaleLocked() local 950 ret = getCropRect(mCroppingType, inSz, outSz, &inputCrop); in cropAndScaleLocked() 958 ret = in->getCroppedLayout(inputCrop, &croppedLayout); in cropAndScaleLocked() 1000 inputCrop.width, in cropAndScaleLocked() 1001 inputCrop.height, in cropAndScaleLocked() 1015 __FUNCTION__, inputCrop.width, inputCrop.height, in cropAndScaleLocked() 1090 IMapper::Rect inputCrop { in cropAndScaleThumbLocked() local 1096 if ((inputCrop.top < 0) || in cropAndScaleThumbLocked() 1097 (inputCrop.top >= static_cast<int32_t>(inSz.height)) || in cropAndScaleThumbLocked() 1098 (inputCrop.left < 0) || in cropAndScaleThumbLocked() [all …]
|
/hardware/interfaces/camera/device/default/ |
D | ExternalCameraDeviceSession.cpp | 2364 IMapper::Rect inputCrop; in cropAndScaleLocked() local 2365 ret = getCropRect(mCroppingType, inSz, outSz, &inputCrop); in cropAndScaleLocked() 2373 ret = in->getCroppedLayout(inputCrop, &croppedLayout); in cropAndScaleLocked() 2411 static_cast<uint8_t*>(croppedLayout.cr), croppedLayout.cStride, inputCrop.width, in cropAndScaleLocked() 2412 inputCrop.height, static_cast<uint8_t*>(outLayout.y), outLayout.yStride, in cropAndScaleLocked() 2420 inputCrop.width, inputCrop.height, outSz.width, outSz.height, ret); in cropAndScaleLocked() 2491 IMapper::Rect inputCrop{.left = 2 * static_cast<int32_t>((inSz.width - cropSz.width) / 4), in cropAndScaleThumbLocked() local 2496 if ((inputCrop.top < 0) || (inputCrop.top >= static_cast<int32_t>(inSz.height)) || in cropAndScaleThumbLocked() 2497 (inputCrop.left < 0) || (inputCrop.left >= static_cast<int32_t>(inSz.width)) || in cropAndScaleThumbLocked() 2498 (inputCrop.width <= 0) || in cropAndScaleThumbLocked() [all …]
|