Searched refs:crop_region (Results 1 – 3 of 3) sorted by relevance
575 const int32_t* crop_region = entry_crop_region_user.data.i32; in UpdateCropRegion() local577 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()
73 int32_t crop_region[4]; in Update3AMeteringRegion() local74 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 …]
643 const int32_t crop_region[] = { in fillCaptureResultCommon() local647 UPDATE(md, ANDROID_SCALER_CROP_REGION, crop_region, ARRAY_SIZE(crop_region)); in fillCaptureResultCommon()