MayaFlux 0.4.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 267 of file VideoFileWriter.cpp.

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