Lines Matching refs:buf_used
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()
185 if (buf->bytesused == video->queue.buf_used || !buf->sg || in uvc_video_encode_isoc_sg()
187 video->queue.buf_used = 0; in uvc_video_encode_isoc_sg()
216 if (buf->bytesused == video->queue.buf_used || in uvc_video_encode_isoc()
218 video->queue.buf_used = 0; in uvc_video_encode_isoc()