MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_dma_buf_plane Struct Reference

#include <linux.h>

Data Fields

int32_t fd
uint32_t offset
uint32_t stride

Detailed Description

Where one plane of a dmabuf keeps its data.

Field Documentation

◆ fd

int32_t mln_dma_buf_plane::fd

The file descriptor of the dmabuf that holds the plane. The planes of a buffer often share one.

◆ offset

uint32_t mln_dma_buf_plane::offset

The bytes from the start of the dmabuf to the plane's first byte.

◆ stride

uint32_t mln_dma_buf_plane::stride

The bytes from the start of one row to the start of the next.


The documentation for this struct was generated from the following file: