-
Notifications
You must be signed in to change notification settings - Fork 1
/
psee-format.h
31 lines (26 loc) · 1.06 KB
/
psee-format.h
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
/* SPDX-License-Identifier: GPL-2.0-only */
#include <linux/videodev2.h>
#include <linux/media-bus-format.h>
/* Define pixel and media types if the definition does not exist in this kernel
* This allows kernel module to build, but does not include the definition in the UAPI,
* thus core kernel code and userspace may complain about unknown pixel/media types
*
* Media types values are chosen to be in the Vendor specific formats,
* far enough from currently defines formats to avoid collisions.
*/
#ifndef V4L2_PIX_FMT_PSEE_EVT2
#define V4L2_PIX_FMT_PSEE_EVT2 v4l2_fourcc('P', 'S', 'E', 'E')
#define MEDIA_BUS_FMT_PSEE_EVT2 0x5300
#endif
#ifndef V4L2_PIX_FMT_PSEE_EVT21ME
#define V4L2_PIX_FMT_PSEE_EVT21ME v4l2_fourcc('P', 'S', 'E', '1')
#define MEDIA_BUS_FMT_PSEE_EVT21ME 0x5301
#endif
#ifndef V4L2_PIX_FMT_PSEE_EVT21
#define V4L2_PIX_FMT_PSEE_EVT21 v4l2_fourcc('P', 'S', 'E', '2')
#define MEDIA_BUS_FMT_PSEE_EVT21 0x5303
#endif
#ifndef V4L2_PIX_FMT_PSEE_EVT3
#define V4L2_PIX_FMT_PSEE_EVT3 v4l2_fourcc('P', 'S', 'E', '3')
#define MEDIA_BUS_FMT_PSEE_EVT3 0x5302
#endif