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

◆ pull_frame_all()

void MayaFlux::IO::FFmpegCameraReader::pull_frame_all ( )
overridevirtual

Signal the source to pull one frame.

Non-blocking. Called by IOManager's dispatch, or a standalone IOService lambda, when a frame request arrives for this source's reader_id.

Implements MayaFlux::IO::CameraSource.

Definition at line 351 of file FFmpegCameraReader.cpp.

352{
353 {
354 std::lock_guard lock(m_decode_mutex);
355 m_frame_requested.store(true, std::memory_order_relaxed);
356 }
357 m_decode_cv.notify_one();
358}

References m_decode_cv, m_decode_mutex, and m_frame_requested.

Referenced by setup_io_service().

+ Here is the caller graph for this function: