QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
VideoDecoderOptions.h
Go to the documentation of this file.
1#pragma once
2
4enum class VideoDecoderOption : int
5{
6 Default = 0,
8 NVIDIA = 2,
9 VAAPI = 3,
12 Intel = 6,
13 Vulkan = 7,
15};
16
19{
20 const bool valid = (value >= static_cast<int>(VideoDecoderOption::Default)) &&
21 (value <= static_cast<int>(VideoDecoderOption::Hardware));
22 return valid ? static_cast<VideoDecoderOption>(value) : VideoDecoderOption::Default;
23}
VideoDecoderOption
The decoders VideoSettings' forceVideoDecoder can force. The values are persisted.
constexpr VideoDecoderOption videoDecoderOptionFromSetting(int value)
The option a stored forceVideoDecoder value names: the default for a value that names none.