Lines Matching refs:roiAfMain
638 cam_roi_info_t roiAfMain; in translateInputParams() local
640 READ_PARAM_ENTRY(paramsMainCam, CAM_INTF_PARM_AF_ROI, roiAfMain); in translateInputParams()
641 if (roiAfMain.num_roi > 0) { in translateInputParams()
642 roiAfAux = translateFocusAreas(roiAfMain, CAM_TYPE_AUX); in translateInputParams()
643 roiAfMain = translateFocusAreas(roiAfMain, CAM_TYPE_MAIN); in translateInputParams()
645 ADD_SET_PARAM_ENTRY_TO_BATCH(paramsMainCam, CAM_INTF_PARM_AF_ROI, roiAfMain); in translateInputParams()
1842 cam_roi_info_t roiAfMain, in translateFocusAreas() argument
1852 cam_roi_info_t roiAfTrans = roiAfMain; in translateFocusAreas()
1880 for (int i = 0; i < roiAfMain.num_roi; ++i) { in translateFocusAreas()
1881 roiAfTrans.roi[i].width = roiAfMain.roi[i].width * fovRatio; in translateFocusAreas()
1882 roiAfTrans.roi[i].height = roiAfMain.roi[i].height * fovRatio; in translateFocusAreas()
1884 AuxDiffRoiLeft = (roiAfTrans.roi[i].width - roiAfMain.roi[i].width) / 2.0f; in translateFocusAreas()
1885 AuxRoiLeft = roiAfMain.roi[i].left - AuxDiffRoiLeft; in translateFocusAreas()
1886 AuxDiffRoiTop = (roiAfTrans.roi[i].height - roiAfMain.roi[i].height) / 2.0f; in translateFocusAreas()
1887 AuxRoiTop = roiAfMain.roi[i].top - AuxDiffRoiTop; in translateFocusAreas()
1900 roiAfTrans = roiAfMain; in translateFocusAreas()