score::gfx::VideoFrameReader Struct Reference
Inheritance diagram for score::gfx::VideoFrameReader:
score::gfx::VideoFrameShare

Public Member Functions

bool mustReadVideoFrame (const VideoNode &node)
 
void readNextFrame (VideoNode &node)
 
void pause (bool p)
 
- Public Member Functions inherited from score::gfx::VideoFrameShare
std::shared_ptr< RefcountedFramecurrentFrame () const noexcept
 
void updateCurrentFrame (AVFrame *frame)
 
void releaseFramesToFree ()
 
void releaseAllFrames ()
 

Static Public Member Functions

static AVFrame * nextFrame (const VideoNode &node, Video::VideoInterface &decoder, std::vector< AVFrame * > &framesToFree, AVFrame *&nextFrame)
 

Additional Inherited Members

- Public Attributes inherited from score::gfx::VideoFrameShare
std::shared_ptr< Video::VideoInterfacem_decoder
 
std::mutex m_frameLock {}
 
std::shared_ptr< RefcountedFramem_currentFrame
 
int64_t m_currentFrameIdx {}
 
std::vector< AVFrame * > m_framesToFree
 
std::vector< std::shared_ptr< RefcountedFrame > > m_framesInFlight
 

The documentation for this struct was generated from the following files: