• Home
  • Raw
  • Download

Lines Matching refs:camera_id

207 int QCamera2Factory::get_camera_info(int camera_id, struct camera_info *info)  in QCamera2Factory()  argument
212 rc = gQCameraMuxer->get_camera_info(camera_id, info); in QCamera2Factory()
215 rc = gQCamera2Factory->getCameraInfo(camera_id, info); in QCamera2Factory()
252 int QCamera2Factory::is_stream_combination_supported(int camera_id, in QCamera2Factory() argument
255 return gQCamera2Factory->isStreamCombinationSupported(camera_id, streams); in QCamera2Factory()
271 int QCamera2Factory::isStreamCombinationSupported(int camera_id, in QCamera2Factory() argument
274 if (!mNumOfCameras || camera_id >= mNumOfCameras || !streams || in QCamera2Factory()
275 (camera_id < 0)) { in QCamera2Factory()
278 mNumOfCameras, camera_id, streams); in QCamera2Factory()
282 return QCamera3HardwareInterface::isStreamCombinationSupported(camera_id, streams); in QCamera2Factory()
357 int QCamera2Factory::set_torch_mode(const char* camera_id, bool on) in QCamera2Factory() argument
359 return gQCamera2Factory->setTorchMode(camera_id, on); in QCamera2Factory()
389 int QCamera2Factory::getCameraInfo(int camera_id, struct camera_info *info) in QCamera2Factory() argument
393 if (!mNumOfCameras || camera_id >= mNumOfCameras || !info || in QCamera2Factory()
394 (camera_id < 0)) { in QCamera2Factory()
397 mNumOfCameras, camera_id, info); in QCamera2Factory()
407 camera_id, mHalDescriptors[camera_id].device_version); in QCamera2Factory()
412 mHalDescriptors[camera_id].cameraId, info); in QCamera2Factory()
413 if (mHalDescriptors[camera_id].device_version == in QCamera2Factory()
459 int QCamera2Factory::cameraDeviceOpen(int camera_id, in QCamera2Factory() argument
463 if (camera_id < 0 || camera_id >= mNumOfCameras) in QCamera2Factory()
472 camera_id, mHalDescriptors[camera_id].device_version); in QCamera2Factory()
474 if ( mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_3_0 ) { in QCamera2Factory()
476 … QCamera3HardwareInterface *hw = new QCamera3HardwareInterface(mHalDescriptors[camera_id].cameraId, in QCamera2Factory()
488 else if (mHalDescriptors[camera_id].device_version == CAMERA_DEVICE_API_VERSION_1_0) { in QCamera2Factory()
489 QCamera2HardwareInterface *hw = new QCamera2HardwareInterface((uint32_t)camera_id); in QCamera2Factory()
502 camera_id, in QCamera2Factory()
503 mHalDescriptors[camera_id].device_version); in QCamera2Factory()
613 int QCamera2Factory::setTorchMode(const char* camera_id, bool on) in QCamera2Factory() argument
622 cameraIdLong = strtol(camera_id, &endPointer, 10); in QCamera2Factory()
627 (endPointer == camera_id) || in QCamera2Factory()
638 camera_id, in QCamera2Factory()
653 camera_id, in QCamera2Factory()