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

◆ get_frame_size()

uint64_t MayaFlux::Kakshya::TextureContainer::get_frame_size ( ) const
overridevirtual

Get the number of elements that constitute one "frame".

For audio: channels per sample. For images: pixels per frame.

Returns
Number of elements per frame

Implements MayaFlux::Kakshya::NDDataContainer< DataVariant >.

Definition at line 680 of file TextureContainer.cpp.

681{
682 return static_cast<uint64_t>(m_width) * m_channels;
683}

References m_channels, and m_width.