Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/common/videobuf2/
Dvideobuf2-core.c393 const unsigned plane_sizes[VB2_MAX_PLANES]) in __vb2_queue_alloc()
429 vb->planes[plane].length = plane_sizes[plane]; in __vb2_queue_alloc()
430 vb->planes[plane].min_length = plane_sizes[plane]; in __vb2_queue_alloc()
739 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_reqbufs() local
797 plane_sizes, q->alloc_devs); in vb2_core_reqbufs()
806 if (WARN_ON(!plane_sizes[i])) in vb2_core_reqbufs()
811 __vb2_queue_alloc(q, memory, num_buffers, num_planes, plane_sizes); in vb2_core_reqbufs()
838 &num_planes, plane_sizes, q->alloc_devs); in vb2_core_reqbufs()
880 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_create_bufs() local
907 memcpy(plane_sizes, requested_sizes, sizeof(plane_sizes)); in vb2_core_create_bufs()
[all …]
/Linux-v5.10/drivers/media/platform/
Dpxa_camera.c644 size_t plane_sizes[3]; member
1305 buf->plane_sizes[i] = 0; in pxa_buffer_cleanup()
1321 buf->plane_sizes[0] = size; in pxa_buffer_init()
1324 buf->plane_sizes[0] = size / 2; in pxa_buffer_init()
1325 buf->plane_sizes[1] = size / 4; in pxa_buffer_init()
1326 buf->plane_sizes[2] = size / 4; in pxa_buffer_init()
1334 buf->plane_sizes, buf->sg, buf->sg_len, GFP_KERNEL); in pxa_buffer_init()