1#ifndef AVAILABLE_SETTINGS_HPP
2#define AVAILABLE_SETTINGS_HPP
9#define SETTING_TYPE_LIST \
10 X(VIDEO_SRC, "capture") \
11 X(VIDEO_DISPLAY, "display") \
12 X(VIDEO_COMPRESS, "compress") \
13 X(VIDEO_CAPTURE_FILTER, "capture_filter") \
14 X(AUDIO_SRC, "audio_cap") \
15 X(AUDIO_PLAYBACK, "audio_play") \
16 X(AUDIO_COMPRESS, "audio_compress") \
17 X(AUDIO_FILTER, "audio_filter") \
18 X(SETTING_TYPE_UNKNOWN, "unknown")
21#define X(type, str) type,
38 std::vector<SettingVal>
opts;
62 std::map<std::string, std::string>
extra;
65 std::vector<CapabOpt>
opts;
82 std::vector<CapabOpt>
opts;
#define SETTING_TYPE_LIST
const char * settingTypeToStr(SettingType type)
SettingType strToSettingType(std::string_view sv)
const std::vector< CompressModule > & getVideoCompressModules() const
void parseStateVersion(std::string_view line)
void queryLine(std::string_view line)
void queryVideoCompress(std::string_view line)
const std::vector< Codec > & getVideoCompressCodecs() const
std::vector< CompressModule > videoCompressModules
bool isAvailable(const std::string &name, SettingType type) const
std::vector< Codec > videoCompressCodecs
std::vector< std::string > available[SETTING_TYPE_COUNT]
const std::vector< Device > & getDevices(SettingType type) const
std::vector< Device > devices[SETTING_TYPE_COUNT]
const std::vector< std::string > & getAvailableSettings(SettingType type) const
void(AvailableSettings::* parseFunc)(std::string_view str)
void queryDevice(std::string_view line)
void queryProcessLine(std::string_view line)
std::vector< Encoder > encoders
std::vector< CapabOpt > opts
std::map< std::string, std::string > extra
std::vector< CapabOpt > opts
std::vector< DeviceMode > modes
std::vector< SettingVal > opts