index
:
libcamera/vivid.git
pobrn/rebase
vivid
libcamera pipeline handler for VIVID
git repository hosting on libcamera.org
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
qcam
/
assets
/
feathericons
/
arrow-up-left.svg
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
4
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2020, Google Inc.
*
* v4l2_camera_file.h - V4L2 compatibility camera file information
*/
#ifndef __V4L2_CAMERA_FILE_H__
#define __V4L2_CAMERA_FILE_H__
#include <linux/videodev2.h>
class
V4L2CameraProxy
;
class
V4L2CameraFile
{
public
:
V4L2CameraFile
(
int
efd
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
; }
private
:
V4L2CameraProxy
*
proxy_
;
bool
nonBlocking_
;
int
efd_
;
enum
v4l2_priority priority_
;
};
#endif
/* __V4L2_CAMERA_FILE_H__ */