MLT  7.24.0
Data Structures | Functions
mlt_properties.h File Reference

Properties class declaration. More...

#include "mlt_events.h"
#include "mlt_types.h"
#include <stdio.h>

Go to the source code of this file.

Data Structures

struct  mlt_properties_s
 Properties class. More...
 

Functions

char * mlt_properties_anim_get (mlt_properties self, const char *name, int position, int length)
 
mlt_color mlt_properties_anim_get_color (mlt_properties self, const char *name, int position, int length)
 
double mlt_properties_anim_get_double (mlt_properties self, const char *name, int position, int length)
 
int mlt_properties_anim_get_int (mlt_properties self, const char *name, int position, int length)
 
mlt_rect mlt_properties_anim_get_rect (mlt_properties self, const char *name, int position, int length)
 
int mlt_properties_anim_set (mlt_properties self, const char *name, const char *value, int position, int length)
 
int mlt_properties_anim_set_color (mlt_properties self, const char *name, mlt_color value, int position, int length, mlt_keyframe_type keyframe_type)
 
int mlt_properties_anim_set_double (mlt_properties self, const char *name, double value, int position, int length, mlt_keyframe_type keyframe_type)
 
int mlt_properties_anim_set_int (mlt_properties self, const char *name, int value, int position, int length, mlt_keyframe_type keyframe_type)
 
int mlt_properties_anim_set_rect (mlt_properties self, const char *name, mlt_rect value, int position, int length, mlt_keyframe_type keyframe_type)
 
void mlt_properties_clear (mlt_properties self, const char *name)
 
void mlt_properties_close (mlt_properties self)
 
int mlt_properties_copy (mlt_properties self, mlt_properties that, const char *prefix)
 
int mlt_properties_count (mlt_properties self)
 
void mlt_properties_debug (mlt_properties self, const char *title, FILE *output)
 
int mlt_properties_dec_ref (mlt_properties self)
 
int mlt_properties_dir_list (mlt_properties, const char *, const char *, int)
 
void mlt_properties_dump (mlt_properties self, FILE *output)
 
int mlt_properties_exists (mlt_properties self, const char *name)
 
char * mlt_properties_frames_to_time (mlt_properties, mlt_position, mlt_time_format)
 
int mlt_properties_from_utf8 (mlt_properties properties, const char *name_from, const char *name_to)
 
char * mlt_properties_get (mlt_properties self, const char *name)
 
mlt_animation mlt_properties_get_animation (mlt_properties self, const char *name)
 
mlt_color mlt_properties_get_color (mlt_properties, const char *name)
 
void * mlt_properties_get_data (mlt_properties self, const char *name, int *length)
 
void * mlt_properties_get_data_at (mlt_properties self, int index, int *size)
 
double mlt_properties_get_double (mlt_properties self, const char *name)
 
int mlt_properties_get_int (mlt_properties self, const char *name)
 
int64_t mlt_properties_get_int64 (mlt_properties self, const char *name)
 
const char * mlt_properties_get_lcnumeric (mlt_properties self)
 
char * mlt_properties_get_name (mlt_properties self, int index)
 
mlt_position mlt_properties_get_position (mlt_properties self, const char *name)
 
mlt_properties mlt_properties_get_properties (mlt_properties self, const char *name)
 
mlt_properties mlt_properties_get_properties_at (mlt_properties self, int index)
 
mlt_rect mlt_properties_get_rect (mlt_properties self, const char *name)
 
char * mlt_properties_get_time (mlt_properties, const char *name, mlt_time_format)
 
char * mlt_properties_get_value (mlt_properties self, int index)
 
char * mlt_properties_get_value_tf (mlt_properties self, int index, mlt_time_format)
 
int mlt_properties_inc_ref (mlt_properties self)
 
int mlt_properties_inherit (mlt_properties self, mlt_properties that)
 
int mlt_properties_init (mlt_properties, void *child)
 
int mlt_properties_is_anim (mlt_properties self, const char *name)
 
int mlt_properties_is_sequence (mlt_properties self)
 
mlt_properties mlt_properties_load (const char *file)
 
void mlt_properties_lock (mlt_properties self)
 
void mlt_properties_mirror (mlt_properties self, mlt_properties that)
 
mlt_properties mlt_properties_new ()
 
int mlt_properties_parse (mlt_properties self, const char *namevalue)
 
mlt_properties mlt_properties_parse_yaml (const char *file)
 
int mlt_properties_pass (mlt_properties self, mlt_properties that, const char *prefix)
 
int mlt_properties_pass_list (mlt_properties self, mlt_properties that, const char *list)
 
void mlt_properties_pass_property (mlt_properties self, mlt_properties that, const char *name)
 
int mlt_properties_preset (mlt_properties self, const char *name)
 
int mlt_properties_ref_count (mlt_properties self)
 
int mlt_properties_rename (mlt_properties self, const char *source, const char *dest)
 
int mlt_properties_save (mlt_properties, const char *)
 
char * mlt_properties_serialise_yaml (mlt_properties self)
 
int mlt_properties_set (mlt_properties self, const char *name, const char *value)
 
int mlt_properties_set_color (mlt_properties, const char *name, mlt_color value)
 
int mlt_properties_set_data (mlt_properties self, const char *name, void *value, int length, mlt_destructor, mlt_serialiser)
 
int mlt_properties_set_double (mlt_properties self, const char *name, double value)
 
int mlt_properties_set_int (mlt_properties self, const char *name, int value)
 
int mlt_properties_set_int64 (mlt_properties self, const char *name, int64_t value)
 
int mlt_properties_set_lcnumeric (mlt_properties, const char *locale)
 
int mlt_properties_set_or_default (mlt_properties self, const char *name, const char *value, const char *def)
 
int mlt_properties_set_position (mlt_properties self, const char *name, mlt_position value)
 
int mlt_properties_set_properties (mlt_properties self, const char *name, mlt_properties properties)
 
int mlt_properties_set_rect (mlt_properties self, const char *name, mlt_rect value)
 
int mlt_properties_set_string (mlt_properties self, const char *name, const char *value)
 
mlt_position mlt_properties_time_to_frames (mlt_properties, const char *time)
 
int mlt_properties_to_utf8 (mlt_properties properties, const char *name_from, const char *name_to)
 
void mlt_properties_unlock (mlt_properties self)
 

Detailed Description

Properties class declaration.

See also
mlt_properties_s

Copyright (C) 2003-2022 Meltytech, LLC

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Function Documentation

◆ mlt_properties_anim_get()

char* mlt_properties_anim_get ( mlt_properties  self,
const char *  name,
int  position,
int  length 
)

◆ mlt_properties_anim_get_color()

mlt_color mlt_properties_anim_get_color ( mlt_properties  self,
const char *  name,
int  position,
int  length 
)

◆ mlt_properties_anim_get_double()

double mlt_properties_anim_get_double ( mlt_properties  self,
const char *  name,
int  position,
int  length 
)

◆ mlt_properties_anim_get_int()

int mlt_properties_anim_get_int ( mlt_properties  self,
const char *  name,
int  position,
int  length 
)

◆ mlt_properties_anim_get_rect()

mlt_rect mlt_properties_anim_get_rect ( mlt_properties  self,
const char *  name,
int  position,
int  length 
)

◆ mlt_properties_anim_set()

int mlt_properties_anim_set ( mlt_properties  self,
const char *  name,
const char *  value,
int  position,
int  length 
)

◆ mlt_properties_anim_set_color()

int mlt_properties_anim_set_color ( mlt_properties  self,
const char *  name,
mlt_color  value,
int  position,
int  length,
mlt_keyframe_type  keyframe_type 
)

◆ mlt_properties_anim_set_double()

int mlt_properties_anim_set_double ( mlt_properties  self,
const char *  name,
double  value,
int  position,
int  length,
mlt_keyframe_type  keyframe_type 
)

◆ mlt_properties_anim_set_int()

int mlt_properties_anim_set_int ( mlt_properties  self,
const char *  name,
int  value,
int  position,
int  length,
mlt_keyframe_type  keyframe_type 
)

◆ mlt_properties_anim_set_rect()

int mlt_properties_anim_set_rect ( mlt_properties  self,
const char *  name,
mlt_rect  value,
int  position,
int  length,
mlt_keyframe_type  keyframe_type 
)

◆ mlt_properties_clear()

void mlt_properties_clear ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_close()

void mlt_properties_close ( mlt_properties  self)

◆ mlt_properties_copy()

int mlt_properties_copy ( mlt_properties  self,
mlt_properties  that,
const char *  prefix 
)

◆ mlt_properties_count()

int mlt_properties_count ( mlt_properties  self)

◆ mlt_properties_debug()

void mlt_properties_debug ( mlt_properties  self,
const char *  title,
FILE *  output 
)

◆ mlt_properties_dec_ref()

int mlt_properties_dec_ref ( mlt_properties  self)

◆ mlt_properties_dir_list()

int mlt_properties_dir_list ( mlt_properties  ,
const char *  ,
const char *  ,
int   
)

◆ mlt_properties_dump()

void mlt_properties_dump ( mlt_properties  self,
FILE *  output 
)

◆ mlt_properties_exists()

int mlt_properties_exists ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_frames_to_time()

char* mlt_properties_frames_to_time ( mlt_properties  ,
mlt_position  ,
mlt_time_format   
)

◆ mlt_properties_from_utf8()

int mlt_properties_from_utf8 ( mlt_properties  properties,
const char *  name_from,
const char *  name_to 
)

◆ mlt_properties_get()

char* mlt_properties_get ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_get_animation()

mlt_animation mlt_properties_get_animation ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_get_color()

mlt_color mlt_properties_get_color ( mlt_properties  ,
const char *  name 
)

◆ mlt_properties_get_data()

void* mlt_properties_get_data ( mlt_properties  self,
const char *  name,
int *  length 
)

◆ mlt_properties_get_data_at()

void* mlt_properties_get_data_at ( mlt_properties  self,
int  index,
int *  size 
)

◆ mlt_properties_get_double()

double mlt_properties_get_double ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_get_int()

int mlt_properties_get_int ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_get_int64()

int64_t mlt_properties_get_int64 ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_get_lcnumeric()

const char* mlt_properties_get_lcnumeric ( mlt_properties  self)

◆ mlt_properties_get_name()

char* mlt_properties_get_name ( mlt_properties  self,
int  index 
)

◆ mlt_properties_get_position()

mlt_position mlt_properties_get_position ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_get_properties()

mlt_properties mlt_properties_get_properties ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_get_properties_at()

mlt_properties mlt_properties_get_properties_at ( mlt_properties  self,
int  index 
)

◆ mlt_properties_get_rect()

mlt_rect mlt_properties_get_rect ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_get_time()

char* mlt_properties_get_time ( mlt_properties  ,
const char *  name,
mlt_time_format   
)

◆ mlt_properties_get_value()

char* mlt_properties_get_value ( mlt_properties  self,
int  index 
)

◆ mlt_properties_get_value_tf()

char* mlt_properties_get_value_tf ( mlt_properties  self,
int  index,
mlt_time_format   
)

◆ mlt_properties_inc_ref()

int mlt_properties_inc_ref ( mlt_properties  self)

◆ mlt_properties_inherit()

int mlt_properties_inherit ( mlt_properties  self,
mlt_properties  that 
)

◆ mlt_properties_init()

int mlt_properties_init ( mlt_properties  ,
void *  child 
)

◆ mlt_properties_is_anim()

int mlt_properties_is_anim ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_is_sequence()

int mlt_properties_is_sequence ( mlt_properties  self)

◆ mlt_properties_load()

mlt_properties mlt_properties_load ( const char *  file)

◆ mlt_properties_lock()

void mlt_properties_lock ( mlt_properties  self)

◆ mlt_properties_mirror()

void mlt_properties_mirror ( mlt_properties  self,
mlt_properties  that 
)

◆ mlt_properties_new()

mlt_properties mlt_properties_new ( )

◆ mlt_properties_parse()

int mlt_properties_parse ( mlt_properties  self,
const char *  namevalue 
)

◆ mlt_properties_parse_yaml()

mlt_properties mlt_properties_parse_yaml ( const char *  file)

◆ mlt_properties_pass()

int mlt_properties_pass ( mlt_properties  self,
mlt_properties  that,
const char *  prefix 
)

◆ mlt_properties_pass_list()

int mlt_properties_pass_list ( mlt_properties  self,
mlt_properties  that,
const char *  list 
)

◆ mlt_properties_pass_property()

void mlt_properties_pass_property ( mlt_properties  self,
mlt_properties  that,
const char *  name 
)

◆ mlt_properties_preset()

int mlt_properties_preset ( mlt_properties  self,
const char *  name 
)

◆ mlt_properties_ref_count()

int mlt_properties_ref_count ( mlt_properties  self)

◆ mlt_properties_rename()

int mlt_properties_rename ( mlt_properties  self,
const char *  source,
const char *  dest 
)

◆ mlt_properties_save()

int mlt_properties_save ( mlt_properties  ,
const char *   
)

◆ mlt_properties_serialise_yaml()

char* mlt_properties_serialise_yaml ( mlt_properties  self)

◆ mlt_properties_set()

int mlt_properties_set ( mlt_properties  self,
const char *  name,
const char *  value 
)

◆ mlt_properties_set_color()

int mlt_properties_set_color ( mlt_properties  ,
const char *  name,
mlt_color  value 
)

◆ mlt_properties_set_data()

int mlt_properties_set_data ( mlt_properties  self,
const char *  name,
void *  value,
int  length,
mlt_destructor  ,
mlt_serialiser   
)

◆ mlt_properties_set_double()

int mlt_properties_set_double ( mlt_properties  self,
const char *  name,
double  value 
)

◆ mlt_properties_set_int()

int mlt_properties_set_int ( mlt_properties  self,
const char *  name,
int  value 
)

◆ mlt_properties_set_int64()

int mlt_properties_set_int64 ( mlt_properties  self,
const char *  name,
int64_t  value 
)

◆ mlt_properties_set_lcnumeric()

int mlt_properties_set_lcnumeric ( mlt_properties  ,
const char *  locale 
)

◆ mlt_properties_set_or_default()

int mlt_properties_set_or_default ( mlt_properties  self,
const char *  name,
const char *  value,
const char *  def 
)

◆ mlt_properties_set_position()

int mlt_properties_set_position ( mlt_properties  self,
const char *  name,
mlt_position  value 
)

◆ mlt_properties_set_properties()

int mlt_properties_set_properties ( mlt_properties  self,
const char *  name,
mlt_properties  properties 
)

◆ mlt_properties_set_rect()

int mlt_properties_set_rect ( mlt_properties  self,
const char *  name,
mlt_rect  value 
)

◆ mlt_properties_set_string()

int mlt_properties_set_string ( mlt_properties  self,
const char *  name,
const char *  value 
)

◆ mlt_properties_time_to_frames()

mlt_position mlt_properties_time_to_frames ( mlt_properties  ,
const char *  time 
)

◆ mlt_properties_to_utf8()

int mlt_properties_to_utf8 ( mlt_properties  properties,
const char *  name_from,
const char *  name_to 
)

◆ mlt_properties_unlock()

void mlt_properties_unlock ( mlt_properties  self)