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

◆ get_total_elements()

uint64_t MayaFlux::Kakshya::RegionSegment::get_total_elements ( ) const
inline

Get the total number of elements in the segment.

Definition at line 91 of file RegionSegment.hpp.

92 {
93 uint64_t total = 1;
94 for (auto s : segment_size) {
95 total *= s;
96 }
97 return total;
98 }
std::vector< uint64_t > segment_size
Size in each dimension.

Referenced by MayaFlux::Kakshya::RegionProcessorBase::cache_region_if_needed().

+ Here is the caller graph for this function: