Home
last modified time | relevance | path

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

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedRequestState.cpp81 const int32_t* a_region = entry.data.i32; in Update3AMeteringRegion() local
83 if (a_region[0] < crop_region[2] && crop_region[0] < a_region[2] && in Update3AMeteringRegion()
84 a_region[1] < crop_region[3] && crop_region[1] < a_region[3]) { in Update3AMeteringRegion()
85 region[0] = std::max(a_region[0], crop_region[0]); in Update3AMeteringRegion()
86 region[1] = std::max(a_region[1], crop_region[1]); in Update3AMeteringRegion()
87 region[2] = std::min(a_region[2], crop_region[2]); in Update3AMeteringRegion()
88 region[3] = std::min(a_region[3], crop_region[3]); in Update3AMeteringRegion()