MLT 7.30.0
mlt_animation.h File Reference

Property Animation class declaration. More...

#include "mlt_property.h"
#include "mlt_types.h"

Go to the source code of this file.

Data Structures

struct  mlt_animation_item_s
 Animation class. More...

Typedefs

typedef struct mlt_animation_item_smlt_animation_item
 pointer to an animation item

Functions

void mlt_animation_close (mlt_animation self)
int mlt_animation_get_item (mlt_animation self, mlt_animation_item item, int position)
int mlt_animation_get_length (mlt_animation self)
const char * mlt_animation_get_string (mlt_animation self)
int mlt_animation_insert (mlt_animation self, mlt_animation_item item)
void mlt_animation_interpolate (mlt_animation self)
int mlt_animation_key_count (mlt_animation self)
int mlt_animation_key_get (mlt_animation self, mlt_animation_item item, int index)
int mlt_animation_key_set_frame (mlt_animation self, int index, int frame)
int mlt_animation_key_set_type (mlt_animation self, int index, mlt_keyframe_type type)
mlt_animation mlt_animation_new ()
int mlt_animation_next_key (mlt_animation self, mlt_animation_item item, int position)
int mlt_animation_parse (mlt_animation self, const char *data, int length, double fps, mlt_locale_t locale)
int mlt_animation_parse_item (mlt_animation self, mlt_animation_item item, const char *data)
int mlt_animation_prev_key (mlt_animation self, mlt_animation_item item, int position)
int mlt_animation_refresh (mlt_animation self, const char *data, int length)
int mlt_animation_remove (mlt_animation self, int position)
char * mlt_animation_serialize (mlt_animation self)
char * mlt_animation_serialize_cut (mlt_animation self, int in, int out)
char * mlt_animation_serialize_cut_tf (mlt_animation self, int in, int out, mlt_time_format)
char * mlt_animation_serialize_tf (mlt_animation self, mlt_time_format)
void mlt_animation_set_length (mlt_animation self, int length)
void mlt_animation_shift_frames (mlt_animation self, int shift)

Detailed Description

Property Animation class declaration.

See also
mlt_animation_s

Copyright (C) 2004-2018 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

Typedef Documentation

◆ mlt_animation_item

pointer to an animation item

Function Documentation

◆ mlt_animation_close()

void mlt_animation_close ( mlt_animation self)
extern

◆ mlt_animation_get_item()

int mlt_animation_get_item ( mlt_animation self,
mlt_animation_item item,
int position )
extern

◆ mlt_animation_get_length()

int mlt_animation_get_length ( mlt_animation self)
extern

◆ mlt_animation_get_string()

const char * mlt_animation_get_string ( mlt_animation self)
extern

◆ mlt_animation_insert()

int mlt_animation_insert ( mlt_animation self,
mlt_animation_item item )
extern

◆ mlt_animation_interpolate()

void mlt_animation_interpolate ( mlt_animation self)
extern

◆ mlt_animation_key_count()

int mlt_animation_key_count ( mlt_animation self)
extern

◆ mlt_animation_key_get()

int mlt_animation_key_get ( mlt_animation self,
mlt_animation_item item,
int index )
extern

◆ mlt_animation_key_set_frame()

int mlt_animation_key_set_frame ( mlt_animation self,
int index,
int frame )
extern

◆ mlt_animation_key_set_type()

int mlt_animation_key_set_type ( mlt_animation self,
int index,
mlt_keyframe_type type )
extern

◆ mlt_animation_new()

mlt_animation mlt_animation_new ( )
extern

◆ mlt_animation_next_key()

int mlt_animation_next_key ( mlt_animation self,
mlt_animation_item item,
int position )
extern

◆ mlt_animation_parse()

int mlt_animation_parse ( mlt_animation self,
const char * data,
int length,
double fps,
mlt_locale_t locale )
extern

◆ mlt_animation_parse_item()

int mlt_animation_parse_item ( mlt_animation self,
mlt_animation_item item,
const char * data )
extern

◆ mlt_animation_prev_key()

int mlt_animation_prev_key ( mlt_animation self,
mlt_animation_item item,
int position )
extern

◆ mlt_animation_refresh()

int mlt_animation_refresh ( mlt_animation self,
const char * data,
int length )
extern

◆ mlt_animation_remove()

int mlt_animation_remove ( mlt_animation self,
int position )
extern

◆ mlt_animation_serialize()

char * mlt_animation_serialize ( mlt_animation self)
extern

◆ mlt_animation_serialize_cut()

char * mlt_animation_serialize_cut ( mlt_animation self,
int in,
int out )
extern

◆ mlt_animation_serialize_cut_tf()

char * mlt_animation_serialize_cut_tf ( mlt_animation self,
int in,
int out,
mlt_time_format  )
extern

◆ mlt_animation_serialize_tf()

char * mlt_animation_serialize_tf ( mlt_animation self,
mlt_time_format  )
extern

◆ mlt_animation_set_length()

void mlt_animation_set_length ( mlt_animation self,
int length )
extern

◆ mlt_animation_shift_frames()

void mlt_animation_shift_frames ( mlt_animation self,
int shift )
extern