MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::NumericChannels Class Reference

Per-channel double spans produced by numeric extraction, together with the storage behind them. More...

#include <OperationHelper.hpp>

Inheritance diagram for MayaFlux::Yantra::NumericChannels:
Collaboration diagram for MayaFlux::Yantra::NumericChannels:

Public Types

using Spans = std::vector<std::span<double>>

Public Member Functions

 NumericChannels ()=default
 NumericChannels (Spans spans)
 NumericChannels (Spans spans, std::shared_ptr< void > owner)

Private Attributes

std::shared_ptr< void > m_owner

Detailed Description

Per-channel double spans produced by numeric extraction, together with the storage behind them.

Numeric extraction converts a source into double precision for operations that expect numeric input. When the source already holds doubles the spans view that storage and the owner is empty. When data was converted or built for the call, the owner keeps it alive for as long as this object, or a copy of it, exists. Copying the base vector drops the owner, so keep the NumericChannels itself in scope while its spans are used.

Definition at line 43 of file OperationHelper.hpp.


The documentation for this class was generated from the following file: