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

◆ write() [5/5]

void MayaFlux::IO::VideoFileWriter::write ( std::span< const uint8_t >  pixels)

Definition at line 268 of file VideoFileWriter.cpp.

269{
270 if (!m_open.load(std::memory_order_acquire) || pixels.empty())
271 return;
272 post(RawFrame {
273 .pixels = std::vector<uint8_t>(pixels.begin(), pixels.end()),
274 .width = m_width,
275 .height = m_height });
276}
const std::vector< float > * pixels
Definition Decoder.cpp:65
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: