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

◆ preset_modes()

std::vector< CameraMode > MayaFlux::IO::FFmpegCameraReader::preset_modes ( ) const
overridevirtual

Capture modes this source offers as defaults, ordered from safest to most demanding.

Implements MayaFlux::IO::CameraSource.

Definition at line 178 of file FFmpegCameraReader.cpp.

179{
180 return {
181 { .label = "Device default" },
182 { .label = "640 x 480 @ 30 fps", .width = 640, .height = 480, .fps = 30.0 },
183 { .label = "1280 x 720 @ 30 fps", .width = 1280, .height = 720, .fps = 30.0 },
184 { .label = "1920 x 1080 @ 30 fps", .width = 1920, .height = 1080, .fps = 30.0 },
185 { .label = "1920 x 1080 @ 60 fps (high-end cameras)", .width = 1920, .height = 1080, .fps = 60.0, .high_end = true },
186 { .label = "2560 x 1440 @ 30 fps (high-end cameras)", .width = 2560, .height = 1440, .fps = 30.0, .high_end = true },
187 };
188}

Referenced by MayaFlux::choose_camera().

+ Here is the caller graph for this function: