685{
686 std::span<const uint8_t> result;
690 return;
691
694 return;
695
697 const uint64_t
offset = frame_index * row_elems;
699 return;
700
701 result = std::span<const uint8_t>(
pixels->data() +
offset, row_elems);
702 });
703
704 return result;
705}
const std::vector< float > * pixels
Memory::Seqlock m_data_lock
std::vector< DataVariant > m_processed_data
ContainerDataStructure m_structure
bool seqlock_read_void(const Seqlock &lock, uint32_t max_attempts, Fn &&fn)
Invoke a void read functor under a Seqlock with a bounded retry count.
static uint64_t get_height(const std::vector< DataDimension > &dimensions)
Extract height from image/video dimensions.
static uint64_t get_channel_count(const std::vector< DataDimension > &dimensions)
Extract channel count from dimensions.
static uint64_t get_width(const std::vector< DataDimension > &dimensions)
Extract width from image/video dimensions.