Lines Matching refs:camera_id
219 int QCameraMuxer::get_camera_info(int camera_id, struct camera_info *info) in get_camera_info() argument
224 if ((camera_id < 0) || (camera_id >= gMuxer->getNumberOfCameras())) { in get_camera_info()
225 LOGE("Camera id %d not found!", camera_id); in get_camera_info()
229 rc = gMuxer->getCameraInfo(camera_id, info, &type); in get_camera_info()
1910 int QCameraMuxer::getCameraInfo(int camera_id, in getCameraInfo() argument
1914 LOGH("E, camera_id = %d", camera_id); in getCameraInfo()
1916 if (!m_nLogicalCameras || (camera_id >= m_nLogicalCameras) || in getCameraInfo()
1917 !info || (camera_id < 0)) { in getCameraInfo()
1919 m_nLogicalCameras, camera_id); in getCameraInfo()
1928 m_pLogicalCamera[camera_id].pId[ in getCameraInfo()
1929 m_pLogicalCamera[camera_id].nPrimaryPhyCamIndex]; in getCameraInfo()
2094 int QCameraMuxer::cameraDeviceOpen(int camera_id, in cameraDeviceOpen() argument
2101 if (camera_id < 0 || camera_id >= m_nLogicalCameras) { in cameraDeviceOpen()
2102 LOGE("Camera id %d not found!", camera_id); in cameraDeviceOpen()
2116 cam = &m_pLogicalCamera[camera_id]; in cameraDeviceOpen()
2118 if (m_pLogicalCamera[camera_id].device_version == in cameraDeviceOpen()
2166 camera_id, m_pLogicalCamera[camera_id].device_version); in cameraDeviceOpen()