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

abstraction for all producer services More...

#include "mlt_filter.h"
#include "mlt_profile.h"
#include "mlt_service.h"

Go to the source code of this file.

Data Structures

struct  mlt_producer_s
 Producer abstract service class. More...
 

Macros

#define MLT_PRODUCER_PROPERTIES(producer)   MLT_SERVICE_PROPERTIES(MLT_PRODUCER_SERVICE(producer))
 
#define MLT_PRODUCER_SERVICE(producer)   (&(producer)->parent)
 

Functions

int mlt_producer_attach (mlt_producer self, mlt_filter filter)
 
int mlt_producer_clear (mlt_producer self)
 
void mlt_producer_close (mlt_producer self)
 
mlt_producer mlt_producer_cut (mlt_producer self, int in, int out)
 
mlt_producer mlt_producer_cut_parent (mlt_producer self)
 
int mlt_producer_detach (mlt_producer self, mlt_filter filter)
 
mlt_filter mlt_producer_filter (mlt_producer self, int index)
 
mlt_position mlt_producer_frame (mlt_producer self)
 
char * mlt_producer_frame_time (mlt_producer self, mlt_time_format)
 
int64_t mlt_producer_get_creation_time (mlt_producer self)
 
double mlt_producer_get_fps (mlt_producer self)
 
mlt_position mlt_producer_get_in (mlt_producer self)
 
mlt_position mlt_producer_get_length (mlt_producer self)
 
char * mlt_producer_get_length_time (mlt_producer self, mlt_time_format)
 
mlt_position mlt_producer_get_out (mlt_producer self)
 
mlt_position mlt_producer_get_playtime (mlt_producer self)
 
double mlt_producer_get_speed (mlt_producer self)
 
int mlt_producer_init (mlt_producer self, void *child)
 
int mlt_producer_is_blank (mlt_producer self)
 
int mlt_producer_is_cut (mlt_producer self)
 
int mlt_producer_is_mix (mlt_producer self)
 
mlt_producer mlt_producer_new (mlt_profile)
 
int mlt_producer_optimise (mlt_producer self)
 
mlt_position mlt_producer_position (mlt_producer self)
 
void mlt_producer_prepare_next (mlt_producer self)
 
int mlt_producer_probe (mlt_producer self)
 
mlt_properties mlt_producer_properties (mlt_producer self)
 
int mlt_producer_seek (mlt_producer self, mlt_position position)
 
int mlt_producer_seek_time (mlt_producer self, const char *time)
 
mlt_service mlt_producer_service (mlt_producer self)
 
void mlt_producer_set_creation_time (mlt_producer self, int64_t creation_time)
 
int mlt_producer_set_in_and_out (mlt_producer self, mlt_position in, mlt_position out)
 
int mlt_producer_set_speed (mlt_producer self, double speed)
 

Detailed Description

abstraction for all producer services

See also
mlt_producer_s

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

#define MLT_PRODUCER_PROPERTIES (   producer)    MLT_SERVICE_PROPERTIES(MLT_PRODUCER_SERVICE(producer))

◆ MLT_PRODUCER_SERVICE

#define MLT_PRODUCER_SERVICE (   producer)    (&(producer)->parent)

Function Documentation

◆ mlt_producer_attach()

int mlt_producer_attach ( mlt_producer  self,
mlt_filter  filter 
)

◆ mlt_producer_clear()

int mlt_producer_clear ( mlt_producer  self)

◆ mlt_producer_close()

void mlt_producer_close ( mlt_producer  self)

◆ mlt_producer_cut()

mlt_producer mlt_producer_cut ( mlt_producer  self,
int  in,
int  out 
)

◆ mlt_producer_cut_parent()

mlt_producer mlt_producer_cut_parent ( mlt_producer  self)

◆ mlt_producer_detach()

int mlt_producer_detach ( mlt_producer  self,
mlt_filter  filter 
)

◆ mlt_producer_filter()

mlt_filter mlt_producer_filter ( mlt_producer  self,
int  index 
)

◆ mlt_producer_frame()

mlt_position mlt_producer_frame ( mlt_producer  self)

◆ mlt_producer_frame_time()

char* mlt_producer_frame_time ( mlt_producer  self,
mlt_time_format   
)

◆ mlt_producer_get_creation_time()

int64_t mlt_producer_get_creation_time ( mlt_producer  self)

◆ mlt_producer_get_fps()

double mlt_producer_get_fps ( mlt_producer  self)

◆ mlt_producer_get_in()

mlt_position mlt_producer_get_in ( mlt_producer  self)

◆ mlt_producer_get_length()

mlt_position mlt_producer_get_length ( mlt_producer  self)

◆ mlt_producer_get_length_time()

char* mlt_producer_get_length_time ( mlt_producer  self,
mlt_time_format   
)

◆ mlt_producer_get_out()

mlt_position mlt_producer_get_out ( mlt_producer  self)

◆ mlt_producer_get_playtime()

mlt_position mlt_producer_get_playtime ( mlt_producer  self)

◆ mlt_producer_get_speed()

double mlt_producer_get_speed ( mlt_producer  self)

◆ mlt_producer_init()

int mlt_producer_init ( mlt_producer  self,
void *  child 
)

◆ mlt_producer_is_blank()

int mlt_producer_is_blank ( mlt_producer  self)

◆ mlt_producer_is_cut()

int mlt_producer_is_cut ( mlt_producer  self)

◆ mlt_producer_is_mix()

int mlt_producer_is_mix ( mlt_producer  self)

◆ mlt_producer_new()

mlt_producer mlt_producer_new ( mlt_profile  )

◆ mlt_producer_optimise()

int mlt_producer_optimise ( mlt_producer  self)

◆ mlt_producer_position()

mlt_position mlt_producer_position ( mlt_producer  self)

◆ mlt_producer_prepare_next()

void mlt_producer_prepare_next ( mlt_producer  self)

◆ mlt_producer_probe()

int mlt_producer_probe ( mlt_producer  self)

◆ mlt_producer_properties()

mlt_properties mlt_producer_properties ( mlt_producer  self)

◆ mlt_producer_seek()

int mlt_producer_seek ( mlt_producer  self,
mlt_position  position 
)

◆ mlt_producer_seek_time()

int mlt_producer_seek_time ( mlt_producer  self,
const char *  time 
)

◆ mlt_producer_service()

mlt_service mlt_producer_service ( mlt_producer  self)

◆ mlt_producer_set_creation_time()

void mlt_producer_set_creation_time ( mlt_producer  self,
int64_t  creation_time 
)

◆ mlt_producer_set_in_and_out()

int mlt_producer_set_in_and_out ( mlt_producer  self,
mlt_position  in,
mlt_position  out 
)

◆ mlt_producer_set_speed()

int mlt_producer_set_speed ( mlt_producer  self,
double  speed 
)