MLT 7.42.0
Multimedia Framework
Data Structures | Macros | Enumerations | Functions | Variables
mlt_property.c File Reference

Property class definition. More...

#include "mlt_property.h"
#include "mlt_animation.h"
#include "mlt_properties.h"
#include <ctype.h>
#include <float.h>
#include <locale.h>
#include <math.h>
#include <pthread.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Data Structures

struct  mlt_property_s
 Property class. More...
 

Macros

#define _GNU_SOURCE
 
#define MLT_TIME_STRING_MAX   32
 Maximum size, in bytes, of a formatted SMPTE timecode or SMIL clock value string, including the terminating NUL.
 

Enumerations

enum  mlt_property_type {
  mlt_prop_none = 0 , mlt_prop_int = 1 , mlt_prop_string = 2 , mlt_prop_position = 4 ,
  mlt_prop_double = 8 , mlt_prop_data = 16 , mlt_prop_int64 = 32 , mlt_prop_rect = 64 ,
  mlt_prop_color = 128
}
 Bit pattern used internally to indicated representations available. More...
 

Functions

static mlt_time_format default_time_format ()
 
static int is_keyframe_token (const char *begin, const char *end)
 
static int is_keyframe_type_marker (char c)
 
static void mlt_locale_pop (char *saved)
 
static char * mlt_locale_push (const char *name)
 
static int mlt_locale_snprintf (char *str, size_t size, mlt_locale_t locale, const char *format,...)
 
static double mlt_locale_strtod (const char *nptr, char **endptr, mlt_locale_t locale)
 
static int mlt_locale_vsnprintf (char *str, size_t size, mlt_locale_t locale, const char *format, va_list ap)
 

Variables

static pthread_mutex_t mlt_locale_mutex = PTHREAD_MUTEX_INITIALIZER
 

Detailed Description

Property class definition.

See also
mlt_property_s

Copyright (C) 2003-2026 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

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

◆ MLT_TIME_STRING_MAX

#define MLT_TIME_STRING_MAX   32

Maximum size, in bytes, of a formatted SMPTE timecode or SMIL clock value string, including the terminating NUL.

Enumeration Type Documentation

◆ mlt_property_type

Bit pattern used internally to indicated representations available.

Enumerator
mlt_prop_none 

not set

mlt_prop_int 

set as an integer

mlt_prop_string 

set as string or already converted to string

mlt_prop_position 

set as a position

mlt_prop_double 

set as a floating point

mlt_prop_data 

set as opaque binary

mlt_prop_int64 

set as a 64-bit integer

mlt_prop_rect 

set as a mlt_rect

mlt_prop_color 

set as a mlt_color

Function Documentation

◆ default_time_format()

static mlt_time_format default_time_format ( )
static

◆ is_keyframe_token()

static int is_keyframe_token ( const char *  begin,
const char *  end 
)
static

◆ is_keyframe_type_marker()

static int is_keyframe_type_marker ( char  c)
static

◆ mlt_locale_pop()

static void mlt_locale_pop ( char *  saved)
static

◆ mlt_locale_push()

static char * mlt_locale_push ( const char *  name)
static

◆ mlt_locale_snprintf()

static int mlt_locale_snprintf ( char *  str,
size_t  size,
mlt_locale_t  locale,
const char *  format,
  ... 
)
static

◆ mlt_locale_strtod()

static double mlt_locale_strtod ( const char *  nptr,
char **  endptr,
mlt_locale_t  locale 
)
static

◆ mlt_locale_vsnprintf()

static int mlt_locale_vsnprintf ( char *  str,
size_t  size,
mlt_locale_t  locale,
const char *  format,
va_list  ap 
)
static

Variable Documentation

◆ mlt_locale_mutex

pthread_mutex_t mlt_locale_mutex = PTHREAD_MUTEX_INITIALIZER
static