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

Enum PixelFormat

rustcv-core/src/pixel_format.rs:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81/// 像素格式的高级枚举,包含元数据
82#[derive(Debug, Clone, Copy, PartialEq, Eq)]
83pub enum PixelFormat {
84 /// 已知的标准格式
85 Known(FourCC),
86 /// 驱动返回了库不认识的私有格式
87 Unknown(u32),
88}
89
90impl PixelFormat {
91 /// 判断是否为压缩格式 (JPEG, H264)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected