Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/google_camera_hal/
Ddepth_process_block.cc575 const int32_t* crop_region = entry_crop_region_user.data.i32; in UpdateCropRegion() local
577 crop_region[0], crop_region[1], crop_region[2], crop_region[3]); in UpdateCropRegion()
581 resized_crop_region[0] = crop_region[1] / logical_to_ir_ratio_; in UpdateCropRegion()
586 resized_crop_region[1] = crop_region[0] / logical_to_ir_ratio_; in UpdateCropRegion()
592 (crop_region[3] / logical_to_ir_ratio_) + resized_crop_region[0]; in UpdateCropRegion()
598 (crop_region[2] / logical_to_ir_ratio_) + resized_crop_region[1]; in UpdateCropRegion()
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedRequestState.cpp73 int32_t crop_region[4]; in Update3AMeteringRegion() local
74 crop_region[0] = entry.data.i32[0]; in Update3AMeteringRegion()
75 crop_region[1] = entry.data.i32[1]; in Update3AMeteringRegion()
76 crop_region[2] = entry.data.i32[2] + crop_region[0]; in Update3AMeteringRegion()
77 crop_region[3] = entry.data.i32[3] + crop_region[1]; in Update3AMeteringRegion()
82 if (a_region[0] < crop_region[2] && crop_region[0] < a_region[2] && in Update3AMeteringRegion()
83 a_region[1] < crop_region[3] && crop_region[1] < a_region[3]) { in Update3AMeteringRegion()
84 region[0] = std::max(a_region[0], crop_region[0]); in Update3AMeteringRegion()
85 region[1] = std::max(a_region[1], crop_region[1]); in Update3AMeteringRegion()
86 region[2] = std::min(a_region[2], crop_region[2]); in Update3AMeteringRegion()
[all …]
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp643 const int32_t crop_region[] = { in fillCaptureResultCommon() local
647 UPDATE(md, ANDROID_SCALER_CROP_REGION, crop_region, ARRAY_SIZE(crop_region)); in fillCaptureResultCommon()