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

◆ is_in_place()

template<ComputeData InputType = Kakshya::DataVariant, ComputeData OutputType = InputType>
bool MayaFlux::Yantra::Transformer< InputType, OutputType >::is_in_place ( ) const
inlinenodiscard

Definition at line 134 of file Transformer.hpp.

135 {
136 const auto stored = configs();
137 return !stored.empty()
138 && static_cast<const TransformerConfig&>(stored.front().get()).strategy == TransformationStrategy::IN_PLACE;
139 }
ConfigRefs configs() const override
The stored transformer settings, empty when none were set.
Base of every transformer family.

References configs(), MayaFlux::Yantra::IN_PLACE, and MayaFlux::Yantra::TransformerConfig::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 call graph for this function:
Here is the caller graph for this function: