MayaFlux 0.4.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.

Definition at line 440 of file TextureContainer.cpp.

441{
442 return static_cast<uint64_t>(m_width) * m_channels;
443}