|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| DataModality MayaFlux::Kakshya::detect_data_modality | ( | const std::vector< DataDimension > & | dimensions, |
| const DataVariant & | source | ||
| ) |
Detect data modality from dimensions and source variant scalar type.
Resolves ambiguous cases where dimension roles alone are insufficient, primarily the TIME-only case where decimal, integer, and complex types would otherwise all collapse to the same result.
| dimensions | Vector of data dimensions with role information. |
| source | Original DataVariant used to produce the dimensions. |
Definition at line 184 of file DataUtils.cpp.
References AUDIO_1D, detect_data_modality(), SPECTRAL_2D, and TENSOR_ND.
Here is the call graph for this function: