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

◆ component_range()

std::optional< DataDimension::ValueRange > MayaFlux::Kakshya::VideoStreamContainer::component_range ( ) const
private

Value range declared on the component dimension, if any.

Resolves DEPTH first, then CHANNEL, matching the two roles setup_dimensions() emits for the component axis.

Definition at line 103 of file VideoStreamContainer.cpp.

104{
106 auto it = std::ranges::find_if(m_structure.dimensions,
107 [role](const DataDimension& d) { return d.role == role; });
108 if (it != m_structure.dimensions.end())
109 return it->value_range;
110 }
111 return std::nullopt;
112}
@ DEPTH
Distance from the observation point (depth, disparity, range)
@ CHANNEL
Parallel streams (audio channels, color channels)

References MayaFlux::Kakshya::DataDimension::CHANNEL, MayaFlux::Kakshya::DataDimension::DEPTH, MayaFlux::Kakshya::ContainerDataStructure::dimensions, and m_structure.

Referenced by get_value_impl(), and set_value_impl().

+ Here is the caller graph for this function: