FastLED 3.9.15
Loading...
Searching...
No Matches
fl::video::PixelStream Class Reference

Detailed Description

Definition at line 27 of file pixel_stream.h.

#include <pixel_stream.h>

+ Collaboration diagram for fl::video::PixelStream:

Public Types

enum  Type { kStreaming , kFile }
 

Public Member Functions

 PixelStream (int bytes_per_frame)
 
virtual ~PixelStream () FL_NOEXCEPT
 
bool atEnd () const
 
bool available () const
 
bool begin (fl::filebuf_ptr h)
 
i32 bytesPerFrame ()
 
i32 bytesRemaining () const
 
i32 bytesRemainingInFrame () const
 
void close ()
 
const fl::stringembeddedScreenMapJson () const FL_NOEXCEPT
 
i32 framesDisplayed () const
 
i32 framesRemaining () const
 
Type getType () const
 
bool hasEmbeddedScreenMap () const FL_NOEXCEPT
 
bool hasFrame (fl::u32 frameNumber)
 
size_t readBytes (u8 *dst, size_t len)
 
bool readFrame (Frame *frame)
 
bool readFrameAt (fl::u32 frameNumber, Frame *frame)
 
bool readPixel (CRGB *dst)
 
bool rewind ()
 

Private Attributes

fl::i32 mbytesPerFrame
 
fl::string mEmbeddedScreenMapJson
 
fl::filebuf_ptr mHandle
 
fl::size_t mPayloadOffset = 0
 
Type mType
 

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