MLT 6.26.0
mlt_factory.h
Go to the documentation of this file.
1
22#ifndef MLT_FACTORY_H
23#define MLT_FACTORY_H
24
25#include "mlt_types.h"
26#include "mlt_profile.h"
27#include "mlt_repository.h"
28
48extern mlt_repository mlt_factory_init( const char *directory );
50extern const char *mlt_factory_directory( );
51extern char *mlt_environment( const char *name );
52extern int mlt_environment_set( const char *name, const char *value );
54extern mlt_producer mlt_factory_producer( mlt_profile profile, const char *service, const void *resource );
55extern mlt_filter mlt_factory_filter( mlt_profile profile, const char *name, const void *input );
56extern mlt_transition mlt_factory_transition( mlt_profile profile, const char *name, const void *input );
57extern mlt_consumer mlt_factory_consumer( mlt_profile profile, const char *name, const void *input );
58extern void mlt_factory_register_for_clean_up( void *ptr, mlt_destructor destructor );
59extern void mlt_factory_close( );
61
62#endif
mlt_producer mlt_factory_producer(mlt_profile profile, const char *service, const void *resource)
Fetch a producer from the repository.
Definition mlt_factory.c:348
mlt_filter mlt_factory_filter(mlt_profile profile, const char *name, const void *input)
Fetch a filter from the repository.
Definition mlt_factory.c:381
mlt_consumer mlt_factory_consumer(mlt_profile profile, const char *name, const void *input)
Fetch a consumer from the repository.
Definition mlt_factory.c:439
mlt_properties mlt_global_properties()
Definition mlt_factory.c:518
mlt_repository mlt_factory_repository()
Fetch the repository.
Definition mlt_factory.c:262
int mlt_environment_set(const char *name, const char *value)
Set a value in the environment.
Definition mlt_factory.c:308
mlt_repository mlt_factory_init(const char *directory)
Construct the repository and factories.
Definition mlt_factory.c:136
const char * mlt_factory_directory()
Fetch the module directory used in this instance.
Definition mlt_factory.c:282
mlt_transition mlt_factory_transition(mlt_profile profile, const char *name, const void *input)
Fetch a transition from the repository.
Definition mlt_factory.c:410
char * mlt_environment(const char *name)
Get a value from the environment.
Definition mlt_factory.c:293
mlt_properties mlt_factory_event_object()
Fetch the events object.
Definition mlt_factory.c:272
void mlt_factory_close()
Close the factory.
Definition mlt_factory.c:495
void mlt_factory_register_for_clean_up(void *ptr, mlt_destructor destructor)
Register an object for clean up.
Definition mlt_factory.c:483
video output definition
provides a map between service and shared objects
Provides forward definitions of all public types.
void(* mlt_destructor)(void *)
pointer to destructor function
Definition mlt_types.h:212
Consumer abstract service class.
Definition mlt_consumer.h:88
Filter abstract service class.
Definition mlt_filter.h:40
Producer abstract service class.
Definition mlt_producer.h:70
Profile class.
Definition mlt_profile.h:35
Properties class.
Definition mlt_properties.h:37
Repository class.
Definition mlt_repository.c:46
Transition abstract service class.
Definition mlt_transition.h:42