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

◆ byte_dimensions()

std::vector< DataDimension > MayaFlux::Kakshya::CompositeAccess::byte_dimensions ( ) const

Describe packed bytes as [elements, bytes-per-element].

Returns
Two CUSTOM DataDimensions for the uint8_t element store.
Note
These dimensions do not replace the field schema in layout().

Definition at line 68 of file CompositeAccess.cpp.

69{
70 return {
71 DataDimension("elements", size(), m_layout->stride_bytes(), DataDimension::Role::CUSTOM),
72 DataDimension("bytes", m_layout->stride_bytes(), 1, DataDimension::Role::CUSTOM)
73 };
74}
size_t size() const noexcept
Number of packed elements in the current element store.
size_t stride_bytes() const noexcept
Bytes per packed element after finalization.
Definition Composite.hpp:86
@ CUSTOM
User-defined or application-specific.

References MayaFlux::Kakshya::DataDimension::CUSTOM, m_layout, size(), and MayaFlux::Kakshya::CompositeLayout::stride_bytes().

+ Here is the call graph for this function: