MCPcopy Create free account
hub / github.com/RustCV/RustCV / BufferLayout

Enum BufferLayout

rustcv-backend-msmf/src/stream.rs:167–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165/// Buffer layout type for video frames.
166#[derive(Debug, Clone, Copy, PartialEq, Eq)]
167enum BufferLayout {
168 /// Packed format: pixels stored continuously (YUYV, UYVY, RGB)
169 Packed,
170 /// Planar format: separate Y and UV planes (NV12, YV12)
171 Planar,
172}
173
174impl BufferLayout {
175 /// Determines the buffer layout from a pixel format.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected