Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/v4l2-core/
Dvideobuf2-core.c211 vb->v4l2_planes[plane].length = q->plane_sizes[plane]; in __vb2_buf_mem_alloc()
299 vb->v4l2_planes[plane].length = q->plane_sizes[plane]; in __setup_lengths()
316 p = &vb->v4l2_planes[vb->num_planes - 1]; in __setup_offsets()
328 vb->v4l2_planes[plane].m.mem_offset = off; in __setup_offsets()
333 off += vb->v4l2_planes[plane].length; in __setup_offsets()
592 : vb->v4l2_planes[plane].length; in __verify_length()
605 ? b->length : vb->v4l2_planes[0].length; in __verify_length()
669 memcpy(b->m.planes, vb->v4l2_planes, in __fill_v4l2_buffer()
676 b->length = vb->v4l2_planes[0].length; in __fill_v4l2_buffer()
677 b->bytesused = vb->v4l2_planes[0].bytesused; in __fill_v4l2_buffer()
[all …]
/linux-4.1.27/include/media/
Dvideobuf2-core.h187 struct v4l2_plane v4l2_planes[VIDEO_MAX_PLANES]; member
567 vb->v4l2_planes[plane_no].bytesused = size; in vb2_set_plane_payload()
580 return vb->v4l2_planes[plane_no].bytesused; in vb2_get_plane_payload()
593 return vb->v4l2_planes[plane_no].length; in vb2_plane_size()
/linux-4.1.27/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()
/linux-4.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c1210 ctx->consumed_stream, temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_dec_frame()
1213 if (temp_vb->b->v4l2_planes[0].bytesused == 0) { in s5p_mfc_run_dec_frame()
1250 if (src_mb->b->v4l2_planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame()
1290 mfc_debug(2, "Header size: %d\n", temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec()
1293 0, temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec()
1343 mfc_debug(2, "Header size: %d\n", temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec_buffers()
1346 0, temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec_buffers()
Ds5p_mfc_opr_v6.c1565 temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_dec_frame()
1569 if (temp_vb->b->v4l2_planes[0].bytesused == 0) { in s5p_mfc_run_dec_frame()
1640 mfc_debug(2, "Header size: %d\n", temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec()
1643 temp_vb->b->v4l2_planes[0].bytesused); in s5p_mfc_run_init_dec()
Ds5p_mfc.c397 src_buf->b->v4l2_planes[0].bytesused) { in s5p_mfc_handle_frame()
512 src_buf->b->v4l2_planes[0].bytesused) in s5p_mfc_handle_seq_done()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-kthread-cap.c291 voutbuf += vid_out_buf->vb.v4l2_planes[p].data_offset; in vivid_copy_buffer()
Dvivid-vid-out.c141 vb->v4l2_planes[p].data_offset; in vid_out_buf_prepare()
Dvivid-vid-cap.c201 vb->v4l2_planes[p].data_offset = dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare()