Searched refs:buf_used (Results 1 – 7 of 7) sorted by relevance
38 if (video->queue.buf_used == 0 && ts.tv_sec) { in uvc_video_encode_header()62 if (buf->bytesused - video->queue.buf_used <= len - pos) in uvc_video_encode_header()77 mem = buf->mem + queue->buf_used; in uvc_video_encode_data()78 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); in uvc_video_encode_data()81 queue->buf_used += nbytes; in uvc_video_encode_data()113 if (buf->bytesused == video->queue.buf_used) { in uvc_video_encode_bulk()114 video->queue.buf_used = 0; in uvc_video_encode_bulk()125 buf->bytesused == video->queue.buf_used) in uvc_video_encode_bulk()133 unsigned int pending = buf->bytesused - video->queue.buf_used; in uvc_video_encode_isoc_sg()183 video->queue.buf_used += req->length - header_len; in uvc_video_encode_isoc_sg()[all …]
264 queue->buf_used = 0; in uvcg_queue_cancel()306 queue->buf_used = 0; in uvcg_queue_enable()
53 unsigned int buf_used; member
1003 unsigned buf_used = 0; in dsicm_memory_read() local1039 while (buf_used < size) { in dsicm_memory_read()1044 buf + buf_used, size - buf_used); in dsicm_memory_read()1051 buf_used += r; in dsicm_memory_read()1066 r = buf_used; in dsicm_memory_read()
1259 mem = buf->mem + queue->buf_used; in uvc_video_encode_data()1260 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); in uvc_video_encode_data()1265 queue->buf_used += nbytes; in uvc_video_encode_data()1537 if (buf->bytesused == stream->queue.buf_used || in uvc_video_encode_bulk()1539 if (buf->bytesused == stream->queue.buf_used) { in uvc_video_encode_bulk()1540 stream->queue.buf_used = 0; in uvc_video_encode_bulk()
167 queue->buf_used = 0; in uvc_start_streaming()
320 unsigned int buf_used; member