/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * Copyright (C) 2019, Google Inc. * * logging.h - Logging infrastructure */ #ifndef __LIBCAMERA_LOGGING_H__ #define __LIBCAMERA_LOGGING_H__ namespace libcamera { enum LoggingTarget { LoggingTargetNone, LoggingTargetSyslog, LoggingTargetFile, LoggingTargetStream, }; int logSetFile(const char *path); int logSetStream(std::ostream *stream); int logSetTarget(LoggingTarget target); void logSetLevel(const char *category, const char *level); } /* namespace libcamera */ #endif /* __LIBCAMERA_LOGGING_H__ */ '/logo.png' alt='cgit logo'/> index : libcamera/vivid.git
libcamera pipeline handler for VIVIDgit repository hosting on libcamera.org
summaryrefslogtreecommitdiff
path: root/test/libtest/camera_test.h
blob: 0b6bad05e37c485116f2662b77f3858c3a1dbac3 (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
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (C) 2019, Google Inc.
 *
 * camera_test.h - libcamera camera test base class
 */
#ifndef __LIBCAMERA_CAMERA_TEST_H__
#define __LIBCAMERA_CAMERA_TEST_H__

#include <libcamera/libcamera.h>

using namespace libcamera;

class CameraTest
{
public:
	CameraTest(const char *name);
	~CameraTest();

protected:
	CameraManager *cm_;
	std::shared_ptr<Camera> camera_;
	int status_;
};

#endif /* __LIBCAMERA_CAMERA_TEST_H__ */