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

Detailed Description

Examples
FxGfx2Video.ino, and FxLedmapper32x32.ino.

Definition at line 41 of file video.h.

#include <video.h>

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

Public Member Functions

 Video () FL_NO_EXCEPT
 
 Video (const Video &) FL_NO_EXCEPT
 
 Video (size_t pixelsPerFrame, float fps=30.0f, size_t frameHistoryCount=DefaultFrameHistoryCount()) FL_NO_EXCEPT
 
 ~Video () FL_NO_EXCEPT
 
bool begin (fl::filebuf_ptr h) FL_NO_EXCEPT
 
void draw (DrawContext context) FL_NO_EXCEPT override
 
bool draw (fl::u32 now, fl::span< CRGB > leds) FL_NO_EXCEPT
 
bool draw (fl::u32 now, Frame *frame) FL_NO_EXCEPT
 
i32 durationMicros () const FL_NO_EXCEPT
 
const fl::string & embeddedScreenMapJson () const FL_NO_EXCEPT
 
void end () FL_NO_EXCEPT
 
string error () const FL_NO_EXCEPT
 
bool finished () FL_NO_EXCEPT
 
string fxName () const FL_NO_EXCEPT override
 
bool hasEmbeddedScreenMap () const FL_NO_EXCEPT
 
 operator bool () const FL_NO_EXCEPT
 
Video & operator= (const Video &) FL_NO_EXCEPT
 
void pause (fl::u32 now) FL_NO_EXCEPT override
 
size_t pixelsPerFrame () const FL_NO_EXCEPT
 
bool pixelStorage (fled::PixelStorage *out) const FL_NO_EXCEPT
 
bool readSample (video::PixelSample *out) FL_NO_EXCEPT
 
void resume (fl::u32 now) FL_NO_EXCEPT override
 
bool rewind () FL_NO_EXCEPT
 
void setError (const string &error) FL_NO_EXCEPT
 
void setFade (fl::u32 fadeInTime, fl::u32 fadeOutTime) FL_NO_EXCEPT
 
void setFledPlaybackMode (FledPlaybackMode mode) FL_NO_EXCEPT
 
void setTimeScale (float timeScale) FL_NO_EXCEPT
 
bool sourceProfile (SourceProfile *out) const FL_NO_EXCEPT
 The colour-pipeline source profile the file declares (or the default tuple of its pixel format).
 
float timeScale () const FL_NO_EXCEPT
 
bool videoColor (fled::VideoColor *out) const FL_NO_EXCEPT
 
- Public Member Functions inherited from fl::Fx1d
 Fx1d (u16 numLeds) FL_NO_EXCEPT
 
void setXmap (const XMap &xMap) FL_NO_EXCEPT
 
u16 xyMap (u16 x) const FL_NO_EXCEPT
 
- Public Member Functions inherited from fl::Fx
 Fx (u16 numLeds) FL_NO_EXCEPT
 
u16 getNumLeds () const FL_NO_EXCEPT
 
virtual bool hasFixedFrameRate (float *fps) const FL_NO_EXCEPT
 

Static Public Member Functions

static size_t DefaultFrameHistoryCount () FL_NO_EXCEPT
 

Private Member Functions

void setAdmissionError (const string &error) FL_NO_EXCEPT
 

Private Attributes

bool mAdmissionError = false
 
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_NO_EXCEPT
 
- 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: