Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/common/videobuf2/
Dvideobuf2-core.c409 const unsigned plane_sizes[VB2_MAX_PLANES]) in __vb2_queue_alloc()
435 vb->planes[plane].length = plane_sizes[plane]; in __vb2_queue_alloc()
436 vb->planes[plane].min_length = plane_sizes[plane]; in __vb2_queue_alloc()
763 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_reqbufs() local
824 plane_sizes, q->alloc_devs); in vb2_core_reqbufs()
833 if (WARN_ON(!plane_sizes[i])) in vb2_core_reqbufs()
838 __vb2_queue_alloc(q, memory, num_buffers, num_planes, plane_sizes); in vb2_core_reqbufs()
865 &num_planes, plane_sizes, q->alloc_devs); in vb2_core_reqbufs()
907 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_create_bufs() local
938 memcpy(plane_sizes, requested_sizes, sizeof(plane_sizes)); in vb2_core_create_bufs()
[all …]
/linux-5.19.10/drivers/media/platform/intel/
Dpxa_camera.c643 size_t plane_sizes[3]; member
1301 buf->plane_sizes[i] = 0; in pxa_buffer_cleanup()
1317 buf->plane_sizes[0] = size; in pxa_buffer_init()
1320 buf->plane_sizes[0] = size / 2; in pxa_buffer_init()
1321 buf->plane_sizes[1] = size / 4; in pxa_buffer_init()
1322 buf->plane_sizes[2] = size / 4; in pxa_buffer_init()
1330 buf->plane_sizes, buf->sg, buf->sg_len, GFP_KERNEL); in pxa_buffer_init()