Replace the custom ioctl with a V4L2 control in order to standardize the API.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -1,34 +0,0 @@ | ||
| 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__ */ | |