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

◆ get_samples_count_per_channel() [2/2]

uint64_t MayaFlux::Kakshya::ContainerDataStructure::get_samples_count_per_channel ( const std::vector< DataDimension > &  dimensions)
static

Get samples per channel (time dimension only).

Parameters
dimensionsVector of dimension descriptors
Returns
Number of samples per channel

Definition at line 218 of file NDimensionalContainer.cpp.

219{
220 for (const auto& dim : dimensions) {
221 if (dim.role == DataDimension::Role::TIME) {
222 return dim.size;
223 }
224 }
225 return 0;
226}
@ TIME
Temporal progression (samples, frames, steps)

References dimensions, and MayaFlux::Kakshya::DataDimension::TIME.

Referenced by MayaFlux::Kakshya::advance_position(), MayaFlux::Kakshya::advance_position(), MayaFlux::Kakshya::CursorAccessProcessor::process(), MayaFlux::Kakshya::ContiguousAccessProcessor::store_metadata(), and MayaFlux::Kakshya::ContiguousAccessProcessor::validate().

+ Here is the caller graph for this function: