diff options
Diffstat (limited to 'include/media/v4l2-ioctl.h')
| -rw-r--r-- | include/media/v4l2-ioctl.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/include/media/v4l2-ioctl.h b/include/media/v4l2-ioctl.h index 53605f0f9903..8537983b9b22 100644 --- a/include/media/v4l2-ioctl.h +++ b/include/media/v4l2-ioctl.h | |||
| @@ -291,9 +291,18 @@ struct v4l2_ioctl_ops { | |||
| 291 | 291 | ||
| 292 | /* v4l debugging and diagnostics */ | 292 | /* v4l debugging and diagnostics */ |
| 293 | 293 | ||
| 294 | /* Debug bitmask flags to be used on V4L2 */ | 294 | /* Device debug flags to be used with the video device debug attribute */ |
| 295 | #define V4L2_DEBUG_IOCTL 0x01 | 295 | |
| 296 | #define V4L2_DEBUG_IOCTL_ARG 0x02 | 296 | /* Just log the ioctl name + error code */ |
| 297 | #define V4L2_DEV_DEBUG_IOCTL 0x01 | ||
| 298 | /* Log the ioctl name arguments + error code */ | ||
| 299 | #define V4L2_DEV_DEBUG_IOCTL_ARG 0x02 | ||
| 300 | /* Log the file operations open, release, mmap and get_unmapped_area */ | ||
| 301 | #define V4L2_DEV_DEBUG_FOP 0x04 | ||
| 302 | /* Log the read and write file operations and the VIDIOC_(D)QBUF ioctls */ | ||
| 303 | #define V4L2_DEV_DEBUG_STREAMING 0x08 | ||
| 304 | /* Log poll() */ | ||
| 305 | #define V4L2_DEV_DEBUG_POLL 0x10 | ||
| 297 | 306 | ||
| 298 | /* Video standard functions */ | 307 | /* Video standard functions */ |
| 299 | extern const char *v4l2_norm_to_name(v4l2_std_id id); | 308 | extern const char *v4l2_norm_to_name(v4l2_std_id id); |
