MLT 7.30.0
mlt_animation.h
Go to the documentation of this file.
1
23#ifndef MLT_ANIMATION_H
24#define MLT_ANIMATION_H
25
26#include "mlt_property.h"
27#include "mlt_types.h"
28
53 mlt_animation self, const char *data, int length, double fps, mlt_locale_t locale);
54extern int mlt_animation_refresh(mlt_animation self, const char *data, int length);
56extern void mlt_animation_set_length(mlt_animation self, int length);
57extern int mlt_animation_parse_item(mlt_animation self, mlt_animation_item item, const char *data);
58extern int mlt_animation_get_item(mlt_animation self, mlt_animation_item item, int position);
60extern int mlt_animation_remove(mlt_animation self, int position);
62extern int mlt_animation_next_key(mlt_animation self, mlt_animation_item item, int position);
63extern int mlt_animation_prev_key(mlt_animation self, mlt_animation_item item, int position);
65extern char *mlt_animation_serialize_cut(mlt_animation self, int in, int out);
69extern int mlt_animation_key_get(mlt_animation self, mlt_animation_item item, int index);
72extern int mlt_animation_key_set_frame(mlt_animation self, int index, int frame);
73extern void mlt_animation_shift_frames(mlt_animation self, int shift);
74extern const char *mlt_animation_get_string(mlt_animation self);
75
76#endif
const char * mlt_animation_get_string(mlt_animation self)
int mlt_animation_parse_item(mlt_animation self, mlt_animation_item item, const char *data)
mlt_animation mlt_animation_new()
int mlt_animation_prev_key(mlt_animation self, mlt_animation_item item, int position)
int mlt_animation_parse(mlt_animation self, const char *data, int length, double fps, mlt_locale_t locale)
int mlt_animation_key_set_frame(mlt_animation self, int index, int frame)
void mlt_animation_set_length(mlt_animation self, int length)
void mlt_animation_close(mlt_animation self)
char * mlt_animation_serialize_cut_tf(mlt_animation self, int in, int out, mlt_time_format)
struct mlt_animation_item_s * mlt_animation_item
pointer to an animation item
Definition mlt_animation.h:49
void mlt_animation_shift_frames(mlt_animation self, int shift)
char * mlt_animation_serialize_tf(mlt_animation self, mlt_time_format)
int mlt_animation_insert(mlt_animation self, mlt_animation_item item)
int mlt_animation_key_get(mlt_animation self, mlt_animation_item item, int index)
int mlt_animation_get_length(mlt_animation self)
int mlt_animation_key_count(mlt_animation self)
char * mlt_animation_serialize(mlt_animation self)
int mlt_animation_key_set_type(mlt_animation self, int index, mlt_keyframe_type type)
int mlt_animation_remove(mlt_animation self, int position)
int mlt_animation_refresh(mlt_animation self, const char *data, int length)
int mlt_animation_get_item(mlt_animation self, mlt_animation_item item, int position)
void mlt_animation_interpolate(mlt_animation self)
char * mlt_animation_serialize_cut(mlt_animation self, int in, int out)
int mlt_animation_next_key(mlt_animation self, mlt_animation_item item, int position)
Property class declaration.
char * mlt_locale_t
Definition mlt_property.h:45
Provides forward definitions of all public types.
mlt_time_format
The time string formats.
Definition mlt_types.h:134
mlt_keyframe_type
Interpolation methods for animation keyframes.
Definition mlt_types.h:143
Animation class.
Definition mlt_animation.h:43
int is_key
a boolean of whether this is a key frame or an interpolated item
Definition mlt_animation.h:44
int frame
the frame number for this instance of the property
Definition mlt_animation.h:45
mlt_keyframe_type keyframe_type
the method of interpolation for this key frame
Definition mlt_animation.h:47
mlt_property property
the property for this point in time
Definition mlt_animation.h:46
Property Animation class.
Definition mlt_animation.c:51
Property class.
Definition mlt_property.c:62