Searched refs:plane_sizes (Results 1 – 2 of 2) sorted by relevance
/drivers/media/v4l2-core/ |
D | videobuf2-core.c | 331 const unsigned plane_sizes[VB2_MAX_PLANES]) in __vb2_queue_alloc() 356 vb->planes[plane].length = plane_sizes[plane]; in __vb2_queue_alloc() 357 vb->planes[plane].min_length = plane_sizes[plane]; in __vb2_queue_alloc() 663 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_reqbufs() local 715 plane_sizes, q->alloc_devs); in vb2_core_reqbufs() 721 __vb2_queue_alloc(q, memory, num_buffers, num_planes, plane_sizes); in vb2_core_reqbufs() 748 &num_planes, plane_sizes, q->alloc_devs); in vb2_core_reqbufs() 789 unsigned plane_sizes[VB2_MAX_PLANES] = { }; in vb2_core_create_bufs() local 807 memcpy(plane_sizes, requested_sizes, sizeof(plane_sizes)); in vb2_core_create_bufs() 815 &num_planes, plane_sizes, q->alloc_devs); in vb2_core_create_bufs() [all …]
|
/drivers/media/platform/ |
D | pxa_camera.c | 655 size_t plane_sizes[3]; member 1339 buf->plane_sizes[i] = 0; in pxa_buffer_cleanup() 1355 buf->plane_sizes[0] = size; in pxa_buffer_init() 1358 buf->plane_sizes[0] = size / 2; in pxa_buffer_init() 1359 buf->plane_sizes[1] = size / 4; in pxa_buffer_init() 1360 buf->plane_sizes[2] = size / 4; in pxa_buffer_init() 1368 buf->plane_sizes, buf->sg, buf->sg_len, GFP_KERNEL); in pxa_buffer_init()
|