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

Class OwnedFrame

rustcv-camera/src/frame.rs:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203/// 通过 [`Frame::to_owned()`] 创建。
204#[derive(Debug, Clone)]
205pub struct OwnedFrame {
206 data: Vec<u8>,
207 width: u32,
208 height: u32,
209 pixel_format: PixelFormat,
210 sequence: u64,
211 timestamp_us: u64,
212}
213
214impl OwnedFrame {
215 pub fn data(&self) -> &[u8] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected