Searched refs:plane_sizes (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 409 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() 751 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_reqbufs() local 816 plane_sizes, q->alloc_devs); in vb2_core_reqbufs() 827 if (WARN_ON(!plane_sizes[i])) { in vb2_core_reqbufs() 834 __vb2_queue_alloc(q, memory, num_buffers, num_planes, plane_sizes); in vb2_core_reqbufs() 862 &num_planes, plane_sizes, q->alloc_devs); in vb2_core_reqbufs() 911 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_create_bufs() local 949 memcpy(plane_sizes, requested_sizes, sizeof(plane_sizes)); in vb2_core_create_bufs() [all …]
|
/linux-6.6.21/drivers/media/platform/intel/ |
D | pxa_camera.c | 643 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()
|