MLT 7.40.0
Multimedia Framework
mlt_profile.h
Go to the documentation of this file.
1
23#ifndef MLT_PROFILE_H
24#define MLT_PROFILE_H
25
26#include "mlt_export.h"
27#include "mlt_types.h"
28
50
51MLT_EXPORT mlt_profile mlt_profile_init(const char *name);
52MLT_EXPORT mlt_profile mlt_profile_load_file(const char *file);
54MLT_EXPORT mlt_profile mlt_profile_load_string(const char *string);
55MLT_EXPORT double mlt_profile_fps(mlt_profile profile);
56MLT_EXPORT double mlt_profile_sar(mlt_profile profile);
57MLT_EXPORT double mlt_profile_dar(mlt_profile profile);
58MLT_EXPORT void mlt_profile_close(mlt_profile profile);
61MLT_EXPORT void mlt_profile_from_producer(mlt_profile profile, mlt_producer producer);
62MLT_EXPORT char *mlt_profile_lumas_dir(mlt_profile profile);
63MLT_EXPORT double mlt_profile_scale_width(mlt_profile profile, int width);
64MLT_EXPORT double mlt_profile_scale_height(mlt_profile profile, int height);
65MLT_EXPORT int mlt_profile_is_valid(mlt_profile profile);
66#endif
MLT_EXPORT mlt_profile mlt_profile_init(const char *name)
MLT_EXPORT mlt_properties mlt_profile_list()
MLT_EXPORT double mlt_profile_fps(mlt_profile profile)
MLT_EXPORT double mlt_profile_dar(mlt_profile profile)
MLT_EXPORT void mlt_profile_from_producer(mlt_profile profile, mlt_producer producer)
MLT_EXPORT double mlt_profile_sar(mlt_profile profile)
MLT_EXPORT mlt_profile mlt_profile_load_file(const char *file)
MLT_EXPORT double mlt_profile_scale_width(mlt_profile profile, int width)
MLT_EXPORT mlt_profile mlt_profile_clone(mlt_profile profile)
MLT_EXPORT int mlt_profile_is_valid(mlt_profile profile)
MLT_EXPORT double mlt_profile_scale_height(mlt_profile profile, int height)
MLT_EXPORT mlt_profile mlt_profile_load_string(const char *string)
MLT_EXPORT mlt_profile mlt_profile_load_properties(mlt_properties properties)
MLT_EXPORT char * mlt_profile_lumas_dir(mlt_profile profile)
MLT_EXPORT void mlt_profile_close(mlt_profile profile)
Provides forward definitions of all public types.
Producer abstract service class.
Definition mlt_producer.h:71
Profile class.
Definition mlt_profile.h:36
int frame_rate_num
the numerator of the video frame rate
Definition mlt_profile.h:38
int progressive
a flag to indicate if the video is progressive scan, interlace if not set
Definition mlt_profile.h:42
int frame_rate_den
the denominator of the video frame rate
Definition mlt_profile.h:39
int height
the vertical resolution of the video
Definition mlt_profile.h:41
int colorspace
the Y'CbCr colorspace standard: see mlt_colorspace
Definition mlt_profile.h:47
int width
the horizontal resolution of the video
Definition mlt_profile.h:40
int display_aspect_den
the denominator of the image aspect ratio in case it can not be simply derived (e....
Definition mlt_profile.h:46
int is_explicit
used internally to indicate if the profile was requested explicitly or computed or defaulted
Definition mlt_profile.h:48
int sample_aspect_den
the denominator of the pixel aspect ratio
Definition mlt_profile.h:44
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:45
int sample_aspect_num
the numerator of the pixel aspect ratio
Definition mlt_profile.h:43
char * description
a brief description suitable as a label in UI menu
Definition mlt_profile.h:37
Properties class.
Definition mlt_properties.h:41