Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2bufferpool.c493 gboolean can_allocate = FALSE; in gst_v4l2_buffer_pool_set_config() local
518 can_allocate = GST_V4L2_ALLOCATOR_CAN_ALLOCATE (pool->vallocator, MMAP); in gst_v4l2_buffer_pool_set_config()
521 can_allocate = GST_V4L2_ALLOCATOR_CAN_ALLOCATE (pool->vallocator, MMAP); in gst_v4l2_buffer_pool_set_config()
524 can_allocate = in gst_v4l2_buffer_pool_set_config()
528 can_allocate = GST_V4L2_ALLOCATOR_CAN_ALLOCATE (pool->vallocator, DMABUF); in gst_v4l2_buffer_pool_set_config()
544 if (can_allocate && obj->fmtdesc->flags & V4L2_FMT_FLAG_EMULATED) { in gst_v4l2_buffer_pool_set_config()
547 can_allocate = FALSE; in gst_v4l2_buffer_pool_set_config()
578 if (!can_allocate) { in gst_v4l2_buffer_pool_set_config()
743 gboolean can_allocate = FALSE, ret = TRUE; in gst_v4l2_buffer_pool_start() local
773 can_allocate = TRUE; in gst_v4l2_buffer_pool_start()
[all …]
Dgstv4l2allocator.c531 if (!allocator->can_allocate) in gst_v4l2_allocator_create_buf()
583 if (allocator->can_allocate) { in gst_v4l2_allocator_alloc()
588 allocator->can_allocate = FALSE; in gst_v4l2_allocator_alloc()
672 gboolean can_allocate; in gst_v4l2_allocator_start() local
693 can_allocate = GST_V4L2_ALLOCATOR_CAN_ALLOCATE (allocator, MMAP); in gst_v4l2_allocator_start()
696 can_allocate = GST_V4L2_ALLOCATOR_CAN_ALLOCATE (allocator, USERPTR); in gst_v4l2_allocator_start()
699 can_allocate = GST_V4L2_ALLOCATOR_CAN_ALLOCATE (allocator, DMABUF); in gst_v4l2_allocator_start()
702 can_allocate = FALSE; in gst_v4l2_allocator_start()
709 allocator->can_allocate = can_allocate; in gst_v4l2_allocator_start()
Dgstv4l2allocator.h101 gboolean can_allocate; member