Home
last modified time | relevance | path

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

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedRequestState.cpp43 int32_t crop_region[4]; in Update3AMeteringRegion() local
44 crop_region[0] = entry.data.i32[0]; in Update3AMeteringRegion()
45 crop_region[1] = entry.data.i32[1]; in Update3AMeteringRegion()
46 crop_region[2] = entry.data.i32[2] + crop_region[0]; in Update3AMeteringRegion()
47 crop_region[3] = entry.data.i32[3] + crop_region[1]; in Update3AMeteringRegion()
52 if (a_region[0] < crop_region[2] && crop_region[0] < a_region[2] && in Update3AMeteringRegion()
53 a_region[1] < crop_region[3] && crop_region[1] < a_region[3]) { in Update3AMeteringRegion()
54 region[0] = std::max(a_region[0], crop_region[0]); in Update3AMeteringRegion()
55 region[1] = std::max(a_region[1], crop_region[1]); in Update3AMeteringRegion()
56 region[2] = std::min(a_region[2], crop_region[2]); in Update3AMeteringRegion()
[all …]
/hardware/google/camera/common/hal/google_camera_hal/
Ddepth_process_block.cc587 const int32_t* crop_region = entry_crop_region_user.data.i32; in UpdateCropRegion() local
589 crop_region[0], crop_region[1], crop_region[2], crop_region[3]); in UpdateCropRegion()
593 resized_crop_region[0] = crop_region[1] / logical_to_ir_ratio_; in UpdateCropRegion()
598 resized_crop_region[1] = crop_region[0] / logical_to_ir_ratio_; in UpdateCropRegion()
604 (crop_region[3] / logical_to_ir_ratio_) + resized_crop_region[0]; in UpdateCropRegion()
610 (crop_region[2] / logical_to_ir_ratio_) + resized_crop_region[1]; in UpdateCropRegion()
/hardware/interfaces/camera/device/default/
DExternalCameraUtils.cpp803 const int32_t crop_region[] = { in fillCaptureResultCommon() local
809 UPDATE(md, ANDROID_SCALER_CROP_REGION, crop_region, ARRAY_SIZE(crop_region)); in fillCaptureResultCommon()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp672 const int32_t crop_region[] = { in fillCaptureResultCommon() local
676 UPDATE(md, ANDROID_SCALER_CROP_REGION, crop_region, ARRAY_SIZE(crop_region)); in fillCaptureResultCommon()