drm_dumb_memory_export_dmabuf


Description:

[ CCode ( cname = "gst_drm_dumb_memory_export_dmabuf" ) ]
[ Version ( since = "1.24" ) ]
public Memory drm_dumb_memory_export_dmabuf (Memory mem)

Exports a DMABuf from the DRM Bumb buffer object.

One can check if this feature is supported using has_prime_export;

Parameters:

mem

the memory to export from

Returns:

a Memory from DmaBufAllocator wrapping the exported dma-buf file descriptor.


Namespace: Gst.Allocators