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

#include <linux.h>

Data Fields

uint32_t size
uint32_t width
uint32_t height
double scale_factor
uint32_t slot
uint32_t fourcc
uint64_t modifier
const mln_dma_buf_plane * planes
size_t plane_count

Detailed Description

The dmabuf of an acquired frame.

Field Documentation

◆ fourcc

uint32_t mln_dma_buf_frame::fourcc

◆ height

uint32_t mln_dma_buf_frame::height

◆ modifier

uint64_t mln_dma_buf_frame::modifier

◆ plane_count

size_t mln_dma_buf_frame::plane_count

◆ planes

const mln_dma_buf_plane* mln_dma_buf_frame::planes

The buffer's planes, in the order that its fourcc and modifier define. Import all of them, as EGL_EXT_image_dma_buf_import_modifiers planes 0 and up, or with one zwp_linux_buffer_params_v1.add call each.

◆ scale_factor

double mln_dma_buf_frame::scale_factor

◆ size

uint32_t mln_dma_buf_frame::size

◆ slot

uint32_t mln_dma_buf_frame::slot

The buffer's index in the ring.

◆ width

uint32_t mln_dma_buf_frame::width

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