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

◆ time()

DataDimension MayaFlux::Kakshya::DataDimension::time ( uint64_t  samples,
std::string  name = "time" 
)
static

Convenience constructor for a temporal (time) dimension.

Parameters
samplesNumber of samples/frames
nameOptional name (default: "time")
Returns
DataDimension representing time

Definition at line 14 of file NDData.cpp.

15{
16 return { std::move(name), samples, 1, Role::TIME };
17}
@ TIME
Temporal progression (samples, frames, steps)
std::string name
Human-readable identifier for the dimension.
Definition NDData.hpp:187

References name, and TIME.

Referenced by create_dimensions(), MayaFlux::Kakshya::detect_data_dimensions(), MayaFlux::Kakshya::detect_data_dimensions(), MayaFlux::Buffers::download_audio_from_gpu(), MayaFlux::Yantra::infer_from_container(), MayaFlux::Yantra::infer_from_eigen(), MayaFlux::Yantra::infer_from_region(), MayaFlux::Yantra::infer_from_region_group(), MayaFlux::Yantra::infer_from_segments(), and MayaFlux::Yantra::infer_generic_structure().

+ Here is the caller graph for this function: