Home
last modified time | relevance | path

Searched refs:VB2_MAX_FRAME (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/include/media/
Dvideobuf2-v4l2.h18 #if VB2_MAX_FRAME != VIDEO_MAX_FRAME
19 #error VB2_MAX_FRAME != VIDEO_MAX_FRAME
Dvideobuf2-core.h21 #define VB2_MAX_FRAME (32) macro
539 struct vb2_buffer *bufs[VB2_MAX_FRAME];
/linux-4.19.296/drivers/media/common/videobuf2/
Dvideobuf2-core.c343 VB2_MAX_FRAME - q->num_buffers); in __vb2_queue_alloc()
715 WARN_ON(q->min_buffers_needed > VB2_MAX_FRAME); in vb2_core_reqbufs()
717 num_buffers = min_t(unsigned int, num_buffers, VB2_MAX_FRAME); in vb2_core_reqbufs()
803 if (q->num_buffers == VB2_MAX_FRAME) { in vb2_core_create_bufs()
821 num_buffers = min(*count, VB2_MAX_FRAME - q->num_buffers); in vb2_core_create_bufs()
2217 struct vb2_fileio_buf bufs[VB2_MAX_FRAME];