]> git.sesse.net Git - mlt/blob - src/modules/core/factory.c
9157ce18e5cb337466b0ee3dd79608fd2054027a
[mlt] / src / modules / core / factory.c
1 /*
2  * factory.c -- the factory method interfaces
3  * Copyright (C) 2003-2004 Ushodaya Enterprises Limited
4  * Author: Charles Yates <charles.yates@pandora.be>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include <framework/mlt.h>
22 #include <string.h>
23
24 extern mlt_consumer consumer_null_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
25 extern mlt_filter filter_brightness_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
26 extern mlt_filter filter_channelcopy_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
27 extern mlt_filter filter_data_feed_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
28 extern mlt_filter filter_data_show_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
29 extern mlt_filter filter_gamma_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
30 extern mlt_filter filter_greyscale_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
31 extern mlt_filter filter_luma_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
32 extern mlt_filter filter_mirror_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
33 extern mlt_filter filter_mono_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
34 extern mlt_filter filter_obscure_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
35 extern mlt_filter filter_region_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
36 extern mlt_filter filter_rescale_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
37 extern mlt_filter filter_resize_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
38 extern mlt_filter filter_transition_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
39 extern mlt_filter filter_watermark_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
40 extern mlt_producer producer_colour_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
41 extern mlt_producer producer_consumer_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
42 extern mlt_producer producer_noise_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
43 extern mlt_producer producer_ppm_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
44 #include "transition_composite.h"
45 extern mlt_transition transition_luma_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
46 extern mlt_transition transition_mix_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
47 #include "transition_region.h"
48
49 MLT_REPOSITORY
50 {
51         MLT_REGISTER( consumer_type, "null", consumer_null_init );
52         MLT_REGISTER( filter_type, "brightness", filter_brightness_init );
53         MLT_REGISTER( filter_type, "channelcopy", filter_channelcopy_init );
54         MLT_REGISTER( filter_type, "data_feed", filter_data_feed_init );
55         MLT_REGISTER( filter_type, "data_show", filter_data_show_init );
56         MLT_REGISTER( filter_type, "gamma", filter_gamma_init );
57         MLT_REGISTER( filter_type, "greyscale", filter_greyscale_init );
58         MLT_REGISTER( filter_type, "grayscale", filter_greyscale_init );
59         MLT_REGISTER( filter_type, "luma", filter_luma_init );
60         MLT_REGISTER( filter_type, "mirror", filter_mirror_init );
61         MLT_REGISTER( filter_type, "mono", filter_mono_init );
62         MLT_REGISTER( filter_type, "obscure", filter_obscure_init );
63         MLT_REGISTER( filter_type, "region", filter_region_init );
64         MLT_REGISTER( filter_type, "rescale", filter_rescale_init );
65         MLT_REGISTER( filter_type, "resize", filter_resize_init );
66         MLT_REGISTER( filter_type, "transition", filter_transition_init );
67         MLT_REGISTER( filter_type, "watermark", filter_watermark_init );
68         MLT_REGISTER( producer_type, "color", producer_colour_init );
69         MLT_REGISTER( producer_type, "colour", producer_colour_init );
70         MLT_REGISTER( producer_type, "consumer", producer_consumer_init );
71         MLT_REGISTER( producer_type, "noise", producer_noise_init );
72         MLT_REGISTER( producer_type, "ppm", producer_ppm_init );
73         MLT_REGISTER( transition_type, "composite", transition_composite_init );
74         MLT_REGISTER( transition_type, "luma", transition_luma_init );
75         MLT_REGISTER( transition_type, "mix", transition_mix_init );
76         MLT_REGISTER( transition_type, "region", transition_region_init );
77 }