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 156 of file file_system.cpp.

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

References openRead(), and video.

+ Here is the call graph for this function: