Provides forward definitions of all public types.
Producer abstract service class.
Definition: mlt_producer.h:70
Profile class.
Definition: mlt_profile.h:35
mlt_profile mlt_profile_clone(mlt_profile profile)
Make a copy of a profile.
Definition: mlt_profile.c:305
mlt_profile mlt_profile_load_properties(mlt_properties properties)
Load a profile from a properties object.
Definition: mlt_profile.c:188
int frame_rate_num
the numerator of the video frame rate
Definition: mlt_profile.h:37
int progressive
a flag to indicate if the video is progressive scan, interlace if not set
Definition: mlt_profile.h:41
int frame_rate_den
the denominator of the video frame rate
Definition: mlt_profile.h:38
int height
the vertical resolution of the video
Definition: mlt_profile.h:40
double mlt_profile_dar(mlt_profile profile)
Get the display aspect ratio as floating point value.
Definition: mlt_profile.c:274
int colorspace
the Y'CbCr colorspace standard: =601 for ITU-R 601, =709 for ITU-R 709, or =240 for SMPTE240M
Definition: mlt_profile.h:46
int width
the horizontal resolution of the video
Definition: mlt_profile.h:39
int display_aspect_den
the denominator of the image aspect ratio in case it can not be simply derived (e....
Definition: mlt_profile.h:45
int is_explicit
used internally to indicate if the profile was requested explicitly or computed or defaulted
Definition: mlt_profile.h:47
char * mlt_profile_lumas_dir(mlt_profile profile)
Get the lumas subdirectory to use for the aspect ratio.
Definition: mlt_profile.c:436
double mlt_profile_scale_width(mlt_profile profile, int width)
Get the width scale factor.
Definition: mlt_profile.c:471
int sample_aspect_den
the denominator of the pixel aspect ratio
Definition: mlt_profile.h:43
mlt_profile mlt_profile_init(const char *name)
Construct a profile.
Definition: mlt_profile.c:93
int display_aspect_num
the numerator of the image aspect ratio in case it can not be simply derived (e.g.
Definition: mlt_profile.h:44
void mlt_profile_close(mlt_profile profile)
Free up the global profile resources.
Definition: mlt_profile.c:288
mlt_profile mlt_profile_load_string(const char *string)
Load an anonymous profile from string.
Definition: mlt_profile.c:217
double mlt_profile_scale_height(mlt_profile profile, int height)
Get the height scale factor.
Definition: mlt_profile.c:484
int sample_aspect_num
the numerator of the pixel aspect ratio
Definition: mlt_profile.h:42
char * description
a brief description suitable as a label in UI menu
Definition: mlt_profile.h:36
void mlt_profile_from_producer(mlt_profile profile, mlt_producer producer)
Update the profile using the attributes of a producer.
Definition: mlt_profile.c:386
double mlt_profile_sar(mlt_profile profile)
Get the sample aspect ratio as a floating point value.
Definition: mlt_profile.c:259
mlt_profile mlt_profile_load_file(const char *file)
Load a profile from specific file.
Definition: mlt_profile.c:155
double mlt_profile_fps(mlt_profile profile)
Get the video frame rate as a floating point value.
Definition: mlt_profile.c:244
mlt_properties mlt_profile_list()
Get the list of profiles.
Definition: mlt_profile.c:328
Properties class.
Definition: mlt_properties.h:40