FastLED 3.9.15
Loading...
Searching...
No Matches

◆ openVideo()

Video fl::FileSystem::openVideo ( const char * path,
size_t pixelsPerFrame,
float fps = 30.0f,
size_t nFrameHistory = 0 )

Definition at line 153 of file file_system.cpp.

154 {
155 Video video(pixelsPerFrame, fps, nFrameHistory);
156 FileHandlePtr file = openRead(path);
157 if (!file) {
158 video.setError(fl::Str("Could not open file: ").append(path));
159 return video;
160 }
161 video.begin(file);
162 return video;
163}
Video video
Definition FxSdCard.ino:63
FileHandlePtr openRead(const char *path)

References openRead(), and video.

+ Here is the call graph for this function: