forked from patjak/facetimehd
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfthd_v4l2.h
More file actions
34 lines (29 loc) · 678 Bytes
/
fthd_v4l2.h
File metadata and controls
34 lines (29 loc) · 678 Bytes
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
/*
* SPDX-License-Identifier: GPL-2.0-only
*
* FacetimeHD camera driver
*
* Copyright (C) 2015 Sven Schnelle <svens@stackframe.org>
*
*/
#ifndef _FTHD_V4L2_H
#define _FTHD_V4L2_H
#include <linux/pci.h>
#include <linux/spinlock.h>
#include <linux/wait.h>
#include <linux/mutex.h>
#include <media/v4l2-device.h>
struct fthd_fmt {
struct v4l2_pix_format fmt;
const char *desc;
int range; /* CISP_COMMAND_CH_OUTPUT_CONFIG_SET */
int planes;
int x1; /* for CISP_CMD_CH_CROP_SET */
int y1;
int x2;
int y2;
};
struct fthd_private;
extern int fthd_v4l2_register(struct fthd_private *dev_priv);
extern void fthd_v4l2_unregister(struct fthd_private *dev_priv);
#endif