• Home
  • Raw
  • Download

Lines Matching refs:camera_id

185 int QCamera2Factory::get_camera_info(int camera_id, struct camera_info *info)  in get_camera_info()  argument
190 rc = gQCameraMuxer->get_camera_info(camera_id, info); in get_camera_info()
192 rc = gQCamera2Factory->getCameraInfo(camera_id, info); in get_camera_info()
229 int QCamera2Factory::is_stream_combination_supported(int camera_id, in is_stream_combination_supported() argument
232 return gQCamera2Factory->isStreamCombinationSupported(camera_id, streams); in is_stream_combination_supported()
248 int QCamera2Factory::isStreamCombinationSupported(int camera_id, in isStreamCombinationSupported() argument
251 if (!mNumOfCameras || camera_id >= mNumOfCameras || !streams || in isStreamCombinationSupported()
252 (camera_id < 0)) { in isStreamCombinationSupported()
255 mNumOfCameras, camera_id, streams); in isStreamCombinationSupported()
259 return QCamera3HardwareInterface::isStreamCombinationSupported(camera_id, streams); in isStreamCombinationSupported()
330 int QCamera2Factory::set_torch_mode(const char* camera_id, bool on) in set_torch_mode() argument
332 return gQCamera2Factory->setTorchMode(camera_id, on); in set_torch_mode()
362 int QCamera2Factory::getCameraInfo(int camera_id, struct camera_info *info) in getCameraInfo() argument
366 if (!mNumOfCameras || camera_id >= mNumOfCameras || !info || in getCameraInfo()
367 (camera_id < 0)) { in getCameraInfo()
370 mNumOfCameras, camera_id, info); in getCameraInfo()
380 camera_id, mHalDescriptors[camera_id].device_version); in getCameraInfo()
385 mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
386 if (mHalDescriptors[camera_id].device_version == in getCameraInfo()
433 int QCamera2Factory::cameraDeviceOpen(int camera_id, in cameraDeviceOpen() argument
437 if (camera_id < 0 || camera_id >= mNumOfCameras) in cameraDeviceOpen()
446 camera_id, mHalDescriptors[camera_id].device_version); in cameraDeviceOpen()
448 if ( mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_3_0 ) { in cameraDeviceOpen()
449 … QCamera3HardwareInterface *hw = new QCamera3HardwareInterface(mHalDescriptors[camera_id].cameraId, in cameraDeviceOpen()
459 } else if (mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_1_0) { in cameraDeviceOpen()
460 QCamera2HardwareInterface *hw = new QCamera2HardwareInterface((uint32_t)camera_id); in cameraDeviceOpen()
471 camera_id, in cameraDeviceOpen()
472 mHalDescriptors[camera_id].device_version); in cameraDeviceOpen()
579 int QCamera2Factory::setTorchMode(const char* camera_id, bool on) in setTorchMode() argument
588 cameraIdLong = strtol(camera_id, &endPointer, 10); in setTorchMode()
593 (endPointer == camera_id) || in setTorchMode()
604 camera_id, in setTorchMode()
619 camera_id, in setTorchMode()