MLT 7.40.0
Multimedia Framework
mlt_chain.h
Go to the documentation of this file.
1
23#ifndef MLT_CHAIN_H
24#define MLT_CHAIN_H
25
26#include "mlt_export.h"
27#include "mlt_link.h"
28#include "mlt_producer.h"
29
38{
40 void *local;
41};
42
43#define MLT_CHAIN_PRODUCER(chain) (&(chain)->parent)
44#define MLT_CHAIN_SERVICE(chain) MLT_PRODUCER_SERVICE(MLT_CHAIN_PRODUCER(chain))
45#define MLT_CHAIN_PROPERTIES(chain) MLT_SERVICE_PROPERTIES(MLT_CHAIN_SERVICE(chain))
46
48MLT_EXPORT void mlt_chain_set_source(mlt_chain self, mlt_producer source);
50MLT_EXPORT int mlt_chain_attach(mlt_chain self, mlt_link link);
51MLT_EXPORT int mlt_chain_detach(mlt_chain self, mlt_link link);
52MLT_EXPORT int mlt_chain_link_count(mlt_chain self);
53MLT_EXPORT int mlt_chain_move_link(mlt_chain self, int from, int to);
54MLT_EXPORT mlt_link mlt_chain_link(mlt_chain self, int index);
55MLT_EXPORT void mlt_chain_close(mlt_chain self);
57
58#endif
MLT_EXPORT void mlt_chain_attach_normalizers(mlt_chain self)
MLT_EXPORT mlt_link mlt_chain_link(mlt_chain self, int index)
MLT_EXPORT int mlt_chain_detach(mlt_chain self, mlt_link link)
MLT_EXPORT mlt_chain mlt_chain_init(mlt_profile)
MLT_EXPORT mlt_producer mlt_chain_get_source(mlt_chain self)
MLT_EXPORT void mlt_chain_close(mlt_chain self)
MLT_EXPORT int mlt_chain_move_link(mlt_chain self, int from, int to)
MLT_EXPORT void mlt_chain_set_source(mlt_chain self, mlt_producer source)
MLT_EXPORT int mlt_chain_link_count(mlt_chain self)
MLT_EXPORT int mlt_chain_attach(mlt_chain self, mlt_link link)
abstraction for all producer services
Chain class.
Definition mlt_chain.h:38
void * local
instance object
Definition mlt_chain.h:40
struct mlt_producer_s parent
Definition mlt_chain.h:39
Producer abstract service class.
Definition mlt_producer.h:71
Profile class.
Definition mlt_profile.h:36