diff options
-rw-r--r-- | stream.c | 14 | ||||
-rw-r--r-- | stream.h | 17 |
2 files changed, 15 insertions, 16 deletions
@@ -26,6 +26,20 @@ #include "uvc.h" #include "v4l2.h" +/* + * struct uvc_stream - Representation of a UVC stream + * @cap: V4L2 capture device + * @uvc: UVC V4L2 output device + * @events: struct events containing event information + */ +struct uvc_stream +{ + struct v4l2_device *cap; + struct uvc_device *uvc; + + struct events *events; +}; + /* --------------------------------------------------------------------------- * Video streaming */ @@ -21,23 +21,8 @@ #define __STREAM_H__ struct events; -struct uvc_device; struct uvc_function_config; -struct v4l2_device; - -/* - * struct uvc_stream - Representation of a UVC stream - * @cap: V4L2 capture device - * @uvc: UVC V4L2 output device - * @events: struct events containing event information - */ -struct uvc_stream -{ - struct v4l2_device *cap; - struct uvc_device *uvc; - - struct events *events; -}; +struct uvc_stream; /* * uvc_stream_new - Create a new UVC stream |