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

◆ write() [4/5]

void MayaFlux::IO::VideoFileWriter::write ( const uint8_t *  pixels,
size_t  size 
)

Definition at line 257 of file VideoFileWriter.cpp.

258{
259 if (!m_open.load(std::memory_order_acquire) || !pixels || size == 0)
260 return;
261 post(RawFrame {
262 .pixels = std::vector<uint8_t>(pixels, pixels + size),
263 .width = m_width,
264 .height = m_height });
265}
const std::vector< float > * pixels
Definition Decoder.cpp:58
bool post(const WorkItem &item)

References m_height, m_open, m_width, MayaFlux::IO::VideoFileWriter::RawFrame::pixels, pixels, and post().

+ Here is the call graph for this function: