summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/data/meson.build
blob: 1e3522b21cea3642b840a9411f5fd2408c4a7b69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-License-Identifier: CC0-1.0

conf_files = files([
    'imx219.yaml',
    'imx258.yaml',
    'ov2685.yaml',
    'ov4689.yaml',
    'ov5640.yaml',
    'ov5695.yaml',
    'ov8858.yaml',
    'uncalibrated.yaml',
])

install_data(conf_files,
             install_dir : ipa_data_dir / 'rkisp1',
             install_tag : 'runtime')
afc9bd'>src/v4l2/v4l2_camera_file.h
blob: 8f4670a0fa492d2d82457b3e21e1eca629aad8df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* 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, 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; }

private:
	V4L2CameraProxy *proxy_;

	bool nonBlocking_;
	int efd_;
	enum v4l2_priority priority_;
};

#endif /* __V4L2_CAMERA_FILE_H__ */