OpenShot Library | libopenshot
0.2.5
|
Go to the documentation of this file.
31 #ifndef OPENSHOT_DUMMY_READER_H
32 #define OPENSHOT_DUMMY_READER_H
57 std::shared_ptr<openshot::Frame> image_frame;
81 std::shared_ptr<openshot::Frame>
GetFrame(int64_t requested_frame);
87 std::string
Name() {
return "DummyReader"; };
90 std::string
Json()
const override;
91 void SetJson(
const std::string value);
void SetJsonValue(const Json::Value root)
Load Json::Value into this object.
Header file for Fraction class.
This namespace is the default namespace for all code in the openshot library.
This class represents a fraction.
std::shared_ptr< openshot::Frame > GetFrame(int64_t requested_frame)
This class is used as a simple, dummy reader, which always returns a blank frame.
This class is a memory-based cache manager for Frame objects.
Header file for CacheMemory class.
bool IsOpen()
Determine if reader is open or closed.
Json::Value JsonValue() const override
Generate Json::Value for this object.
void SetJson(const std::string value)
Load JSON string into this object.
Header file for ReaderBase class.
DummyReader()
Blank constructor for DummyReader, with default settings.
This abstract class is the base class, used by all readers in libopenshot.
CacheMemory * GetCache()
Get the cache object used by this reader (always returns NULL for this reader)
std::string Name()
Return the type name of the class.
void Open()
Open File - which is called by the constructor automatically.
Header file for all Exception classes.
std::string Json() const override
Get and Set JSON methods.