/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * Copyright (C) 2020, Google Inc. * * v4l2_camera_file.h - V4L2 compatibility camera file information */ #pragma once #include #include class V4L2CameraProxy; class V4L2CameraFile { public: V4L2CameraFile(int dirfd, const char *path, int efd, bool nonBlocking, V4L2CameraProxy *proxy); ~V4L2CameraFile(); V4L2CameraProxy *proxy() const { return proxy_; } bool nonBlocking() const { return nonBlocking_; } int efd() const { return efd_; } enum v4l2_priority priority() const { return priority_; } void setPriority(enum v4l2_priority priority) { priority_ = priority; } const std::string &description() const; private: V4L2CameraProxy *proxy_; std::string description_; bool nonBlocking_; int efd_; enum v4l2_priority priority_; }; f46b9d96852e4160c4817730f5e9'/> libcamera pipeline handler for VIVIDgit repository hosting on libcamera.org
summaryrefslogtreecommitdiff
blob: 10cff0eca334aa73762bacdc24941d8632f6b101 (plain)
1
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-refresh-ccw"><polyline points="1 4 1 10 7 10"></polyline><polyline points="23 20 23 14 17 14"></polyline><path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"></path></svg>