• Home
  • Raw
  • Download

Lines Matching refs:roiAfTrans

1852     cam_roi_info_t roiAfTrans = roiAfMain;  in translateFocusAreas()  local
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()
1886 AuxDiffRoiTop = (roiAfTrans.roi[i].height - roiAfMain.roi[i].height) / 2.0f; in translateFocusAreas()
1889 roiAfTrans.roi[i].left = AuxRoiLeft - shiftHorzAdjusted; in translateFocusAreas()
1890 roiAfTrans.roi[i].top = AuxRoiTop - shiftVertAdjusted; in translateFocusAreas()
1894 if ((roiAfTrans.roi[i].left >= mFovControlData.previewSize.width) || in translateFocusAreas()
1895 (roiAfTrans.roi[i].top >= mFovControlData.previewSize.height) || in translateFocusAreas()
1896 (roiAfTrans.roi[i].width >= mFovControlData.previewSize.width) || in translateFocusAreas()
1897 (roiAfTrans.roi[i].height >= mFovControlData.previewSize.height)) { in translateFocusAreas()
1900 roiAfTrans = roiAfMain; in translateFocusAreas()
1903 if (roiAfTrans.roi[i].left < 0) { in translateFocusAreas()
1904 roiAfTrans.roi[i].left = 0; in translateFocusAreas()
1907 if (roiAfTrans.roi[i].top < 0) { in translateFocusAreas()
1908 roiAfTrans.roi[i].top = 0; in translateFocusAreas()
1911 if ((roiAfTrans.roi[i].left + roiAfTrans.roi[i].width) >= in translateFocusAreas()
1913 roiAfTrans.roi[i].width = in translateFocusAreas()
1914 mFovControlData.previewSize.width - roiAfTrans.roi[i].left; in translateFocusAreas()
1917 if ((roiAfTrans.roi[i].top + roiAfTrans.roi[i].height) >= in translateFocusAreas()
1919 roiAfTrans.roi[i].height = in translateFocusAreas()
1920 mFovControlData.previewSize.height - roiAfTrans.roi[i].top; in translateFocusAreas()
1926 (cam == CAM_TYPE_MAIN) ? "main cam" : "aux cam", roiAfTrans.roi[i].left, in translateFocusAreas()
1927 roiAfTrans.roi[i].top, roiAfTrans.roi[i].width, roiAfTrans.roi[i].height); in translateFocusAreas()
1929 return roiAfTrans; in translateFocusAreas()