Lines Matching refs:mHalDescriptors

62     mHalDescriptors = NULL;  in QCamera2Factory()
70 mHalDescriptors = new hal_desc[mNumOfCameras]; in QCamera2Factory()
71 if ( NULL != mHalDescriptors) { in QCamera2Factory()
75 mHalDescriptors[i].cameraId = cameraId; in QCamera2Factory()
77 mHalDescriptors[i].device_version = CAMERA_DEVICE_API_VERSION_3_0; in QCamera2Factory()
79 mHalDescriptors[i].device_version = CAMERA_DEVICE_API_VERSION_1_0; in QCamera2Factory()
106 if ( NULL != mHalDescriptors ) { in ~QCamera2Factory()
107 delete [] mHalDescriptors; in ~QCamera2Factory()
248 if ( NULL == mHalDescriptors ) { in getCameraInfo()
253 if ( mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_3_0 ) { in getCameraInfo()
254 rc = QCamera3HardwareInterface::getCamInfo(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
255 } else if (mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_1_0) { in getCameraInfo()
256 rc = QCamera2HardwareInterface::getCapabilities(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
261 mHalDescriptors[camera_id].device_version); in getCameraInfo()
315 if ( NULL == mHalDescriptors ) { in cameraDeviceOpen()
320 if ( mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_3_0 ) { in cameraDeviceOpen()
321 … QCamera3HardwareInterface *hw = new QCamera3HardwareInterface(mHalDescriptors[camera_id].cameraId, in cameraDeviceOpen()
331 } else if (mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_1_0) { in cameraDeviceOpen()
345 mHalDescriptors[camera_id].device_version); in cameraDeviceOpen()