Runtime encoder option exposed to configuration parsing.
More...
#include <src/video.h>
|
| option_t & | operator= (option_t &&) noexcept=default |
| | Defaulted move assignment for the generated type. * *.
|
|
| option_t (const option_t &)=default |
| | Copy an encoder option descriptor.
|
| | option_t (option_t &&) noexcept=default |
| | Defaulted move constructor for the generated type.
|
| | option_t (std::string &&name, decltype(value) &&value) |
| | Store a named encoder option and its value source.
|
|
|
std::string | name |
| | Encoder command-line option name.
|
|
std::variant< int, int *, std::optional< int > *, std::function< int()>, std::string, std::string *, std::function< const std::string(const config_t &)> > | value |
| | Literal, pointer, or callback that supplies the option value.
|
Runtime encoder option exposed to configuration parsing.
◆ option_t() [1/2]
| video::encoder_t::option_t::option_t |
( |
option_t && | | ) |
|
|
defaultnoexcept |
Defaulted move constructor for the generated type.
◆ option_t() [2/2]
| video::encoder_t::option_t::option_t |
( |
std::string && | name, |
|
|
decltype(value) && | value ) |
|
inline |
Store a named encoder option and its value source.
- Parameters
-
| name | Human-readable name to assign. |
| value | Literal value, pointer, or callback used to resolve the option. |
◆ operator=()
Defaulted move assignment for the generated type. * *.
The documentation for this struct was generated from the following file: