LavaUI docs GitHub

struct VideoBufferLayout

Swift

struct VideoBufferLayout

One single-plane dma-buf, as its allocator describes it.

Sources/LavaUI/VideoFrames.swift:25

Constructors

init(width: UInt32, height: UInt32, fourcc: UInt32, modifier: UInt64, offset: UInt32, stride: UInt32)

Not documented.

Sources/LavaUI/VideoFrames.swift:34

Properties

var fourcc: UInt32

A DRM FourCC: ABGR8888 or XBGR8888, which is RGBA in memory.

Sources/LavaUI/VideoFrames.swift:29

var height: UInt32

Not documented.

Sources/LavaUI/VideoFrames.swift:27

var modifier: UInt64

Not documented.

Sources/LavaUI/VideoFrames.swift:30

var offset: UInt32

Not documented.

Sources/LavaUI/VideoFrames.swift:31

var stride: UInt32

Not documented.

Sources/LavaUI/VideoFrames.swift:32

var width: UInt32

Not documented.

Sources/LavaUI/VideoFrames.swift:26