summaryrefslogtreecommitdiff
path: root/src/v4l2
AgeCommit message (Expand)Author
2020-01-12libcamera: request: In addBuffer() do not fetch stream from BufferNiklas Söderlund
2020-01-12libcamera: buffer: Switch from Plane to FrameBuffer::PlaneNiklas Söderlund
2020-01-12v4l2: camera_proxy: Call V4L2Camera::getBufferFd() directlyLaurent Pinchart
2020-01-12v4l2: camera: Handle memory mapping of buffers directlyNiklas Söderlund
2020-01-12v4l2: Rename FrameMetadata to V4L2FrameMetadataNiklas Söderlund
2020-01-09v4l2: camera_proxy: Fix compilation error use of undeclared identifier 'ret'Niklas Söderlund
2020-01-08v4l2: camera_proxy: Align trace message styleJacopo Mondi
2020-01-08v4l2: camera_proxy: Break out try_fmtJacopo Mondi
2020-01-08v4l2: camera_proxy: Fix try_fmt format conversionJacopo Mondi
2020-01-08v4l2: camera_proxy: Include <array>Laurent Pinchart
2020-01-07v4l2: camera_proxy: Create format info arrayLaurent Pinchart
2020-01-07v4l2: camera_proxy: Rationalize arguments to format helpersLaurent Pinchart
2020-01-07v4l2: compat_manager: Move file operations to new struct FileOperationsLaurent Pinchart
2020-01-07v4l2: Use Object::invokeMethod() return valueLaurent Pinchart
2020-01-04v4l2: Fix compilation of __open_2() and __openat_2() with gccLaurent Pinchart
2020-01-03v4l2: v4l2_compat: Add V4L2 compatibility layerPaul Elder
/span> struct camera_info *info); void setCallbacks(const camera_module_callbacks_t *callbacks); private: using Mutex = std::mutex; using MutexLocker = std::unique_lock<std::mutex>; static constexpr unsigned int firstExternalCameraId_ = 1000; CameraHalManager(); static int32_t cameraLocation(const libcamera::Camera *cam); void cameraAdded(std::shared_ptr<libcamera::Camera> cam); void cameraRemoved(std::shared_ptr<libcamera::Camera> cam); CameraDevice *cameraDeviceFromHalId(unsigned int id); std::unique_ptr<libcamera::CameraManager> cameraManager_; CameraHalConfig halConfig_; const camera_module_callbacks_t *callbacks_; std::vector<std::unique_ptr<CameraDevice>> cameras_; std::map<std::string, unsigned int> cameraIdsMap_; Mutex mutex_; unsigned int numInternalCameras_; unsigned int nextExternalCameraId_; }; #endif /* __ANDROID_CAMERA_MANAGER_H__ */