MLT  7.38.0
Multimedia Framework
Public Member Functions | Static Public Member Functions | Private Attributes
Mlt::Profile Class Reference

C++ wrapper for mlt_profile — video format parameters. More...

#include <MltProfile.h>

Collaboration diagram for Mlt::Profile:
Collaboration graph
[legend]

Public Member Functions

int colorspace () const
 
double dar () const
 
char * description () const
 
int display_aspect_den () const
 
int display_aspect_num () const
 
double fps () const
 
int frame_rate_den () const
 
int frame_rate_num () const
 
void from_producer (Producer &producer)
 
mlt_profile get_profile () const
 
int height () const
 
int is_explicit () const
 
bool is_valid ()
 
bool is_valid () const
 
 Profile ()
 
 Profile (const char *name)
 
 Profile (mlt_profile profile)
 
 Profile (Properties &properties)
 
bool progressive () const
 
int sample_aspect_den () const
 
int sample_aspect_num () const
 
double sar () const
 
double scale_height (int height)
 
double scale_width (int width)
 
void set_colorspace (int colorspace)
 
void set_display_aspect (int numerator, int denominator)
 
void set_explicit (int boolean)
 
void set_frame_rate (int numerator, int denominator)
 
void set_height (int height)
 
void set_progressive (int progressive)
 
void set_sample_aspect (int numerator, int denominator)
 
void set_width (int width)
 
int width () const
 
 ~Profile ()
 

Static Public Member Functions

static Propertieslist ()
 Return a list of all available profile names. More...
 

Private Attributes

mlt_profile instance
 

Detailed Description

C++ wrapper for mlt_profile — video format parameters.

A profile describes the video format that services will produce and consume: resolution, frame rate, aspect ratio, colorspace, and interlace mode. Pass a profile to service constructors to configure the format.

See also
mlt_profile_s

Constructor & Destructor Documentation

◆ Profile() [1/4]

Profile::Profile ( )

◆ Profile() [2/4]

Profile::Profile ( const char *  name)

◆ Profile() [3/4]

Profile::Profile ( Properties properties)

◆ Profile() [4/4]

Profile::Profile ( mlt_profile  profile)

◆ ~Profile()

Profile::~Profile ( )

Member Function Documentation

◆ colorspace()

int Profile::colorspace ( ) const

◆ dar()

double Profile::dar ( ) const

◆ description()

char * Profile::description ( ) const

◆ display_aspect_den()

int Profile::display_aspect_den ( ) const

◆ display_aspect_num()

int Profile::display_aspect_num ( ) const

◆ fps()

double Profile::fps ( ) const

◆ frame_rate_den()

int Profile::frame_rate_den ( ) const

◆ frame_rate_num()

int Profile::frame_rate_num ( ) const

◆ from_producer()

void Profile::from_producer ( Producer producer)

◆ get_profile()

mlt_profile Profile::get_profile ( ) const

◆ height()

int Profile::height ( ) const

◆ is_explicit()

int Profile::is_explicit ( ) const

◆ is_valid() [1/2]

bool Profile::is_valid ( )

◆ is_valid() [2/2]

bool Profile::is_valid ( ) const

◆ list()

Properties * Profile::list ( )
static

Return a list of all available profile names.

Caller owns the result.

◆ progressive()

bool Profile::progressive ( ) const

◆ sample_aspect_den()

int Profile::sample_aspect_den ( ) const

◆ sample_aspect_num()

int Profile::sample_aspect_num ( ) const

◆ sar()

double Profile::sar ( ) const

◆ scale_height()

double Profile::scale_height ( int  height)

◆ scale_width()

double Profile::scale_width ( int  width)

◆ set_colorspace()

void Profile::set_colorspace ( int  colorspace)

◆ set_display_aspect()

void Profile::set_display_aspect ( int  numerator,
int  denominator 
)

◆ set_explicit()

void Profile::set_explicit ( int  boolean)

◆ set_frame_rate()

void Profile::set_frame_rate ( int  numerator,
int  denominator 
)

◆ set_height()

void Profile::set_height ( int  height)

◆ set_progressive()

void Profile::set_progressive ( int  progressive)

◆ set_sample_aspect()

void Profile::set_sample_aspect ( int  numerator,
int  denominator 
)

◆ set_width()

void Profile::set_width ( int  width)

◆ width()

int Profile::width ( ) const

Field Documentation

◆ instance

mlt_profile Mlt::Profile::instance
private

The documentation for this class was generated from the following files: