[Bug 765435] plugins: rework dmabuf import

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 24 00:02:05 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765435

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas at ndufresne.ca

--- Comment #7 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
If be pleased to help unhack that code path. Since buffer pool have an
activated function, there is no need to do anything before that moment. So
vaapi element could offer multiple pool. That is one step.

The next step would be in v4l2src. Currently the default is auto. But only mmap
and read/write is implemented, we ignore downstream pool (unless downstream
does not support video meta). What we could do is delay the io-mode decision to
decide_allocation. From there, we would need to test each allocator to see if
the memory is DMA buf, and can be imported. If not, we'd go for mmap (dmabuf
export whenever available), otherwise read/write for legacy drivers that don't
do anything else. What do you think?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list