1#ifndef ACMXVK_APP_OPTIONS_HPP
2#define ACMXVK_APP_OPTIONS_HPP
13 namespace fs = std::filesystem;
16 "xfade_01_linear",
"xfade_02_block",
17 "xfade_03_wipe",
"xfade_04_radial",
18 "xfade_05_pixelate",
"xfade_06_dissolve",
19 "xfade_07_swirl",
"xfade_08_glitch",
20 "xfade_09_diamond",
"xfade_10_burn",
21 "xfade_11_fade_black",
"xfade_12_fade_white",
22 "xfade_13_slide_left",
"xfade_14_slide_right",
23 "xfade_15_slide_up",
"xfade_16_slide_down",
24 "xfade_17_diagonal_wipe",
"xfade_18_iris_open",
25 "xfade_19_iris_close",
"xfade_20_checker",
26 "xfade_21_blinds_h",
"xfade_22_blinds_v",
27 "xfade_23_zoom_in",
"xfade_24_zoom_out",
28 "xfade_25_rotate",
"xfade_26_ripple",
29 "xfade_27_wave",
"xfade_28_chroma",
30 "xfade_29_invert",
"xfade_30_flash",
31 "xfade_31_explode",
"xfade_32_mosaic",
32 "xfade_33_shutter",
"xfade_34_luma",
198 [[nodiscard]]
int parseInteger(std::string_view text, std::string_view option);
199 [[nodiscard]]
double parseNumber(std::string_view text, std::string_view option);
200 [[nodiscard]] Options
parseOptions(
int argc,
char **argv);
203 [[nodiscard]]
bool printEncoderOptions(std::string_view encoder_name, std::ostream &output, std::ostream &error);
204 [[nodiscard]] std::string
trim(std::string text);
void printEncoders(std::ostream &output)
void printHelp(std::ostream &output)
std::string trim(std::string text)
int parseInteger(std::string_view text, std::string_view option)
bool dimensions_supported(int width, int height)
bool printEncoderOptions(std::string_view encoder_name, std::ostream &output, std::ostream &error_output)
Options parseOptions(int argc, char **argv)
double parseNumber(std::string_view text, std::string_view option)
constexpr std::array< std::string_view, 35 > CROSSFADE_NAMES
std::string encode_params
bool gpu_buffer_specified
std::string snapshot_directory
bool dream_zoom_specified
std::int64_t encode_bitrate
bool midi_device_specified
std::string glslc_executable
double audio_recording_gain
std::vector< int > shader_pass_indices
bool dream_octave_scale_specified
double dream_octave_scale
bool cuda_device_specified
double random_dream_interval
std::string build_manifest
bool gpu_filter_before_dream
bool dream_rotation_specified
double audio_pass_through_gain
std::string build_directory
std::vector< std::string > custom_uniform_overrides
bool dream_feedback_specified
std::string fragment_shader
std::vector< std::string > shader_pass_files
bool random_dream_specified
bool audio_recording_gain_specified
bool audio_input_specified
std::string resource_directory
FrameRotation frame_rotation
std::string midi_map_file
std::vector< int > gpu_filter_indices
std::string watermark_text
std::vector< std::string > midi_cc_mappings
bool audio_warm_rate_specified
std::string shader_directory
std::string onnx_configuration
std::string record_audio_file
int gpu_frame_buffer_size
std::string playlist_file
bool dream_channel_specified
bool dream_smoothing_specified
bool dream_jitter_specified
int enumerate_camera_device
std::array< std::uint8_t, 3 > watermark_color
bool enable_texture_cache
std::string list_encoder_options
std::string encode_preset
bool audio_output_specified
bool dream_size_specified
double cross_fade_duration
bool dream_octaves_specified
bool dream_iterations_specified
bool resolution_specified
bool build_parallel_specified
std::string probe_hdr_file
bool audio_pass_through_gain_specified
int autopilot_random_timeout
bool human_white_specified
bool human_black_specified
std::string compute_shader
bool dream_strength_specified