28 #ifndef OPENSHOT_DUMMY_READER_H 29 #define OPENSHOT_DUMMY_READER_H 56 std::shared_ptr<Frame> image_frame;
65 DummyReader(
Fraction fps,
int width,
int height,
int sample_rate,
int channels,
float duration);
78 std::shared_ptr<Frame> GetFrame(int64_t requested_frame);
84 string Name() {
return "DummyReader"; };
88 void SetJson(
string value);
89 Json::Value JsonValue();
90 void SetJsonValue(Json::Value root);
Header file for Fraction class.
string Name()
Return the type name of the class.
Header file for ReaderBase class.
This class is used as a simple, dummy reader, which always returns a blank frame. ...
CacheMemory * GetCache()
Get the cache object used by this reader (always returns NULL for this reader)
This abstract class is the base class, used by all readers in libopenshot.
Header file for CacheMemory class.
Header file for all Exception classes.
This class represents a fraction.
bool IsOpen()
Determine if reader is open or closed.
This namespace is the default namespace for all code in the openshot library.
This class is a memory-based cache manager for Frame objects.