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

◆ is_in_place()

template<ComputeData InputType = Kakshya::DataVariant, ComputeData OutputType = InputType>
virtual bool MayaFlux::Yantra::UniversalTransformer< InputType, OutputType >::is_in_place ( ) const
inlinevirtual

Indicates whether the transformation modifies the input data directly.

Returns
True if the operation modifies input in-place, false if it creates a new output

This is determined by the current transformation strategy. IN_PLACE strategy modifies input directly, while other strategies preserve the input.

Definition at line 468 of file UniversalTransformer.hpp.

TransformationStrategy m_strategy
Core transformation configuration.
@ IN_PLACE
Transform data in-place (modifies input)

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

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

+ Here is the caller graph for this function: