ACMX 2.136.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
options.cpp File Reference
#include "options.hpp"
#include "../input_validation.hpp"
#include "../version_info.hpp"
#include "resource_paths.hpp"
#include <mxvk/mxvk.hpp>
#include <mxwrite.hpp>
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <stdexcept>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  acmxvk
namespace  acmxvk::anonymous_namespace{options.cpp}

Functions

void acmxvk::applyResourceDefaults (Options &options)
std::string acmxvk::cleanEncoderField (std::string value)
bool acmxvk::dimensions_supported (int width, int height)
bool acmxvk::hasShaderManifest (const fs::path &directory)
bool acmxvk::isUtilityRequest (const Options &options)
std::string acmxvk::optionValue (int &index, int argc, char **argv, std::string_view option)
std::int64_t acmxvk::anonymous_namespace{options.cpp}::parse_video_bitrate (std::string value, std::string_view option)
std::array< std::uint8_t, 3 > acmxvk::parseColor (std::string_view text, std::string_view option)
void acmxvk::parseDimensions (std::string_view text, int &width, int &height, std::string_view option)
FrameRotation acmxvk::parseFrameRotation (std::string value)
int acmxvk::parseInteger (std::string_view text, std::string_view option)
std::vector< int > acmxvk::parseIntegerList (std::string_view text, std::string_view option)
double acmxvk::parseNumber (std::string_view text, std::string_view option)
Options acmxvk::parseOptions (int argc, char **argv)
bool acmxvk::printEncoderOptions (std::string_view encoder_name, std::ostream &output, std::ostream &error_output)
void acmxvk::printEncoders (std::ostream &output)
void acmxvk::printHelp (std::ostream &output)
std::string acmxvk::trim (std::string text)
void acmxvk::validateLocator (std::string_view value, std::string_view context, bool allow_empty=false)
void acmxvk::validateOptionStrings (const Options &options)

Variables

constexpr int acmxvk::anonymous_namespace{options.cpp}::MAX_FRAME_DIMENSION = 16384
constexpr std::int64_t acmxvk::anonymous_namespace{options.cpp}::MAX_FRAME_PIXELS = 67108864