MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ apply()

void MayaFlux::IO::CameraMode::apply ( CameraConfig &  config) const
inline

Write this mode's size and frame rate into config.

Definition at line 51 of file CameraSource.hpp.

52 {
53 config.target_width = width;
54 config.target_height = height;
55 config.target_fps = fps;
56 }
uint32_t height
Requested height in pixels, 0 leaves it to the device.
uint32_t width
Requested width in pixels, 0 leaves it to the device.
double fps
Requested frame rate, 0 leaves it to the device.

References fps, height, MayaFlux::IO::CameraConfig::target_fps, MayaFlux::IO::CameraConfig::target_height, MayaFlux::IO::CameraConfig::target_width, and width.