FastLED 3.9.3
Loading...
Searching...
No Matches
VideoImpl Class Reference

Detailed Description

Definition at line 30 of file video.cpp.

+ Inheritance diagram for VideoImpl:

Public Member Functions

 VideoImpl (size_t pixelsPerFrame, float fpsVideo, size_t frameHistoryCount=0)
 
void begin (FileHandleRef h)
 
void beginStream (ByteStreamRef s)
 
bool draw (uint32_t now, CRGB *leds, uint8_t *alpha=nullptr)
 
void end ()
 
bool rewind ()
 
bool draw (uint32_t now, Frame *frame)
 
bool full () const
 
FrameRef popOldest ()
 
void pushNewest (FrameRef frame)
 
- Public Member Functions inherited from Referent
virtual int ref_count () const
 

Additional Inherited Members

- Protected Member Functions inherited from Referent
 Referent (const Referent &)
 
Referentoperator= (const Referent &)
 
 Referent (Referent &&)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 
virtual void destroy ()
 

Constructor & Destructor Documentation

◆ VideoImpl()

VideoImpl::VideoImpl ( size_t pixelsPerFrame,
float fpsVideo,
size_t frameHistoryCount = 0 )

Definition at line 57 of file video.cpp.

◆ ~VideoImpl()

VideoImpl::~VideoImpl ( )

Definition at line 63 of file video.cpp.

Member Function Documentation

◆ begin()

void VideoImpl::begin ( FileHandleRef h)

Definition at line 65 of file video.cpp.

◆ beginStream()

void VideoImpl::beginStream ( ByteStreamRef s)

Definition at line 72 of file video.cpp.

◆ draw() [1/2]

bool VideoImpl::draw ( uint32_t now,
CRGB * leds,
uint8_t * alpha = nullptr )

Definition at line 108 of file video.cpp.

◆ draw() [2/2]

bool VideoImpl::draw ( uint32_t now,
Frame * frame )

Definition at line 97 of file video.cpp.

◆ end()

void VideoImpl::end ( )

Definition at line 79 of file video.cpp.

◆ full()

bool VideoImpl::full ( ) const

Definition at line 89 of file video.cpp.

◆ popOldest()

FrameRef VideoImpl::popOldest ( )

Definition at line 91 of file video.cpp.

◆ pushNewest()

void VideoImpl::pushNewest ( FrameRef frame)

Definition at line 85 of file video.cpp.

◆ rewind()

bool VideoImpl::rewind ( )

Definition at line 160 of file video.cpp.


The documentation for this class was generated from the following file: