source/dvr_disp_ioctl.h File Reference
Go to the source code of this file.
Defines | |
#define | DVR_DISP_IOC_MAGIC 'I' |
#define | DVR_DISP_INITIATE _IO(DVR_DISP_IOC_MAGIC, 1) |
#define | DVR_DISP_TERMINATE _IO(DVR_DISP_IOC_MAGIC, 2) |
#define | DVR_DISP_GET_DISP_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 4, dvr_disp_disp_param) |
#define | DVR_DISP_SET_DISP_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 5, dvr_disp_disp_param) |
#define | DVR_DISP_UPDATE_DISP_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 6, dvr_disp_update_disp_param) |
#define | DVR_DISP_GET_PLANE_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 7, dvr_disp_plane_param) |
#define | DVR_DISP_SET_PLANE_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 8, dvr_disp_plane_param) |
#define | DVR_DISP_UPDATE_PLANE_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 9, dvr_disp_update_plane_param) |
#define | DVR_DISP_CONTROL _IOR(DVR_DISP_IOC_MAGIC, 10, dvr_disp_control) |
#define | DVR_DISP_CLEAR_WIN _IOWR(DVR_DISP_IOC_MAGIC, 11, dvr_disp_clear_param) |
Define Documentation
#define DVR_DISP_IOC_MAGIC 'I' |
Definition at line 2 of file dvr_disp_ioctl.h.
#define DVR_DISP_INITIATE _IO(DVR_DISP_IOC_MAGIC, 1) |
ioctl(disp_fd, DVR_DISP_INITIATE, 0)
- explanation : not used
Definition at line 10 of file dvr_disp_ioctl.h.
#define DVR_DISP_TERMINATE _IO(DVR_DISP_IOC_MAGIC, 2) |
ioctl(disp_fd, DVR_DISP_TERMINATE, 0)
- explanation : not used
Definition at line 18 of file dvr_disp_ioctl.h.
#define DVR_DISP_GET_DISP_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 4, dvr_disp_disp_param) |
ioctl(disp_fd, DVR_DISP_GET_DISP_PARAM, &disp_param)
- explanation : get LCD color parameter from user space ,and set parameter to device driver
- parameter :
pointer disp_param : argument from user space ioctl parameter, it means structure dvr_disp_disp_param
- Examples:
- 2ch_liveview.c, 2ch_playback.c, liveview.c, pip.c, and playback.c.
Definition at line 28 of file dvr_disp_ioctl.h.
#define DVR_DISP_SET_DISP_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 5, dvr_disp_disp_param) |
ioctl(disp_fd, DVR_DISP_SET_DISP_PARAM, &disp_param)
- explanation : get LCD color parameter from user space ,and set parameter to device driver
- parameter :
pointer disp_param : argument from user space ioctl parameter, it means structure dvr_disp_disp_param
- Examples:
- playback.c.
Definition at line 38 of file dvr_disp_ioctl.h.
#define DVR_DISP_UPDATE_DISP_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 6, dvr_disp_update_disp_param) |
ioctl(disp_fd, DVR_DISP_UPDATE_DISP_PARAM, &disp_update_param)
- explanation : get LCD color parameter from user space ,and update parameter to device driver
- parameter :
pointer disp_update_param : argument from user space ioctl parameter, it means structure dvr_disp_update_disp_param
- Examples:
- 2ch_liveview.c, 2ch_playback.c, liveview.c, pip.c, and playback.c.
Definition at line 48 of file dvr_disp_ioctl.h.
#define DVR_DISP_GET_PLANE_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 7, dvr_disp_plane_param) |
ioctl(disp_fd, DVR_DISP_GET_PLANE_PARAM, &plane_param)
- explanation : get LCD plane(window) parameter from user space, and set parameter to device driver
- parameter :
pointer plane_param : argument from user space ioctl parameter, it means structure dvr_disp_plane_param
- Examples:
- 2ch_liveview.c, 2ch_playback.c, liveview.c, pip.c, and playback.c.
Definition at line 58 of file dvr_disp_ioctl.h.
#define DVR_DISP_SET_PLANE_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 8, dvr_disp_plane_param) |
ioctl(disp_fd, DVR_DISP_SET_PLANE_PARAM, &plane_param_set)
- explanation : get LCD plane(window) parameter from user space, and set parameter to device driver
- parameter :
pointer plane_param_set : argument from user space ioctl parameter, it means structure dvr_disp_plane_param
- Examples:
- playback.c.
Definition at line 68 of file dvr_disp_ioctl.h.
#define DVR_DISP_UPDATE_PLANE_PARAM _IOWR(DVR_DISP_IOC_MAGIC, 9, dvr_disp_update_plane_param) |
ioctl(disp_fd, DVR_DISP_UPDATE_PLANE_PARAM, &plane_param_update)
- explanation : get LCD plane(window) parameter from user space, and update parameter to device driver
- parameter :
pointer plane_param_update : argument from user space ioctl parameter, it means structure dvr_disp_update_plane_param
- Examples:
- 2ch_liveview.c, 2ch_playback.c, liveview.c, pip.c, and playback.c.
Definition at line 78 of file dvr_disp_ioctl.h.
#define DVR_DISP_CONTROL _IOR(DVR_DISP_IOC_MAGIC, 10, dvr_disp_control) |
ioctl(disp_fd, DVR_DISP_CONTROL, &disp_ctrl)
- explanation : get display control command from user space, and set command to videograph layer
- parameter :
pointer disp_ctrl : argument from user space ioctl parameter, it means structure dvr_disp_control
- Examples:
- 2ch_liveview.c, liveview.c, and pip.c.
Definition at line 88 of file dvr_disp_ioctl.h.
#define DVR_DISP_CLEAR_WIN _IOWR(DVR_DISP_IOC_MAGIC, 11, dvr_disp_clear_param) |
ioctl(disp_fd, DVR_DISP_INITIATE, &disp_clear_param)
- explanation : get channel parameter from user space ,and clear lcd buffer
- parameter :
pointer disp_clear_param; : argument from user space ioctl parameter, it means structure dvr_disp_clear_param
- Examples:
- 2ch_liveview.c.
Definition at line 98 of file dvr_disp_ioctl.h.
Generated on Wed Jun 15 2011 15:51:00 for This describe GM8126 ioctl functions by 1.7.1