Can GStreamer plugin perform DMA copy

ChrisLiuv chris.liuv at wnc.com.tw
Tue Jun 1 08:35:37 UTC 2021


Hi,

Thanks for your reply.
My video data is form 2 image sensor, and is line interleaved, so I need to
deinterleave it first.

The  gstdmabuf.html
<https://gstreamer.freedesktop.org/documentation/allocators/gstdmabuf.html?gi-language=c>  
only explains allocate and check, don't know the difference between 
gstallocator.html
<https://gstreamer.freedesktop.org/documentation/gstreamer/gstallocator.html?gi-language=c>  

Seems that I need to implement it myself?

I searched the current gst-plugin-good, only v4l2 uses
gst_dmabuf_allocator_new ();
sys/v4l2/gstv4l2bufferpool.c:517:      pool->allocator =
gst_dmabuf_allocator_new ();
I'll further check how it work.

Any suggestions would be greatly appreciated.

Thanks.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list