FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Video Class Reference

Detailed Description

Definition at line 30 of file video.h.

#include <video.h>

+ Inheritance diagram for fl::Video:
+ Collaboration diagram for fl::Video:

Public Member Functions

 Video ()
 
 Video (const Video &)
 
 Video (size_t pixelsPerFrame, float fps=30.0f, size_t frameHistoryCount=DefaultFrameHistoryCount())
 
 ~Video ()
 
bool begin (fl::FileHandlePtr h)
 
bool beginStream (fl::ByteStreamPtr s)
 
void draw (DrawContext context) override
 
bool draw (uint32_t now, CRGB *leds)
 
bool draw (uint32_t now, Frame *frame)
 
int32_t durationMicros () const
 
void end ()
 
Str error () const
 
bool finished ()
 
Str fxName () const override
 
 operator bool () const
 
Videooperator= (const Video &)
 
void pause (uint32_t now) override
 
size_t pixelsPerFrame () const
 
void resume (uint32_t now) override
 
bool rewind ()
 
void setError (const Str &error)
 
void setFade (uint32_t fadeInTime, uint32_t fadeOutTime)
 
void setTimeScale (float timeScale)
 
float timeScale () const
 
- Public Member Functions inherited from fl::Fx1d
 Fx1d (uint16_t numLeds)
 
void setXmap (const XMap &xMap)
 
uint16_t xyMap (uint16_t x) const
 
- Public Member Functions inherited from fl::Fx
 Fx (uint16_t numLeds)
 
uint16_t getNumLeds () const
 
virtual bool hasFixedFrameRate (float *fps) const
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Static Public Member Functions

static size_t DefaultFrameHistoryCount ()
 

Private Attributes

Str mError
 
bool mFinished = false
 
VideoImplPtr mImpl
 
Str mName
 

Additional Inherited Members

- Public Types inherited from fl::Fx
using DrawContext = _DrawContext
 
- Protected Member Functions inherited from fl::Fx
virtual ~Fx ()
 
- Protected Member Functions inherited from fl::Referent
 Referent ()
 
 Referent (const Referent &)
 
 Referent (Referent &&)
 
virtual ~Referent ()
 
virtual void destroy ()
 
Referentoperator= (const Referent &)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 
- Protected Attributes inherited from fl::Fx1d
XMap mXMap
 
- Protected Attributes inherited from fl::Fx
uint16_t mNumLeds
 

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