|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kakshya::DynamicVideoStream::ensure_capacity | ( | uint64_t | frames | ) |
Pre-allocate room for frames in linear mode.
Appends then reuse that storage instead of growing. Does nothing in circular mode, which allocates its ring up front.
Definition at line 147 of file DynamicVideoStream.cpp.
References flat_bytes(), MayaFlux::Kakshya::VideoStreamContainer::get_frame_byte_size(), MayaFlux::Kakshya::VideoStreamContainer::is_ring_mode(), and MayaFlux::Kakshya::VideoStreamContainer::m_data_lock.
Here is the call graph for this function: