Home
last modified time | relevance | path

Searched refs:n_mem (Results 1 – 14 of 14) sorted by relevance

/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2allocator.c232 for (i = 0; i < group->n_mem; i++) { in gst_v4l2_memory_group_free()
258 group->n_mem = group->buffer.length = format->fmt.pix_mp.num_planes; in gst_v4l2_memory_group_new()
261 group->n_mem = 1; in gst_v4l2_memory_group_new()
280 for (i = 0; i < group->n_mem; i++) { in gst_v4l2_memory_group_new()
309 GST_LOG_OBJECT (allocator, " planes: %d", group->n_mem); in gst_v4l2_memory_group_new()
314 for (i = 0; i < group->n_mem; i++) { in gst_v4l2_memory_group_new()
600 for (i = 0; i < group->n_mem; i++) { in gst_v4l2_allocator_reset_size()
615 for (i = 0; i < group->n_mem; i++) in _cleanup_failed_alloc()
841 for (i = 0; i < group->n_mem; i++) { in gst_v4l2_allocator_alloc_mmap()
897 for (i = 0; i < group->n_mem; i++) { in gst_v4l2_allocator_alloc_dmabuf()
[all …]
Dgstv4l2allocator.h88 gint n_mem; member
144 gint n_mem, GstMemory ** dma_mem);
Dgstv4l2bufferpool.c104 if (group->n_mem != gst_buffer_n_memory (buffer)) in gst_v4l2_is_buffer_valid()
107 for (i = 0; i < group->n_mem; i++) { in gst_v4l2_is_buffer_valid()
345 guint n_mem = gst_buffer_n_memory (src); in gst_v4l2_buffer_pool_import_dmabuf() local
353 if (n_mem > GST_VIDEO_MAX_PLANES) in gst_v4l2_buffer_pool_import_dmabuf()
356 for (i = 0; i < n_mem; i++) in gst_v4l2_buffer_pool_import_dmabuf()
359 if (!gst_v4l2_allocator_import_dmabuf (pool->vallocator, group, n_mem, in gst_v4l2_buffer_pool_import_dmabuf()
473 for (i = 0; i < group->n_mem; i++) in gst_v4l2_buffer_pool_alloc_buffer()
1349 for (i = 0; i < group->n_mem; i++) { in gst_v4l2_buffer_pool_dqbuf()
Dgstv4l2object.c5205 guint n_mem = gst_buffer_n_memory (buffer); in gst_v4l2_object_try_import() local
5239 if (n_mem != 1 && n_mem != obj->n_v4l2_planes) { in gst_v4l2_object_try_import()
5241 "buffers contains %u memory", obj->n_v4l2_planes, n_mem); in gst_v4l2_object_try_import()
5249 for (i = 0; i < n_mem; i++) { in gst_v4l2_object_try_import()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglupload.c496 guint n_mem; member
624 guint n_mem; in _dma_buf_upload_accept() local
630 n_mem = gst_buffer_n_memory (buffer); in _dma_buf_upload_accept()
662 if (n_mem > n_planes) { in _dma_buf_upload_accept()
664 "number of memory (%u) != number of planes (%u)", n_mem, n_planes); in _dma_buf_upload_accept()
729 dmabuf->n_mem = 1; in _dma_buf_upload_accept()
736 dmabuf->n_mem = n_planes; in _dma_buf_upload_accept()
739 for (i = 0; i < dmabuf->n_mem; i++) { in _dma_buf_upload_accept()
790 dmabuf->formats, (gpointer *) dmabuf->eglimage, dmabuf->n_mem); in _dma_buf_upload_perform_gl_thread()
1380 guint n_mem = GST_VIDEO_INFO_N_PLANES (in_info); in _raw_data_upload_perform() local
[all …]
Dgstglmemory.c1460 guint n_mem, i, v, views; in gst_gl_memory_setup_buffer() local
1468 n_mem = GST_VIDEO_INFO_N_PLANES (params->v_info); in gst_gl_memory_setup_buffer()
1477 n_mem = 1; in gst_gl_memory_setup_buffer()
1482 || n_mem * views == n_wrapped_pointers, FALSE); in gst_gl_memory_setup_buffer()
1487 for (i = 0; i < n_mem; i++) { in gst_gl_memory_setup_buffer()
1518 GST_VIDEO_INFO_HEIGHT (params->v_info), n_mem, params->v_info->offset, in gst_gl_memory_setup_buffer()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstfilesink.c948 guint8 n_mem; in gst_file_sink_render() local
956 n_mem = gst_buffer_n_memory (buffer); in gst_file_sink_render()
958 if (n_mem > 0 && (sync_after || (!filesink->buffer in gst_file_sink_render()
964 } else if (n_mem > 0) { in gst_file_sink_render()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbuffer.c327 guint n_mem; in gst_rtp_buffer_map() local
333 n_mem = gst_buffer_n_memory (buffer); in gst_rtp_buffer_map()
334 if (n_mem < 1) in gst_rtp_buffer_map()
431 if (n_mem == 1) { in gst_rtp_buffer_map()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvabasetransform.c641 guint i, n_mem, n_planes; in _try_import_dmabuf_unlocked() local
646 n_mem = gst_buffer_n_memory (inbuf); in _try_import_dmabuf_unlocked()
654 if (n_mem > n_planes) in _try_import_dmabuf_unlocked()
/third_party/gstreamer/gstplugins_good/gst/udp/
Dgstmultiudpsink.c921 guint8 n_mem; in gst_multiudpsink_render() local
925 n_mem = gst_buffer_n_memory (buffer); in gst_multiudpsink_render()
927 if (n_mem > 0) in gst_multiudpsink_render()
928 flow = gst_multiudpsink_render_buffers (sink, &buffer, 1, &n_mem, n_mem); in gst_multiudpsink_render()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph264depay.c905 gint b, n_bufs, m, n_mem; in gst_rtp_h264_complete_au() local
925 n_mem = gst_buffer_n_memory (buf); in gst_rtp_h264_complete_au()
926 for (m = 0; m < n_mem; ++m) { in gst_rtp_h264_complete_au()
Dgstrtph265depay.c976 gint b, n_bufs, m, n_mem; in gst_rtp_h265_complete_au() local
996 n_mem = gst_buffer_n_memory (buf); in gst_rtp_h265_complete_au()
997 for (m = 0; m < n_mem; ++m) { in gst_rtp_h265_complete_au()
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmssink.c1342 guint i, n_mem, n_planes; in gst_kms_sink_import_dmabuf() local
1356 n_mem = gst_buffer_n_memory (inbuf); in gst_kms_sink_import_dmabuf()
1360 n_planes, n_mem); in gst_kms_sink_import_dmabuf()
1363 if (n_mem > n_planes) in gst_kms_sink_import_dmabuf()
/third_party/gstreamer/gstplugins_good/
DChangeLog44560 (n_planes > 1) when we use the single-planar API (group->n_mem == 1).