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

Method set_zoom

rustcv-backend-msmf/src/controls.rs:99–104  ·  view source on GitHub ↗
(&self, zoom: u32)

Source from the content-addressed store, hash-verified

97
98impl LensControl for MsmfLens {
99 fn set_zoom(&self, zoom: u32) -> Result<()> {
100 unsafe {
101 set_media_type_uint64(&self.source_reader.0, &MF_MT_VIDEO_LIGHTING, zoom as u64);
102 }
103 Ok(())
104 }
105
106 /// Sets the camera focus position.
107 ///

Callers

nothing calls this directly

Calls 1

set_media_type_uint64Function · 0.85

Tested by

no test coverage detected