Searched refs:af_roi_value (Results 1 – 4 of 4) sorted by relevance
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Parm.cpp | 1931 roi_info_t af_roi_value; in setFocusAreas() local 1932 memset(&af_roi_value, 0, sizeof(roi_info_t)); in setFocusAreas() 1944 af_roi_value.num_roi = num_areas_found; in setFocusAreas() 1945 af_roi_value.roi[0].x = x1; in setFocusAreas() 1946 af_roi_value.roi[0].y = y1; in setFocusAreas() 1947 af_roi_value.roi[0].dx = dx; in setFocusAreas() 1948 af_roi_value.roi[0].dy = dy; in setFocusAreas() 1949 af_roi_value.is_multiwindow = 0; in setFocusAreas() 1950 if (native_set_parms(MM_CAMERA_PARM_AF_ROI, sizeof(roi_info_t), (void*)&af_roi_value)) in setFocusAreas()
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraParameters.cpp | 5841 cam_roi_info_t af_roi_value; in setFocusAreas() local 5842 memset(&af_roi_value, 0, sizeof(cam_roi_info_t)); in setFocusAreas() 5843 af_roi_value.num_roi = num_areas_found; in setFocusAreas() 5850 … af_roi_value.roi[i].left = (int32_t)((areas[i].rect.left + 1000.0f) * (previewWidth / 2000.0f)); in setFocusAreas() 5851 … af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); in setFocusAreas() 5852 af_roi_value.roi[i].width = (int32_t)(areas[i].rect.width * previewWidth / 2000.0f); in setFocusAreas() 5853 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); in setFocusAreas() 5854 af_roi_value.weight[i] = areas[i].weight; in setFocusAreas() 5859 sizeof(af_roi_value), in setFocusAreas() 5860 &af_roi_value); in setFocusAreas()
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraParameters.cpp | 7525 cam_roi_info_t af_roi_value; in setFocusAreas() local 7526 memset(&af_roi_value, 0, sizeof(cam_roi_info_t)); in setFocusAreas() 7527 af_roi_value.num_roi = (uint8_t)num_areas_found; in setFocusAreas() 7535 af_roi_value.roi[i].left = in setFocusAreas() 7538 af_roi_value.roi[i].top = in setFocusAreas() 7541 af_roi_value.roi[i].width = in setFocusAreas() 7544 af_roi_value.roi[i].height = in setFocusAreas() 7547 af_roi_value.weight[i] = areas[i].weight; in setFocusAreas() 7550 if (ADD_SET_PARAM_ENTRY_TO_BATCH(m_pParamBuf, CAM_INTF_PARM_AF_ROI, af_roi_value)) { in setFocusAreas()
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraParameters.cpp | 7525 cam_roi_info_t af_roi_value; in setFocusAreas() local 7526 memset(&af_roi_value, 0, sizeof(cam_roi_info_t)); in setFocusAreas() 7527 af_roi_value.num_roi = (uint8_t)num_areas_found; in setFocusAreas() 7535 af_roi_value.roi[i].left = in setFocusAreas() 7538 af_roi_value.roi[i].top = in setFocusAreas() 7541 af_roi_value.roi[i].width = in setFocusAreas() 7544 af_roi_value.roi[i].height = in setFocusAreas() 7547 af_roi_value.weight[i] = areas[i].weight; in setFocusAreas() 7550 if (ADD_SET_PARAM_ENTRY_TO_BATCH(m_pParamBuf, CAM_INTF_PARM_AF_ROI, af_roi_value)) { in setFocusAreas()
|