MLT 7.30.0
mlt_property.h
Go to the documentation of this file.
1
23#ifndef MLT_PROPERTY_H
24#define MLT_PROPERTY_H
25
26#include "mlt_types.h"
27
28#if defined(__FreeBSD__)
29/* This header has existed since 1994 and defines __FreeBSD_version below. */
30#include <sys/param.h>
31#endif
32
33#if defined(__GLIBC__)
34#include <locale.h>
35typedef locale_t mlt_locale_t;
36#elif defined(__APPLE__) || (defined(__FreeBSD_version) && __FreeBSD_version >= 900506)
37#include <xlocale.h>
38typedef locale_t mlt_locale_t;
39#elif defined(__OpenBSD__)
40/* XXX matches __nop_locale glue in libc++ */
41typedef void *mlt_locale_t;
42#elif (defined _WIN32 && defined _LIBCPP_VERSION)
43struct mlt_locale_t;
44#else
45typedef char *mlt_locale_t;
46#endif
47
51extern int mlt_property_set_int(mlt_property self, int value);
52extern int mlt_property_set_double(mlt_property self, double value);
54extern int mlt_property_set_int64(mlt_property self, int64_t value);
55extern int mlt_property_set_string(mlt_property self, const char *value);
57 void *value,
58 int length,
59 mlt_destructor destructor,
60 mlt_serialiser serialiser);
61extern int mlt_property_get_int(mlt_property self, double fps, mlt_locale_t);
62extern double mlt_property_get_double(mlt_property self, double fps, mlt_locale_t);
69extern void *mlt_property_get_data(mlt_property self, int *length);
73
75 mlt_property points[],
76 double progress,
77 double fps,
78 mlt_locale_t locale,
79 mlt_keyframe_type interp);
81 mlt_property self, double fps, mlt_locale_t locale, int position, int length);
83 mlt_property self, double fps, mlt_locale_t locale, int position, int length);
85 mlt_property self, double fps, mlt_locale_t locale, int position, int length);
87 double value,
88 double fps,
89 mlt_locale_t locale,
90 int position,
91 int length,
92 mlt_keyframe_type keyframe_type);
94 int value,
95 double fps,
96 mlt_locale_t locale,
97 int position,
98 int length,
99 mlt_keyframe_type keyframe_type);
101 mlt_property self, const char *value, double fps, mlt_locale_t locale, int position, int length);
104
108 mlt_color value,
109 double fps,
110 mlt_locale_t locale,
111 int position,
112 int length,
113 mlt_keyframe_type keyframe_type);
115 mlt_property self, double fps, mlt_locale_t locale, int position, int length);
116
120 mlt_rect value,
121 double fps,
122 mlt_locale_t locale,
123 int position,
124 int length,
125 mlt_keyframe_type keyframe_type);
127 mlt_property self, double fps, mlt_locale_t locale, int position, int length);
128
134
135#endif
char * mlt_locale_t
Definition mlt_property.h:45
int mlt_property_set_position(mlt_property self, mlt_position value)
mlt_animation mlt_property_get_animation(mlt_property self)
int mlt_property_get_int(mlt_property self, double fps, mlt_locale_t)
mlt_rect mlt_property_anim_get_rect(mlt_property self, double fps, mlt_locale_t locale, int position, int length)
int mlt_property_set_data(mlt_property self, void *value, int length, mlt_destructor destructor, mlt_serialiser serialiser)
mlt_properties mlt_property_get_properties(mlt_property self)
int mlt_property_interpolate(mlt_property self, mlt_property points[], double progress, double fps, mlt_locale_t locale, mlt_keyframe_type interp)
int mlt_property_anim_set_int(mlt_property self, int value, double fps, mlt_locale_t locale, int position, int length, mlt_keyframe_type keyframe_type)
double mlt_property_anim_get_double(mlt_property self, double fps, mlt_locale_t locale, int position, int length)
char * mlt_property_get_time(mlt_property self, mlt_time_format, double fps, mlt_locale_t)
mlt_rect mlt_property_get_rect(mlt_property self, mlt_locale_t locale)
void * mlt_property_get_data(mlt_property self, int *length)
mlt_property mlt_property_init()
int mlt_property_anim_set_color(mlt_property self, mlt_color value, double fps, mlt_locale_t locale, int position, int length, mlt_keyframe_type keyframe_type)
int mlt_property_anim_get_int(mlt_property self, double fps, mlt_locale_t locale, int position, int length)
int mlt_property_set_int(mlt_property self, int value)
int mlt_property_anim_set_string(mlt_property self, const char *value, double fps, mlt_locale_t locale, int position, int length)
int mlt_property_set_color(mlt_property self, mlt_color value)
mlt_color mlt_property_get_color(mlt_property self, double fps, mlt_locale_t locale)
int mlt_property_is_color(mlt_property self)
void mlt_property_pass(mlt_property self, mlt_property that)
char * mlt_property_get_string(mlt_property self)
int mlt_property_set_int64(mlt_property self, int64_t value)
int mlt_property_anim_set_double(mlt_property self, double value, double fps, mlt_locale_t locale, int position, int length, mlt_keyframe_type keyframe_type)
int mlt_property_is_anim(mlt_property self)
void mlt_property_clear(mlt_property self)
int mlt_property_is_rect(mlt_property self)
int mlt_property_is_numeric(mlt_property self, mlt_locale_t locale)
int64_t mlt_property_get_int64(mlt_property self)
mlt_position mlt_property_get_position(mlt_property self, double fps, mlt_locale_t)
char * mlt_property_get_string_tf(mlt_property self, mlt_time_format)
char * mlt_property_get_string_l(mlt_property self, mlt_locale_t)
int mlt_property_set_properties(mlt_property self, mlt_properties properties)
int mlt_property_set_double(mlt_property self, double value)
char * mlt_property_get_string_l_tf(mlt_property self, mlt_locale_t, mlt_time_format)
int mlt_property_anim_set_rect(mlt_property self, mlt_rect value, double fps, mlt_locale_t locale, int position, int length, mlt_keyframe_type keyframe_type)
int mlt_property_is_clear(mlt_property self)
int mlt_property_set_rect(mlt_property self, mlt_rect value)
char * mlt_property_anim_get_string(mlt_property self, double fps, mlt_locale_t locale, int position, int length)
double mlt_property_get_double(mlt_property self, double fps, mlt_locale_t)
mlt_color mlt_property_anim_get_color(mlt_property self, double fps, mlt_locale_t locale, int position, int length)
int mlt_property_set_string(mlt_property self, const char *value)
void mlt_property_close(mlt_property self)
Provides forward definitions of all public types.
mlt_time_format
The time string formats.
Definition mlt_types.h:134
int32_t mlt_position
Definition mlt_types.h:217
void(* mlt_destructor)(void *)
pointer to destructor function
Definition mlt_types.h:269
mlt_keyframe_type
Interpolation methods for animation keyframes.
Definition mlt_types.h:143
char *(* mlt_serialiser)(void *, int length)
pointer to serialization function
Definition mlt_types.h:270
Property Animation class.
Definition mlt_animation.c:51
A tuple of color components.
Definition mlt_types.h:234
Properties class.
Definition mlt_properties.h:40
Property class.
Definition mlt_property.c:62
A rectangle type with coordinates, size, and opacity.
Definition mlt_types.h:223