aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc/uvcvideo.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/uvc/uvcvideo.h')
-rw-r--r--drivers/media/usb/uvc/uvcvideo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
index fc0d30ff3d8e..7d540d8c9b15 100644
--- a/drivers/media/usb/uvc/uvcvideo.h
+++ b/drivers/media/usb/uvc/uvcvideo.h
@@ -312,6 +312,7 @@ struct uvc_format {
__u8 colorspace;
__u32 fcc;
__u32 flags;
+ __u32 psize;
char name[32];
@@ -641,6 +642,8 @@ static inline int uvc_queue_streaming(struct uvc_video_queue *queue)
{
return vb2_is_streaming(&queue->queue);
}
+unsigned int uvc_queue_frame_size(const struct uvc_format *format,
+ const struct uvc_streaming_control *ctrl);
/* V4L2 interface */
extern const struct v4l2_file_operations uvc_fops;

Privacy Policy