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

◆ flat_bytes()

std::vector< uint8_t > & MayaFlux::Kakshya::DynamicVideoStream::flat_bytes ( )
private

Definition at line 20 of file DynamicVideoStream.cpp.

21{
22 if (m_data.empty()) {
23 m_data.resize(1);
24 }
25
26 if (!std::holds_alternative<std::vector<uint8_t>>(m_data[0])) {
27 m_data[0].emplace<std::vector<uint8_t>>();
28 }
29
30 return std::get<std::vector<uint8_t>>(m_data[0]);
31}

References MayaFlux::Kakshya::VideoStreamContainer::m_data.

Referenced by claim_frame_slot(), and ensure_capacity().

+ Here is the caller graph for this function: