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

◆ size()

size_t MayaFlux::Kakshya::CompositeArray::size ( ) const
noexcept

Number of packed elements.

Definition at line 101 of file Composite.cpp.

102{
103 const auto& rows = std::get<std::vector<uint8_t>>(m_rows);
104 return rows.size() / m_layout.stride_bytes();
105}
uint32_t rows
size_t stride_bytes() const noexcept
Bytes per packed element after finalization.
Definition Composite.hpp:86

References m_layout, m_rows, rows, and MayaFlux::Kakshya::CompositeLayout::stride_bytes().

Referenced by append(), clear(), MayaFlux::Kakshya::CompositeContainer::get_dimensions(), MayaFlux::Yantra::infer_from_composite_array(), MayaFlux::IO::DelimitedTextReader::read_next(), MayaFlux::Kakshya::CompositeContainer::set_region_data(), validate_write(), and MayaFlux::IO::CompositeWriter::write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: