File: libcamera.h

package info (click to toggle)
pipewire 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 17,852 kB
  • sloc: ansic: 309,458; cpp: 2,812; xml: 407; python: 243; sh: 214; makefile: 176; pascal: 85
file content (31 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (5)
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
/* Spa libcamera support */
/* SPDX-FileCopyrightText: Copyright © 2020 collabora */
/* SPDX-License-Identifier: MIT */

#include <errno.h>

#include <linux/media.h>

#include <spa/support/log.h>
#include <spa/support/system.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

extern const struct spa_handle_factory spa_libcamera_source_factory;
extern const struct spa_handle_factory spa_libcamera_manager_factory;
extern const struct spa_handle_factory spa_libcamera_device_factory;

#undef SPA_LOG_TOPIC_DEFAULT
#define SPA_LOG_TOPIC_DEFAULT &libcamera_log_topic
extern struct spa_log_topic libcamera_log_topic;

static inline void libcamera_log_topic_init(struct spa_log *log)
{
	spa_log_topic_init(log, &libcamera_log_topic);
}

#ifdef __cplusplus
}
#endif /* __cplusplus */