FastLED 3.9.7
Loading...
Searching...
No Matches
fl::VideoImpl Class Reference

Detailed Description

Definition at line 22 of file video_impl.h.

+ Inheritance diagram for fl::VideoImpl:

Public Types

enum  { kSizeRGB8 = 3 }
 

Public Member Functions

 VideoImpl (size_t pixelsPerFrame, float fpsVideo, size_t frameHistoryCount=0)
 
void begin (fl::FileHandlePtr h)
 
void beginStream (fl::ByteStreamPtr s)
 
bool draw (uint32_t now, CRGB *leds)
 
void end ()
 
bool rewind ()
 
bool draw (uint32_t now, Frame *frame)
 
bool full () const
 
void setTimeScale (float timeScale)
 
float timeScale () const
 
size_t pixelsPerFrame () const
 
void pause (uint32_t now)
 
void resume (uint32_t now)
 
bool needsFrame (uint32_t now) const
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Additional Inherited Members

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 24 of file video_impl.h.

Constructor & Destructor Documentation

◆ VideoImpl()

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

Definition at line 17 of file video_impl.cpp.

◆ ~VideoImpl()

fl::VideoImpl::~VideoImpl ( )

Definition at line 49 of file video_impl.cpp.

Member Function Documentation

◆ begin()

void fl::VideoImpl::begin ( fl::FileHandlePtr h)

Definition at line 51 of file video_impl.cpp.

◆ beginStream()

void fl::VideoImpl::beginStream ( fl::ByteStreamPtr s)

Definition at line 59 of file video_impl.cpp.

◆ draw() [1/2]

bool fl::VideoImpl::draw ( uint32_t now,
CRGB * leds )

Definition at line 90 of file video_impl.cpp.

◆ draw() [2/2]

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

Definition at line 75 of file video_impl.cpp.

◆ end()

void fl::VideoImpl::end ( )

Definition at line 67 of file video_impl.cpp.

◆ full()

bool fl::VideoImpl::full ( ) const

Definition at line 73 of file video_impl.cpp.

◆ needsFrame()

bool fl::VideoImpl::needsFrame ( uint32_t now) const

Definition at line 43 of file video_impl.cpp.

◆ pause()

void fl::VideoImpl::pause ( uint32_t now)

Definition at line 23 of file video_impl.cpp.

◆ pixelsPerFrame()

size_t fl::VideoImpl::pixelsPerFrame ( ) const
inline

Definition at line 44 of file video_impl.h.

◆ resume()

void fl::VideoImpl::resume ( uint32_t now)

Definition at line 29 of file video_impl.cpp.

◆ rewind()

bool fl::VideoImpl::rewind ( )

Definition at line 295 of file video_impl.cpp.

◆ setTimeScale()

void fl::VideoImpl::setTimeScale ( float timeScale)

Definition at line 36 of file video_impl.cpp.

◆ timeScale()

float fl::VideoImpl::timeScale ( ) const
inline

Definition at line 43 of file video_impl.h.


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