forked from Motion-Project/motion
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvideo_v4l2.h
More file actions
23 lines (19 loc) · 766 Bytes
/
video_v4l2.h
File metadata and controls
23 lines (19 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* video_v4l2.h
*
* Include file for video_v4l2.c
* Copyright 2000 by Jeroen Vreeken (pe1rxq@amsat.org)
* This software is distributed under the GNU public license version 2
* See also the file 'COPYING'.
*
*/
#ifndef _INCLUDE_VIDEO_V4L2_H
#define _INCLUDE_VIDEO_V4L2_H
void v4l2_mutex_init(void);
void v4l2_mutex_destroy(void);
int v4l2_start(struct context *cnt);
int v4l2_next(struct context *cnt, struct image_data *img_data);
void v4l2_cleanup(struct context *cnt);
int v4l2_palette_valid(char *video_device, int v4l2_palette);
int v4l2_parms_valid(char *video_device, int v4l2_palette, int v4l2_fps, int v4l2_width, int v4l2_height);
void v4l2_palette_fourcc(int v4l2_palette, char *fourcc);
#endif /* _INCLUDE_VIDEO_V4L2_H */