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

◆ owned_channel()

NumericChannels MayaFlux::Yantra::OperationHelper::owned_channel ( Kakshya::DataVariant data)
inlinestaticprivate

One channel of a single variant, converted to double and kept alive by the result.

Definition at line 956 of file OperationHelper.hpp.

957 {
958 auto owner = std::make_shared<Kakshya::DataVariant>(std::move(data));
960 return NumericChannels { NumericChannels::Spans { span }, std::move(owner) };
961 }
std::vector< std::span< double > > Spans
static Kakshya::ComplexConversionStrategy s_complex_strategy
std::span< T > convert_variant(DataVariant &variant, ComplexConversionStrategy strategy=ComplexConversionStrategy::MAGNITUDE)
Get const span from DataVariant without conversion (zero-copy for matching types).

References MayaFlux::Kakshya::convert_variant(), and s_complex_strategy.

Referenced by extract_numeric_data().

Here is the call graph for this function:
Here is the caller graph for this function: