blob: a1112c433eeb8e32b3e50563d157820d5a642755 [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _MEYE_H_
20#define _MEYE_H_
21struct meye_params {
Tao Baod7db5942015-01-28 10:07:51 -080022 unsigned char subsample;
Tao Baod7db5942015-01-28 10:07:51 -080023 unsigned char quality;
24 unsigned char sharpness;
25 unsigned char agc;
26 unsigned char picture;
Tao Baod7db5942015-01-28 10:07:51 -080027 unsigned char framerate;
Ben Cheng655a7c02013-10-16 16:09:24 -070028};
Tao Baod7db5942015-01-28 10:07:51 -080029#define MEYEIOC_G_PARAMS _IOR('v', BASE_VIDIOC_PRIVATE + 0, struct meye_params)
30#define MEYEIOC_S_PARAMS _IOW('v', BASE_VIDIOC_PRIVATE + 1, struct meye_params)
Tao Baod7db5942015-01-28 10:07:51 -080031#define MEYEIOC_QBUF_CAPT _IOW('v', BASE_VIDIOC_PRIVATE + 2, int)
32#define MEYEIOC_SYNC _IOWR('v', BASE_VIDIOC_PRIVATE + 3, int)
33#define MEYEIOC_STILLCAPT _IO('v', BASE_VIDIOC_PRIVATE + 4)
34#define MEYEIOC_STILLJCAPT _IOR('v', BASE_VIDIOC_PRIVATE + 5, int)
Ben Cheng655a7c02013-10-16 16:09:24 -070035#define V4L2_CID_MEYE_AGC (V4L2_CID_USER_MEYE_BASE + 0)
36#define V4L2_CID_MEYE_PICTURE (V4L2_CID_USER_MEYE_BASE + 1)
37#define V4L2_CID_MEYE_FRAMERATE (V4L2_CID_USER_MEYE_BASE + 2)
Nick Kralevicha67e4de2013-01-14 11:28:26 -080038#endif