Lines Matching full:video
3 * uvc_queue.c -- USB Video Class driver - Buffers management
27 * Video buffers queue management.
29 * Video queues is initialized by uvcg_queue_init(). The function performs
32 * Video buffers are managed by videobuf2. The driver uses a mutex to protect
47 struct uvc_video *video = container_of(queue, struct uvc_video, queue); in uvc_queue_setup() local
56 sizes[0] = video->imagesize; in uvc_queue_setup()
64 struct uvc_video *video = container_of(queue, struct uvc_video, queue); in uvc_buffer_prepare() local
90 if (video->reqs_per_frame != 0) { in uvc_buffer_prepare()
93 (video->reqs_per_frame * UVCG_REQUEST_HEADER_LEN), in uvc_buffer_prepare()
94 video->reqs_per_frame); in uvc_buffer_prepare()
95 if (buf->req_payload_size > video->req_size) in uvc_buffer_prepare()
96 buf->req_payload_size = video->req_size; in uvc_buffer_prepare()
98 buf->req_payload_size = video->max_req_size; in uvc_buffer_prepare()
137 struct uvc_video *video = container_of(queue, struct uvc_video, queue); in uvcg_queue_init() local
138 struct usb_composite_dev *cdev = video->uvc->func.config->cdev; in uvcg_queue_init()
170 * Free the video buffers.
178 * Allocate the video buffers.
209 * Dequeue a video buffer. If nonblocking is false, block until a buffer is
219 * Poll the video queue.
221 * This function implements video queue polling and is intended to be used by
249 * Cancel the video buffers queue.
288 * Enable or disable the video buffers queue.
290 * The queue must be enabled before starting video acquisition and must be
291 * disabled after stopping it. This ensures that the video buffers queue
295 * Enabling the video queue initializes parameters (such as sequence number,
298 * Disabling the video queue cancels the queue and removes all buffers from