MayaFlux 0.1.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 340 of file UniversalTransformer.hpp.

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