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

Detailed Description

Examples
FxGfx2Video.ino.

Definition at line 33 of file video.h.

#include <video.h>

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

Public Member Functions

 Video () FL_NOEXCEPT
 
 Video (const Video &) FL_NOEXCEPT
 
 Video (size_t pixelsPerFrame, float fps=30.0f, size_t frameHistoryCount=DefaultFrameHistoryCount())
 
 ~Video () FL_NOEXCEPT
 
bool begin (fl::filebuf_ptr h)
 
void draw (DrawContext context) override
 
bool draw (fl::u32 now, fl::span< CRGB > leds)
 
bool draw (fl::u32 now, Frame *frame)
 
i32 durationMicros () const
 
const fl::stringembeddedScreenMapJson () const FL_NOEXCEPT
 
void end ()
 
string error () const
 
bool finished ()
 
string fxName () const override
 
bool hasEmbeddedScreenMap () const FL_NOEXCEPT
 
 operator bool () const
 
Videooperator= (const Video &) FL_NOEXCEPT
 
void pause (fl::u32 now) override
 
size_t pixelsPerFrame () const
 
void resume (fl::u32 now) override
 
bool rewind ()
 
void setError (const string &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 (u16 numLeds)
 
u16 getNumLeds () const
 
virtual bool hasFixedFrameRate (float *fps) const
 

Static Public Member Functions

static size_t DefaultFrameHistoryCount ()
 

Private Attributes

string mError
 
bool mFinished = false
 
VideoImplPtr mImpl
 
string mName
 

Additional Inherited Members

- Public Types inherited from fl::Fx
using DrawContext = ::fl::DrawContext
 
- Protected Member Functions inherited from fl::Fx
virtual ~Fx () FL_NOEXCEPT
 
- Protected Attributes inherited from fl::Fx1d
XMap mXMap
 
- Protected Attributes inherited from fl::Fx
u16 mNumLeds
 

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