Home
last modified time | relevance | path

Searched refs:plane_sizes (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/media/common/videobuf2/
Dvideobuf2-core.c336 const unsigned plane_sizes[VB2_MAX_PLANES]) in __vb2_queue_alloc()
361 vb->planes[plane].length = plane_sizes[plane]; in __vb2_queue_alloc()
362 vb->planes[plane].min_length = plane_sizes[plane]; in __vb2_queue_alloc()
671 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_reqbufs() local
729 plane_sizes, q->alloc_devs); in vb2_core_reqbufs()
738 if (WARN_ON(!plane_sizes[i])) in vb2_core_reqbufs()
743 __vb2_queue_alloc(q, memory, num_buffers, num_planes, plane_sizes); in vb2_core_reqbufs()
770 &num_planes, plane_sizes, q->alloc_devs); in vb2_core_reqbufs()
811 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_create_bufs() local
836 memcpy(plane_sizes, requested_sizes, sizeof(plane_sizes)); in vb2_core_create_bufs()
[all …]
/Linux-v5.4/drivers/media/platform/
Dpxa_camera.c680 size_t plane_sizes[3]; member
1366 buf->plane_sizes[i] = 0; in pxa_buffer_cleanup()
1382 buf->plane_sizes[0] = size; in pxa_buffer_init()
1385 buf->plane_sizes[0] = size / 2; in pxa_buffer_init()
1386 buf->plane_sizes[1] = size / 4; in pxa_buffer_init()
1387 buf->plane_sizes[2] = size / 4; in pxa_buffer_init()
1395 buf->plane_sizes, buf->sg, buf->sg_len, GFP_KERNEL); in pxa_buffer_init()