Add numeric definitions for menu items used in the smiapp driver's test pattern menu.
Showing the changes to include/uapi/linux (2 of 2 files). Show all
Unified · Split
| @@ -353,6 +353,7 @@ header-y += serio.h · 352 unmodified lines | |||
| 353 | header-y += shm.h | 353 | header-y += shm.h |
| 354 | header-y += signal.h | 354 | header-y += signal.h |
| 355 | header-y += signalfd.h | 355 | header-y += signalfd.h |
| 356 | header-y += smiapp.h | ||
| 356 | header-y += snmp.h | 357 | header-y += snmp.h |
| 357 | header-y += sock_diag.h | 358 | header-y += sock_diag.h |
| 358 | header-y += socket.h | 359 | header-y += socket.h |
| @@ -0,0 +1,29 @@ | |||
| 1 | /* | ||
| 2 | * include/uapi/linux/smiapp.h | ||
| 3 | * | ||
| 4 | * Generic driver for SMIA/SMIA++ compliant camera modules | ||
| 5 | * | ||
| 6 | * Copyright (C) 2014 Intel Corporation | ||
| 7 | * Contact: Sakari Ailus <sakari.ailus@iki.fi> | ||
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or | ||
| 10 | * modify it under the terms of the GNU General Public License | ||
| 11 | * version 2 as published by the Free Software Foundation. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, but | ||
| 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 16 | * General Public License for more details. | ||
| 17 | * | ||
| 18 | */ | ||
| 19 | |||
| 20 | #ifndef __UAPI_LINUX_SMIAPP_H_ | ||
| 21 | #define __UAPI_LINUX_SMIAPP_H_ | ||
| 22 | |||
| 23 | #define V4L2_SMIAPP_TEST_PATTERN_MODE_DISABLED 0 | ||
| 24 | #define V4L2_SMIAPP_TEST_PATTERN_MODE_SOLID_COLOUR 1 | ||
| 25 | #define V4L2_SMIAPP_TEST_PATTERN_MODE_COLOUR_BARS 2 | ||
| 26 | #define V4L2_SMIAPP_TEST_PATTERN_MODE_COLOUR_BARS_GREY 3 | ||
| 27 | #define V4L2_SMIAPP_TEST_PATTERN_MODE_PN9 4 | ||
| 28 | |||
| 29 | #endif /* __UAPI_LINUX_SMIAPP_H_ */ | ||