Skip to main content

import_slot

Function import_slot 

Source
unsafe fn import_slot(
    slot: &mut BufferSlot,
    buf: &SpaBuffer,
    n: &Negotiated,
) -> bool
Expand description

Build the slot’s import on its first frame: the dmabuf planes as a Dmabuf of duplicated fds, or the memfd mapped whole.