Home
last modified time | relevance | path

Searched refs:startY (Results 1 – 2 of 2) sorted by relevance

/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3HWI.h337 bool isCropValid(int32_t startX, int32_t startY, int32_t width,
DQCamera3HWI.cpp9472 bool QCamera3HardwareInterface::isCropValid(int32_t startX, int32_t startY, int32_t width, in isCropValid() argument
9475 if ((startX < 0) || (startY < 0) || (startX >= maxWidth) || (startY >= maxHeight)) { in isCropValid()
9476 LOGE("Crop offset is invalid: %dx%d", startX, startY); in isCropValid()
9485 if (((startX + width) > maxWidth) || ((startY + height) > maxHeight)) { in isCropValid()
9486 LOGE("Crop is out of bounds: %dx%d max %dx%d", startX + width, startY + height, maxWidth, in isCropValid()