MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_strategy()

template<ComputeData InputType = Kakshya::DataVariant, ComputeData OutputType = InputType>
void MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >::set_strategy ( TransformationStrategy  strategy)
inline

Sets the transformation strategy.

Parameters
strategyHow the transformation should be executed

Strategies control memory usage, performance, and behavior:

  • IN_PLACE: Modify input data directly (memory efficient)
  • BUFFERED: Create copy for output (preserves input)
  • STREAMING: Process in chunks for large data
  • PARALLEL: Use multiple threads where possible

Definition at line 371 of file UniversalTransformer.hpp.

371{ m_strategy = strategy; }
TransformationStrategy m_strategy
Core transformation configuration.

References MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >::m_strategy.

Referenced by MayaFlux::Yantra::ConvolutionTransformer< InputType, OutputType >::ConvolutionTransformer(), MayaFlux::Yantra::MathematicalTransformer< InputType, OutputType >::MathematicalTransformer(), MayaFlux::Yantra::SpectralTransformer< InputType, OutputType >::SpectralTransformer(), and MayaFlux::Yantra::TemporalTransformer< InputType, OutputType >::TemporalTransformer().

+ Here is the caller graph for this function: