|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Settings of MathematicalTransformer, stored whole in the operation's facets. More...
#include <MathematicalTransformer.hpp>
Public Attributes | |
| double | amplitude { 1.0 } |
| TRIGONOMETRIC: amplitude of the output. | |
| uint8_t | bits { 16 } |
| QUANTIZE: bit depth. | |
| std::vector< double > | coefficients { 0.0, 1.0 } |
| POLYNOMIAL: coefficients, highest order first, as Polynomial::power_sum evaluates them. | |
| double | exp_base { std::numbers::e } |
| EXPONENTIAL: base of the exponential. | |
| double | exp_rate { 1.0 } |
| EXPONENTIAL: rate applied to the input. | |
| double | exp_scale { 1.0 } |
| EXPONENTIAL: output scale. | |
| double | exponent { 2.0 } |
| POWER: exponent. | |
| double | frequency { 1.0 } |
| TRIGONOMETRIC: frequency scaling of the input. | |
| double | gain_factor { 1.0 } |
| GAIN: multiplier. | |
| double | log_base { std::numbers::e } |
| LOGARITHMIC: logarithm base. | |
| double | log_input_scale { 1.0 } |
| LOGARITHMIC: input scale applied before the offset. | |
| double | log_offset { 1.0 } |
| LOGARITHMIC: offset added to the scaled input. | |
| double | log_scale { 1.0 } |
| LOGARITHMIC: output scale. | |
| double | offset_value { 0.0 } |
| OFFSET: added constant. | |
| Reflect::EnumByte< MathematicalOperation > | operation { MathematicalOperation::GAIN } |
| Pointwise map to apply. | |
| double | phase { 0.0 } |
| TRIGONOMETRIC: phase offset of the input. | |
| double | target_peak { 1.0 } |
| NORMALIZE: peak of the output range, which is [-target_peak, target_peak]. | |
| Reflect::EnumByte< TrigFunction > | trig_function { TrigFunction::SIN } |
| TRIGONOMETRIC: function applied. | |
| Public Attributes inherited from MayaFlux::Yantra::TransformerConfig | |
| double | intensity { 1.0 } |
| Amount of transformation, 0.0 to 2.0. | |
| TransformationQuality | quality { TransformationQuality::STANDARD } |
| Requested quality level. | |
| TransformationScope | scope { TransformationScope::FULL_DATA } |
| Portion of the data processed. | |
| TransformationStrategy | strategy { TransformationStrategy::BUFFERED } |
| How the input is handled. | |
Additional Inherited Members | |
| Public Member Functions inherited from MayaFlux::Yantra::OperationConfig | |
| template<typename Op> | |
| void | apply_to (Op &operation) const |
| Apply retained concrete settings to an operation through its parent contract. | |
| template<typename T> | |
| const T * | get () const |
| The struct of this type, or nullptr when absent. | |
| OperationConfig ()=default | |
| template<typename Config> requires (!std::same_as<std::remove_cvref_t<Config>, OperationConfig> && std::derived_from<std::remove_cvref_t<Config>, OperationConfig>) | |
| OperationConfig (Config &&config) | |
| Retain a concrete config whole when placed in a parent-config collection. | |
| OperationConfig (const OperationConfig &)=default | |
| OperationConfig (OperationConfig &&) noexcept=default | |
| OperationConfig & | operator= (const OperationConfig &)=default |
| OperationConfig & | operator= (OperationConfig &&) noexcept=default |
| template<typename T> | |
| void | set (T value) |
| Stores a struct under its type identity. | |
Settings of MathematicalTransformer, stored whole in the operation's facets.
Definition at line 42 of file MathematicalTransformer.hpp.