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

Detailed Description

Examples
FxGfx2Video.ino.

Definition at line 28 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 (fl::u32 now, CRGB *leds)
 
bool draw (fl::u32 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 (fl::u32 now) override
 
size_t pixelsPerFrame () const
 
void resume (fl::u32 now) override
 
bool rewind ()
 
void setError (const Str &error)
 
void setFade (fl::u32 fadeInTime, fl::u32 fadeOutTime)
 
void setTimeScale (float timeScale)
 
float timeScale () const
 
- Public Member Functions inherited from fl::Fx1d
 Fx1d (u16 numLeds)
 
void setXmap (const XMap &xMap)
 
u16 xyMap (u16 x) const
 
- Public Member Functions inherited from fl::Fx
 Fx (uint16_t numLeds)
 
uint16_t getNumLeds () const
 
virtual bool hasFixedFrameRate (float *fps) 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 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: