28 #ifndef OPENSHOT_DUMMY_READER_H 29 #define OPENSHOT_DUMMY_READER_H 56 tr1::shared_ptr<Frame> image_frame;
65 DummyReader(
Fraction fps,
int width,
int height,
int sample_rate,
int channels,
float duration);
78 tr1::shared_ptr<Frame> GetFrame(
long int requested_frame)
throw(
ReaderClosed);
84 string Name() {
return "DummyReader"; };
89 Json::Value JsonValue();
90 void SetJsonValue(Json::Value root)
throw(
InvalidFile);
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. ...
This abstract class is the base class, used by all readers in libopenshot.
Exception when a reader is closed, and a frame is requested.
Header file for all Exception classes.
Exception for files that can not be found or opened.
Header file for Cache class.
This class represents a fraction.
This class is a cache manager for Frame objects.
bool IsOpen()
Determine if reader is open or closed.
This namespace is the default namespace for all code in the openshot library.
Cache * GetCache()
Get the cache object used by this reader (always returns NULL for this reader)
Exception for invalid JSON.