Lines Matching refs:bytesused
1120 if (fid != stream->last_fid && buf->bytesused != 0) { in uvc_video_decode_start()
1169 maxlen = buf->length - buf->bytesused; in uvc_video_decode_data()
1176 op->dst = buf->mem + buf->bytesused; in uvc_video_decode_data()
1179 buf->bytesused += op->len; in uvc_video_decode_data()
1195 if (data[1] & UVC_STREAM_EOF && buf->bytesused != 0) { in uvc_video_decode_end()
1234 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); in uvc_video_encode_data()
1274 if (meta_buf->length - meta_buf->bytesused < in uvc_video_decode_meta()
1300 meta = (struct uvc_meta_buf *)((u8 *)meta_buf->mem + meta_buf->bytesused); in uvc_video_decode_meta()
1314 meta_buf->bytesused += length + sizeof(meta->ns) + sizeof(meta->sof); in uvc_video_decode_meta()
1335 if (stream->ctrl.dwMaxVideoFrameSize != buf->bytesused && in uvc_video_validate_buffer()
1510 if (buf->bytesused == stream->queue.buf_used || in uvc_video_encode_bulk()
1512 if (buf->bytesused == stream->queue.buf_used) { in uvc_video_encode_bulk()