Skip to main content

Module dmabuf_identity

Module dmabuf_identity 

Source
Expand description

The identity of a dmabuf behind an fd, for the sessions that keep an import of each buffer. What a dmabuf is, beyond the fd number that names it, for the hardware sessions that keep an import of each recurring capture buffer (NVENC’s CUDA registrations, VA-API’s surfaces).

Structs§

DmaBufIdentity 🔒
The stable identity of a dmabuf, so a cache keyed by the raw fd number cannot hand back a stale import after that fd was closed and recycled onto a different buffer.