Laurent Pinchart | 989af88 | 2013-07-10 12:03:30 -0300 | [diff] [blame] | 1 | /* |
| 2 | * vsp1.h |
| 3 | * |
| 4 | * Renesas R-Car VSP1 - User-space API |
| 5 | * |
| 6 | * Copyright (C) 2013 Renesas Corporation |
| 7 | * |
| 8 | * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License version 2 as |
| 12 | * published by the Free Software Foundation. |
| 13 | */ |
| 14 | |
| 15 | #ifndef __VSP1_USER_H__ |
| 16 | #define __VSP1_USER_H__ |
| 17 | |
| 18 | #include <linux/types.h> |
| 19 | #include <linux/videodev2.h> |
| 20 | |
| 21 | /* |
| 22 | * Private IOCTLs |
| 23 | * |
| 24 | * VIDIOC_VSP1_LUT_CONFIG - Configure the lookup table |
| 25 | */ |
| 26 | |
| 27 | #define VIDIOC_VSP1_LUT_CONFIG \ |
| 28 | _IOWR('V', BASE_VIDIOC_PRIVATE + 1, struct vsp1_lut_config) |
| 29 | |
| 30 | struct vsp1_lut_config { |
| 31 | u32 lut[256]; |
| 32 | }; |
| 33 | |
| 34 | #endif /* __VSP1_USER_H__ */ |