Lines Matching refs:pFovControl
103 QCameraFOVControl *pFovControl = NULL; in create() local
107 pFovControl = new QCameraFOVControl(); in create()
109 if (pFovControl) { in create()
111 if (pFovControl->validateAndExtractParameters(capsMainCam, capsAuxCam)) { in create()
113 if (pFovControl->mDualCamParams.paramsMain.focalLengthMm < in create()
114 pFovControl->mDualCamParams.paramsAux.focalLengthMm) { in create()
115 pFovControl->mFovControlData.camWide = CAM_TYPE_MAIN; in create()
116 pFovControl->mFovControlData.camTele = CAM_TYPE_AUX; in create()
117 pFovControl->mFovControlData.camState = STATE_WIDE; in create()
119 pFovControl->mFovControlData.camWide = CAM_TYPE_AUX; in create()
120 pFovControl->mFovControlData.camTele = CAM_TYPE_MAIN; in create()
121 pFovControl->mFovControlData.camState = STATE_TELE; in create()
125 pFovControl->mFovControlResult.camMasterPreview = CAM_TYPE_MAIN; in create()
126 pFovControl->mFovControlResult.camMaster3A = CAM_TYPE_MAIN; in create()
134 pFovControl->mFovControlData.lpmEnabled = false; in create()
136 pFovControl->mFovControlData.lpmEnabled = true; in create()
141 pFovControl->mZoomTranslator = in create()
143 if (!pFovControl->mZoomTranslator) { in create()
152 delete pFovControl; in create()
153 pFovControl = NULL; in create()
160 return pFovControl; in create()