OpenShot Library | libopenshot
0.2.2
|
Go to the documentation of this file.
28 #ifndef OPENSHOT_FRAMEMAPPER_H
29 #define OPENSHOT_FRAMEMAPPER_H
80 Field(int64_t frame,
bool isodd)
152 void AddField(int64_t frame);
153 void AddField(
Field field);
156 std::shared_ptr<Frame> GetOrCreateFrame(int64_t number);
182 MappedFrame GetMappedFrame(int64_t TargetFrameNumber);
193 std::shared_ptr<Frame> GetFrame(int64_t requested_frame);
199 string Name() {
return "FrameMapper"; };
203 void SetJson(
string value);
204 Json::Value JsonValue();
205 void SetJsonValue(Json::Value root);
217 void ResampleMappedAudio(std::shared_ptr<Frame> frame, int64_t original_frame_number);
Header file for FFmpegUtilities.
Header file for Fraction class.
Field(int64_t frame, bool isodd)
This namespace is the default namespace for all code in the openshot library.
This class represents a fraction.
This struct holds a single field (half a frame).
string Name()
Return the type name of the class.
This class represents a single frame of video (i.e. image & audio data)
Header file for the Keyframe class.
This class is a memory-based cache manager for Frame objects.
Header file for CacheMemory class.
This struct holds two fields which together make up a complete video frame.
This struct holds a the range of samples needed by this frame.
Header file for Frame class.
This class creates a mapping between 2 different frame rates, applying a specific pull-down technique...
Advanced 2:3:3:2 pull-down (minimal dirty frames)
Header file for ReaderBase class.
Header file for OpenMPUtilities (set some common macros)
This abstract class is the base class, used by all readers in libopenshot.
PulldownType
This enumeration determines how frame rates are increased or decreased.
vector< MappedFrame > frames
ChannelLayout
This enumeration determines the audio channel layout (such as stereo, mono, 5 point surround,...
CacheMemory * GetCache()
Get the cache object used by this reader.
Do not apply pull-down techniques, just repeat or skip entire frames.
Header file for all Exception classes.
Classic 2:3:2:3 pull-down.