Lines Matching refs:mHalDescriptors

63     mHalDescriptors = NULL;  in QCamera2Factory()
71 mHalDescriptors = new hal_desc[mNumOfCameras]; in QCamera2Factory()
72 if ( NULL != mHalDescriptors) { in QCamera2Factory()
76 mHalDescriptors[i].cameraId = cameraId; in QCamera2Factory()
78 mHalDescriptors[i].device_version = CAMERA_DEVICE_API_VERSION_3_0; in QCamera2Factory()
80 mHalDescriptors[i].device_version = CAMERA_DEVICE_API_VERSION_1_0; in QCamera2Factory()
107 if ( NULL != mHalDescriptors ) { in ~QCamera2Factory()
108 delete [] mHalDescriptors; in ~QCamera2Factory()
240 if ( NULL == mHalDescriptors ) { in getCameraInfo()
245 if ( mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_3_0 ) { in getCameraInfo()
246 rc = QCamera3HardwareInterface::getCamInfo(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
247 } else if (mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_1_0) { in getCameraInfo()
248 rc = QCamera2HardwareInterface::getCapabilities(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
253 mHalDescriptors[camera_id].device_version); in getCameraInfo()
307 if ( NULL == mHalDescriptors ) { in cameraDeviceOpen()
312 if ( mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_3_0 ) { in cameraDeviceOpen()
313 … QCamera3HardwareInterface *hw = new QCamera3HardwareInterface(mHalDescriptors[camera_id].cameraId, in cameraDeviceOpen()
323 } else if (mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_1_0) { in cameraDeviceOpen()
337 mHalDescriptors[camera_id].device_version); in cameraDeviceOpen()