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

Method pixel_format

rustcv-camera/src/camera.rs:159–161  ·  view source on GitHub ↗

Get the current pixel format. 获取当前像素格式。

(&self)

Source from the content-addressed store, hash-verified

157 /// Get the current pixel format.
158 /// 获取当前像素格式。
159 pub fn pixel_format(&self) -> crate::pixel_format::PixelFormat {
160 self.config.pixel_format
161 }
162}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected