MLT  7.28.0
Data Structures | Macros | Functions
mlt_transition.h File Reference

abstraction for all transition services More...

#include "mlt_service.h"
#include <pthread.h>

Go to the source code of this file.

Data Structures

struct  mlt_transition_s
 Transition abstract service class. More...
 

Macros

#define MLT_TRANSITION_PROPERTIES(transition)    MLT_SERVICE_PROPERTIES(MLT_TRANSITION_SERVICE(transition))
 
#define MLT_TRANSITION_SERVICE(transition)   (&(transition)->parent)
 

Functions

void mlt_transition_close (mlt_transition self)
 
int mlt_transition_connect (mlt_transition self, mlt_service producer, int a_track, int b_track)
 
int mlt_transition_get_a_track (mlt_transition self)
 
int mlt_transition_get_b_track (mlt_transition self)
 
mlt_position mlt_transition_get_in (mlt_transition self)
 
mlt_position mlt_transition_get_length (mlt_transition self)
 
mlt_position mlt_transition_get_out (mlt_transition self)
 
mlt_position mlt_transition_get_position (mlt_transition self, mlt_frame frame)
 
double mlt_transition_get_progress (mlt_transition self, mlt_frame frame)
 
double mlt_transition_get_progress_delta (mlt_transition self, mlt_frame frame)
 
int mlt_transition_init (mlt_transition self, void *child)
 
mlt_transition mlt_transition_new ()
 
mlt_frame mlt_transition_process (mlt_transition self, mlt_frame a_frame, mlt_frame b_frame)
 
mlt_properties mlt_transition_properties (mlt_transition self)
 
mlt_service mlt_transition_service (mlt_transition self)
 
void mlt_transition_set_in_and_out (mlt_transition self, mlt_position in, mlt_position out)
 
void mlt_transition_set_tracks (mlt_transition self, int a_track, int b_track)
 

Detailed Description

abstraction for all transition services

See also
mlt_transition_s

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

◆ MLT_TRANSITION_PROPERTIES

#define MLT_TRANSITION_PROPERTIES (   transition)     MLT_SERVICE_PROPERTIES(MLT_TRANSITION_SERVICE(transition))

◆ MLT_TRANSITION_SERVICE

#define MLT_TRANSITION_SERVICE (   transition)    (&(transition)->parent)

Function Documentation

◆ mlt_transition_close()

void mlt_transition_close ( mlt_transition  self)

◆ mlt_transition_connect()

int mlt_transition_connect ( mlt_transition  self,
mlt_service  producer,
int  a_track,
int  b_track 
)

◆ mlt_transition_get_a_track()

int mlt_transition_get_a_track ( mlt_transition  self)

◆ mlt_transition_get_b_track()

int mlt_transition_get_b_track ( mlt_transition  self)

◆ mlt_transition_get_in()

mlt_position mlt_transition_get_in ( mlt_transition  self)

◆ mlt_transition_get_length()

mlt_position mlt_transition_get_length ( mlt_transition  self)

◆ mlt_transition_get_out()

mlt_position mlt_transition_get_out ( mlt_transition  self)

◆ mlt_transition_get_position()

mlt_position mlt_transition_get_position ( mlt_transition  self,
mlt_frame  frame 
)

◆ mlt_transition_get_progress()

double mlt_transition_get_progress ( mlt_transition  self,
mlt_frame  frame 
)

◆ mlt_transition_get_progress_delta()

double mlt_transition_get_progress_delta ( mlt_transition  self,
mlt_frame  frame 
)

◆ mlt_transition_init()

int mlt_transition_init ( mlt_transition  self,
void *  child 
)

◆ mlt_transition_new()

mlt_transition mlt_transition_new ( )

◆ mlt_transition_process()

mlt_frame mlt_transition_process ( mlt_transition  self,
mlt_frame  a_frame,
mlt_frame  b_frame 
)

◆ mlt_transition_properties()

mlt_properties mlt_transition_properties ( mlt_transition  self)

◆ mlt_transition_service()

mlt_service mlt_transition_service ( mlt_transition  self)

◆ mlt_transition_set_in_and_out()

void mlt_transition_set_in_and_out ( mlt_transition  self,
mlt_position  in,
mlt_position  out 
)

◆ mlt_transition_set_tracks()

void mlt_transition_set_tracks ( mlt_transition  self,
int  a_track,
int  b_track 
)