Lines Matching refs:meta_buf
1228 struct uvc_buffer *meta_buf, in uvc_video_decode_meta() argument
1239 if (!meta_buf || length == 2) in uvc_video_decode_meta()
1242 if (meta_buf->length - meta_buf->bytesused < in uvc_video_decode_meta()
1244 meta_buf->error = 1; in uvc_video_decode_meta()
1268 meta = (struct uvc_meta_buf *)((u8 *)meta_buf->mem + meta_buf->bytesused); in uvc_video_decode_meta()
1280 meta_buf->bytesused += length + sizeof(meta->ns) + sizeof(meta->sof); in uvc_video_decode_meta()
1311 struct uvc_buffer **video_buf, struct uvc_buffer **meta_buf) in uvc_video_next_buffers() argument
1315 if (*meta_buf) { in uvc_video_next_buffers()
1316 struct vb2_v4l2_buffer *vb2_meta = &(*meta_buf)->buf; in uvc_video_next_buffers()
1323 (*meta_buf)->state = UVC_BUF_STATE_READY; in uvc_video_next_buffers()
1324 if (!(*meta_buf)->error) in uvc_video_next_buffers()
1325 (*meta_buf)->error = (*video_buf)->error; in uvc_video_next_buffers()
1326 *meta_buf = uvc_queue_next_buffer(&stream->meta.queue, in uvc_video_next_buffers()
1327 *meta_buf); in uvc_video_next_buffers()
1333 struct uvc_buffer *buf, struct uvc_buffer *meta_buf) in uvc_video_decode_isoc() argument
1356 uvc_video_next_buffers(stream, &buf, &meta_buf); in uvc_video_decode_isoc()
1362 uvc_video_decode_meta(stream, meta_buf, mem, ret); in uvc_video_decode_isoc()
1373 uvc_video_next_buffers(stream, &buf, &meta_buf); in uvc_video_decode_isoc()
1378 struct uvc_buffer *buf, struct uvc_buffer *meta_buf) in uvc_video_decode_bulk() argument
1403 uvc_video_next_buffers(stream, &buf, &meta_buf); in uvc_video_decode_bulk()
1413 uvc_video_decode_meta(stream, meta_buf, mem, ret); in uvc_video_decode_bulk()
1438 uvc_video_next_buffers(stream, &buf, &meta_buf); in uvc_video_decode_bulk()
1448 struct uvc_buffer *buf, struct uvc_buffer *meta_buf) in uvc_video_encode_bulk() argument