Searched refs:max_num_focus_areas (Results 1 – 2 of 2) sorted by relevance
386 uint8_t max_num_focus_areas; /* max num of focus areas */ member
5602 if (m_pCapability->max_num_focus_areas > MAX_ROI) { in initDefaultParameters()5603 m_pCapability->max_num_focus_areas = MAX_ROI; in initDefaultParameters()5605 set(KEY_MAX_NUM_FOCUS_AREAS, m_pCapability->max_num_focus_areas); in initDefaultParameters()5606 if (m_pCapability->max_num_focus_areas > 0) { in initDefaultParameters()8887 if (m_pCapability->max_num_focus_areas == 0 || in setFocusAreas()8893 … cam_area_t *areas = (cam_area_t *)malloc(sizeof(cam_area_t) * m_pCapability->max_num_focus_areas); in setFocusAreas()8898 memset(areas, 0, sizeof(cam_area_t) * m_pCapability->max_num_focus_areas); in setFocusAreas()8901 m_pCapability->max_num_focus_areas, in setFocusAreas()