Skip to main content

Module frames

Module frames 

Source
Expand description

Frame types for video, audio, and metadata.

Structs§

AudioChannels
Initialized audio channel slices in channel order, without allocation.
AudioFrame
Owned, tightly packed planar floating-point audio with a validated layout.
AudioFrameBuilder
Builder for an AudioFrame, reached through AudioFrame::builder.
AudioFrameRef
A zero-copy audio frame captured from a Receiver.
BorrowedAudioFrame
Validated planar floating-point audio borrowed from application storage.
BorrowedAudioFrameBuilder
Builder for BorrowedAudioFrame; no sample or metadata copies are made.
BorrowedVideoFrame
A borrowed video frame that references external pixel data.
BorrowedVideoFrameBuilder
Builder for a BorrowedVideoFrame, reached through BorrowedVideoFrame::builder. No pixels or metadata are copied.
MetadataFrame
Owned UTF-8 metadata text and its timecode.
MetadataFrameRef
A zero-copy borrowed metadata frame.
PixelFormatInfo
Compile-time pixel format properties.
VideoFrame
An owned video frame with validated dimensions, format, stride, and buffer size.
VideoFrameBuilder
Builder for a VideoFrame, reached through VideoFrame::builder.
VideoFrameRef
A zero-copy video frame captured from a Receiver.
VideoPlane
An allocation-free view of one video plane’s initialized active bytes.
VideoPlanes
Video planes in SDK memory order, with no allocation or pixel copies. Send + Sync for scoped reads; the owning frame’s thread rules still apply.
VideoRows
Active video rows, borrowing the frame that owns the allocation. Send + Sync through its immutable plane; iteration never calls the SDK.

Enums§

AudioFormat
Audio format identifiers (FourCC codes).
FormatCategory
Plane structure used by buffer sizing and plane views.
FrameMetadataStatus
The state of optional per-frame metadata on decoded or compressed video/audio.
PixelFormat
The uncompressed pixel formats NDI sends and receives.
ScanType
Video scan type (progressive, interlaced, or field-based).

Constants§

MAX_VIDEO_BYTES
Maximum extent in bytes of an uncompressed video frame, excluding SDK send tail room.

Traits§

AudioSource
A validated planar audio input for synchronous sending and conversion.
MetadataSource
A validated metadata input for sending, connection metadata and recording.
VideoSource
A validated uncompressed video input for synchronous sending and owned copies.