44 fl::size pixelsPerFrame,
float fps = 30.0f,
49 fl::size pixelsPerFrame,
float fps = 30.0f,
bool readJson(FileSystem &fs, const char *path, json *doc) FL_NO_EXCEPT
Parse a file as JSON.
Fled readFled(FileSystem &fs, const char *path) FL_NO_EXCEPT
Load a .fled container.
Video readMpeg1Video(FileSystem &fs, const char *path, fl::size pixelsPerFrame, float fps, fl::size nFrameHistory) FL_NO_EXCEPT
MPEG1 video. Null if the file could not be opened.
InputGamut g FL_NO_EXCEPT
bool readScreenMaps(FileSystem &fs, const char *path, fl::flat_map< string, ScreenMap > *out, string *error) FL_NO_EXCEPT
Every screen map in a screenmap JSON file, keyed by name.
bool readScreenMap(FileSystem &fs, const char *path, const char *name, ScreenMap *out, string *error) FL_NO_EXCEPT
One named screen map from a screenmap JSON file.
Video readVideo(FileSystem &fs, const char *path, fl::size pixelsPerFrame, float fps, fl::size nFrameHistory) FL_NO_EXCEPT
Raw-frame video. Null if the file could not be opened.
fl::shared_ptr< Mp3Decoder > Mp3DecoderPtr
FramePtr readJpeg(FileSystem &fs, const char *path, const JpegConfig &config, string *error) FL_NO_EXCEPT
Decode a JPEG into a Frame. Null on failure; error receives why.
bool readText(FileSystem &fs, const char *path, string *out) FL_NO_EXCEPT
Whole file as text.
Mp3DecoderPtr readMp3(FileSystem &fs, const char *path, string *error) FL_NO_EXCEPT
Streaming MP3 decoder over a file. Null on failure.
Base definition for an LED controller.