MLT 6.26.0
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_types.h"
27
35{
39 int width;
40 int height;
48};
49
50extern mlt_profile mlt_profile_init( const char *name );
51extern mlt_profile mlt_profile_load_file( const char *file );
53extern mlt_profile mlt_profile_load_string( const char *string );
54extern double mlt_profile_fps( mlt_profile profile );
55extern double mlt_profile_sar( mlt_profile profile );
56extern double mlt_profile_dar( mlt_profile profile );
57extern void mlt_profile_close( mlt_profile profile );
60extern void mlt_profile_from_producer( mlt_profile profile, mlt_producer producer );
61extern char *mlt_profile_lumas_dir( mlt_profile profile );
62extern double mlt_profile_scale_width( mlt_profile profile, int width );
63extern double mlt_profile_scale_height( mlt_profile profile, int height );
64#endif
mlt_profile mlt_profile_clone(mlt_profile profile)
mlt_profile mlt_profile_load_properties(mlt_properties properties)
double mlt_profile_dar(mlt_profile profile)
char * mlt_profile_lumas_dir(mlt_profile profile)
double mlt_profile_scale_width(mlt_profile profile, int width)
mlt_profile mlt_profile_init(const char *name)
void mlt_profile_close(mlt_profile profile)
mlt_profile mlt_profile_load_string(const char *string)
double mlt_profile_scale_height(mlt_profile profile, int height)
void mlt_profile_from_producer(mlt_profile profile, mlt_producer producer)
double mlt_profile_sar(mlt_profile profile)
mlt_profile mlt_profile_load_file(const char *file)
double mlt_profile_fps(mlt_profile profile)
mlt_properties mlt_profile_list()
Provides forward definitions of all public types.
Producer abstract service class.
Definition mlt_producer.h:70
Profile class.
Definition mlt_profile.h:35
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
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
int sample_aspect_den
the denominator of the pixel aspect ratio
Definition mlt_profile.h:43
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
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
Properties class.
Definition mlt_properties.h:37