Searched refs:buf_used (Results 1 – 7 of 7) sorted by relevance
41 if (video->queue.buf_used == 0 && ts.tv_sec) { in uvc_video_encode_header()65 if (buf->bytesused - video->queue.buf_used <= len - pos) in uvc_video_encode_header()80 mem = buf->mem + queue->buf_used; in uvc_video_encode_data()81 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); in uvc_video_encode_data()84 queue->buf_used += nbytes; in uvc_video_encode_data()116 if (buf->bytesused == video->queue.buf_used) { in uvc_video_encode_bulk()117 video->queue.buf_used = 0; in uvc_video_encode_bulk()128 buf->bytesused == video->queue.buf_used) in uvc_video_encode_bulk()136 unsigned int pending = buf->bytesused - video->queue.buf_used; in uvc_video_encode_isoc_sg()186 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
1000 unsigned buf_used = 0; in dsicm_memory_read() local1036 while (buf_used < size) { in dsicm_memory_read()1041 buf + buf_used, size - buf_used); in dsicm_memory_read()1048 buf_used += r; in dsicm_memory_read()1063 r = buf_used; in dsicm_memory_read()
1321 mem = buf->mem + queue->buf_used; in uvc_video_encode_data()1322 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); in uvc_video_encode_data()1327 queue->buf_used += nbytes; in uvc_video_encode_data()1602 if (buf->bytesused == stream->queue.buf_used || in uvc_video_encode_bulk()1604 if (buf->bytesused == stream->queue.buf_used) { in uvc_video_encode_bulk()1605 stream->queue.buf_used = 0; in uvc_video_encode_bulk()
168 queue->buf_used = 0; in uvc_start_streaming()
321 unsigned int buf_used; member