Home
last modified time | relevance | path

Searched refs:v4l2_planes (Results 1 – 9 of 9) sorted by relevance

/drivers/media/v4l2-core/
Dvideobuf2-core.c209 vb->v4l2_planes[plane].length = q->plane_sizes[plane]; in __vb2_buf_mem_alloc()
297 vb->v4l2_planes[plane].length = q->plane_sizes[plane]; in __setup_lengths()
314 p = &vb->v4l2_planes[vb->num_planes - 1]; in __setup_offsets()
326 vb->v4l2_planes[plane].m.mem_offset = off; in __setup_offsets()
331 off += vb->v4l2_planes[plane].length; in __setup_offsets()
590 : vb->v4l2_planes[plane].length; in __verify_length()
603 ? b->length : vb->v4l2_planes[0].length; in __verify_length()
667 memcpy(b->m.planes, vb->v4l2_planes, in __fill_v4l2_buffer()
674 b->length = vb->v4l2_planes[0].length; in __fill_v4l2_buffer()
675 b->bytesused = vb->v4l2_planes[0].bytesused; in __fill_v4l2_buffer()
[all …]
/drivers/media/usb/go7007/
Dgo7007-driver.c389 if (vb && vb->vb.v4l2_planes[0].bytesused < GO7007_BUF_SIZE) { in store_byte()
392 ptr[vb->vb.v4l2_planes[0].bytesused++] = byte; in store_byte()
420 u32 *bytesused = &vb->vb.v4l2_planes[0].bytesused; in go7007_motion_regions()
449 u32 *bytesused = &vb->vb.v4l2_planes[0].bytesused; in frame_boundary()
521 if (vb && vb->vb.v4l2_planes[0].bytesused >= GO7007_BUF_SIZE - 3) { in go7007_parse_video_stream()
523 vb->vb.v4l2_planes[0].bytesused = 0; in go7007_parse_video_stream()
603 vb->frame_offset = vb->vb.v4l2_planes[0].bytesused; in go7007_parse_video_stream()
Dgo7007-v4l2.c403 vb->v4l2_planes[0].bytesused = 0; in go7007_buf_prepare()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c1212 ctx->consumed_stream, temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_dec_frame()
1216 if (temp_vb->b->v4l2_planes[0].bytesused == 0) { in s5p_mfc_run_dec_frame()
1253 if (src_mb->b->v4l2_planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame()
1294 mfc_debug(2, "Header size: %d\n", temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec()
1297 0, temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec()
1349 mfc_debug(2, "Header size: %d\n", temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec_buffers()
1352 0, temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec_buffers()
Ds5p_mfc_opr_v6.c1587 temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_dec_frame()
1592 if (temp_vb->b->v4l2_planes[0].bytesused == 0) { in s5p_mfc_run_dec_frame()
1664 mfc_debug(2, "Header size: %d\n", temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec()
1667 temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec()
Ds5p_mfc.c387 src_buf->b->v4l2_planes[0].bytesused) { in s5p_mfc_handle_frame()
504 src_buf->b->v4l2_planes[0].bytesused) in s5p_mfc_handle_seq_done()
/drivers/media/platform/vivid/
Dvivid-kthread-cap.c273 vid_out_buf->vb.v4l2_planes[p].data_offset; in vivid_copy_buffer()
Dvivid-vid-out.c142 vb->v4l2_planes[p].data_offset; in vid_out_buf_prepare()
Dvivid-vid-cap.c198 vb->v4l2_planes[p].data_offset = dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare()