FastLED 3.9.3
Loading...
Searching...
No Matches
Video Class Reference

Detailed Description

Definition at line 23 of file video.h.

Public Member Functions

 Video (FileHandleRef h, size_t pixelsPerFrame, float fps=30.0f, size_t frameHistoryCount=0)
 
 Video (ByteStreamRef s, size_t pixelsPerFrame, float fps=30.0f, size_t frameHistoryCount=0)
 
 Video (const Video &)
 
Videooperator= (const Video &)
 
void begin (FileHandleRef h, size_t pixelsPerFrame, float fps=30.0f, size_t frameHistoryCount=0)
 
void beginStream (ByteStreamRef s, size_t pixelsPerFrame, float fps=30.0f, size_t frameHistoryCount=0)
 
bool draw (uint32_t now, CRGB *leds, uint8_t *alpha=nullptr)
 
bool draw (uint32_t now, Frame *frame)
 
void end ()
 
bool finished ()
 
bool rewind ()
 
 operator bool () const
 

Constructor & Destructor Documentation

◆ Video() [1/2]

Video::Video ( FileHandleRef h,
size_t pixelsPerFrame,
float fps = 30.0f,
size_t frameHistoryCount = 0 )

Definition at line 169 of file video.cpp.

◆ Video() [2/2]

Video::Video ( ByteStreamRef s,
size_t pixelsPerFrame,
float fps = 30.0f,
size_t frameHistoryCount = 0 )

Definition at line 172 of file video.cpp.

Member Function Documentation

◆ begin()

void Video::begin ( FileHandleRef h,
size_t pixelsPerFrame,
float fps = 30.0f,
size_t frameHistoryCount = 0 )

Definition at line 179 of file video.cpp.

◆ beginStream()

void Video::beginStream ( ByteStreamRef s,
size_t pixelsPerFrame,
float fps = 30.0f,
size_t frameHistoryCount = 0 )

Definition at line 186 of file video.cpp.

◆ draw() [1/2]

bool Video::draw ( uint32_t now,
CRGB * leds,
uint8_t * alpha = nullptr )

Definition at line 193 of file video.cpp.

◆ draw() [2/2]

bool Video::draw ( uint32_t now,
Frame * frame )

Definition at line 205 of file video.cpp.

◆ end()

void Video::end ( )

Definition at line 212 of file video.cpp.

◆ finished()

bool Video::finished ( )

Definition at line 218 of file video.cpp.

◆ operator bool()

Video::operator bool ( ) const
inline

Definition at line 43 of file video.h.

◆ rewind()

bool Video::rewind ( )

Definition at line 225 of file video.cpp.


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