Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / gst / rtp / gstrtp.c
1 /* GStreamer
2  * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
23
24 #include "gstrtpdepay.h"
25 #include "gstrtpac3depay.h"
26 #include "gstrtpac3pay.h"
27 #include "gstrtpbvdepay.h"
28 #include "gstrtpbvpay.h"
29 #include "gstrtpceltdepay.h"
30 #include "gstrtpceltpay.h"
31 #include "gstrtpdvdepay.h"
32 #include "gstrtpdvpay.h"
33 #include "gstrtpgstdepay.h"
34 #include "gstrtpgstpay.h"
35 #include "gstrtpilbcdepay.h"
36 #include "gstrtpilbcpay.h"
37 #include "gstrtppcmupay.h"
38 #include "gstrtppcmapay.h"
39 #include "gstrtppcmadepay.h"
40 #include "gstrtppcmudepay.h"
41 #include "gstrtpg722depay.h"
42 #include "gstrtpg722pay.h"
43 #include "gstrtpg723depay.h"
44 #include "gstrtpg723pay.h"
45 #include "gstrtpg726depay.h"
46 #include "gstrtpg726pay.h"
47 #include "gstrtpg729depay.h"
48 #include "gstrtpg729pay.h"
49 #include "gstrtpgsmpay.h"
50 #include "gstrtpgsmdepay.h"
51 #include "gstrtpamrpay.h"
52 #include "gstrtpamrdepay.h"
53 #include "gstrtpmpapay.h"
54 #include "gstrtpmpadepay.h"
55 #include "gstrtpmparobustdepay.h"
56 #include "gstrtpmpvdepay.h"
57 #include "gstrtpmpvpay.h"
58 #include "gstrtph263pdepay.h"
59 #include "gstrtph263ppay.h"
60 #include "gstrtph263depay.h"
61 #include "gstrtph263pay.h"
62 #include "gstrtph264depay.h"
63 #include "gstrtph264pay.h"
64 #include "gstrtpj2kdepay.h"
65 #include "gstrtpj2kpay.h"
66 #include "gstrtpjpegdepay.h"
67 #include "gstrtpjpegpay.h"
68 #include "gstrtpL16depay.h"
69 #include "gstrtpL16pay.h"
70 #include "gstasteriskh263.h"
71 #include "gstrtpmp1sdepay.h"
72 #include "gstrtpmp2tdepay.h"
73 #include "gstrtpmp2tpay.h"
74 #include "gstrtpmp4vdepay.h"
75 #include "gstrtpmp4vpay.h"
76 #include "gstrtpmp4adepay.h"
77 #include "gstrtpmp4apay.h"
78 #include "gstrtpmp4gdepay.h"
79 #include "gstrtpmp4gpay.h"
80 #include "gstrtpqcelpdepay.h"
81 #include "gstrtpqdmdepay.h"
82 #include "gstrtpsirenpay.h"
83 #include "gstrtpsirendepay.h"
84 #include "gstrtpspeexpay.h"
85 #include "gstrtpspeexdepay.h"
86 #include "gstrtpsv3vdepay.h"
87 #include "gstrtptheoradepay.h"
88 #include "gstrtptheorapay.h"
89 #include "gstrtpvorbisdepay.h"
90 #include "gstrtpvorbispay.h"
91 #include "gstrtpvrawdepay.h"
92 #include "gstrtpvrawpay.h"
93
94 static gboolean
95 plugin_init (GstPlugin * plugin)
96 {
97   if (!gst_rtp_depay_plugin_init (plugin))
98     return FALSE;
99
100   if (!gst_rtp_ac3_depay_plugin_init (plugin))
101     return FALSE;
102
103   if (!gst_rtp_ac3_pay_plugin_init (plugin))
104     return FALSE;
105
106   if (!gst_rtp_bv_depay_plugin_init (plugin))
107     return FALSE;
108
109   if (!gst_rtp_bv_pay_plugin_init (plugin))
110     return FALSE;
111
112   if (!gst_rtp_celt_depay_plugin_init (plugin))
113     return FALSE;
114
115   if (!gst_rtp_celt_pay_plugin_init (plugin))
116     return FALSE;
117
118   if (!gst_rtp_dv_depay_plugin_init (plugin))
119     return FALSE;
120
121   if (!gst_rtp_dv_pay_plugin_init (plugin))
122     return FALSE;
123
124   if (!gst_rtp_gst_depay_plugin_init (plugin))
125     return FALSE;
126
127   if (!gst_rtp_gst_pay_plugin_init (plugin))
128     return FALSE;
129
130   if (!gst_rtp_ilbc_pay_plugin_init (plugin))
131     return FALSE;
132
133   if (!gst_rtp_ilbc_depay_plugin_init (plugin))
134     return FALSE;
135
136   if (!gst_rtp_g722_depay_plugin_init (plugin))
137     return FALSE;
138
139   if (!gst_rtp_g722_pay_plugin_init (plugin))
140     return FALSE;
141
142   if (!gst_rtp_g723_depay_plugin_init (plugin))
143     return FALSE;
144
145   if (!gst_rtp_g723_pay_plugin_init (plugin))
146     return FALSE;
147
148   if (!gst_rtp_g726_depay_plugin_init (plugin))
149     return FALSE;
150
151   if (!gst_rtp_g726_pay_plugin_init (plugin))
152     return FALSE;
153
154   if (!gst_rtp_g729_depay_plugin_init (plugin))
155     return FALSE;
156
157   if (!gst_rtp_g729_pay_plugin_init (plugin))
158     return FALSE;
159
160   if (!gst_rtp_gsm_depay_plugin_init (plugin))
161     return FALSE;
162
163   if (!gst_rtp_gsm_pay_plugin_init (plugin))
164     return FALSE;
165
166   if (!gst_rtp_amr_depay_plugin_init (plugin))
167     return FALSE;
168
169   if (!gst_rtp_amr_pay_plugin_init (plugin))
170     return FALSE;
171
172   if (!gst_rtp_pcma_depay_plugin_init (plugin))
173     return FALSE;
174
175   if (!gst_rtp_pcmu_depay_plugin_init (plugin))
176     return FALSE;
177
178   if (!gst_rtp_pcmu_pay_plugin_init (plugin))
179     return FALSE;
180
181   if (!gst_rtp_pcma_pay_plugin_init (plugin))
182     return FALSE;
183
184   if (!gst_rtp_mpa_depay_plugin_init (plugin))
185     return FALSE;
186
187   if (!gst_rtp_mpa_pay_plugin_init (plugin))
188     return FALSE;
189
190   if (!gst_rtp_mpa_robust_depay_plugin_init (plugin))
191     return FALSE;
192
193   if (!gst_rtp_mpv_depay_plugin_init (plugin))
194     return FALSE;
195
196   if (!gst_rtp_mpv_pay_plugin_init (plugin))
197     return FALSE;
198
199   if (!gst_rtp_h263p_pay_plugin_init (plugin))
200     return FALSE;
201
202   if (!gst_rtp_h263p_depay_plugin_init (plugin))
203     return FALSE;
204
205   if (!gst_rtp_h263_depay_plugin_init (plugin))
206     return FALSE;
207
208   if (!gst_rtp_h263_pay_plugin_init (plugin))
209     return FALSE;
210
211   if (!gst_rtp_h264_depay_plugin_init (plugin))
212     return FALSE;
213
214   if (!gst_rtp_h264_pay_plugin_init (plugin))
215     return FALSE;
216
217   if (!gst_rtp_j2k_depay_plugin_init (plugin))
218     return FALSE;
219
220   if (!gst_rtp_j2k_pay_plugin_init (plugin))
221     return FALSE;
222
223   if (!gst_rtp_jpeg_depay_plugin_init (plugin))
224     return FALSE;
225
226   if (!gst_rtp_jpeg_pay_plugin_init (plugin))
227     return FALSE;
228
229   if (!gst_rtp_L16_pay_plugin_init (plugin))
230     return FALSE;
231
232   if (!gst_rtp_L16_depay_plugin_init (plugin))
233     return FALSE;
234
235   if (!gst_asteriskh263_plugin_init (plugin))
236     return FALSE;
237
238   if (!gst_rtp_mp1s_depay_plugin_init (plugin))
239     return FALSE;
240
241   if (!gst_rtp_mp2t_depay_plugin_init (plugin))
242     return FALSE;
243
244   if (!gst_rtp_mp2t_pay_plugin_init (plugin))
245     return FALSE;
246
247   if (!gst_rtp_mp4v_pay_plugin_init (plugin))
248     return FALSE;
249
250   if (!gst_rtp_mp4v_depay_plugin_init (plugin))
251     return FALSE;
252
253   if (!gst_rtp_mp4a_pay_plugin_init (plugin))
254     return FALSE;
255
256   if (!gst_rtp_mp4a_depay_plugin_init (plugin))
257     return FALSE;
258
259   if (!gst_rtp_mp4g_depay_plugin_init (plugin))
260     return FALSE;
261
262   if (!gst_rtp_mp4g_pay_plugin_init (plugin))
263     return FALSE;
264
265   if (!gst_rtp_qcelp_depay_plugin_init (plugin))
266     return FALSE;
267
268   if (!gst_rtp_qdm2_depay_plugin_init (plugin))
269     return FALSE;
270
271   if (!gst_rtp_siren_pay_plugin_init (plugin))
272     return FALSE;
273
274   if (!gst_rtp_siren_depay_plugin_init (plugin))
275     return FALSE;
276
277   if (!gst_rtp_speex_pay_plugin_init (plugin))
278     return FALSE;
279
280   if (!gst_rtp_speex_depay_plugin_init (plugin))
281     return FALSE;
282
283   if (!gst_rtp_sv3v_depay_plugin_init (plugin))
284     return FALSE;
285
286   if (!gst_rtp_theora_depay_plugin_init (plugin))
287     return FALSE;
288
289   if (!gst_rtp_theora_pay_plugin_init (plugin))
290     return FALSE;
291
292   if (!gst_rtp_vorbis_depay_plugin_init (plugin))
293     return FALSE;
294
295   if (!gst_rtp_vorbis_pay_plugin_init (plugin))
296     return FALSE;
297
298   if (!gst_rtp_vraw_depay_plugin_init (plugin))
299     return FALSE;
300
301   if (!gst_rtp_vraw_pay_plugin_init (plugin))
302     return FALSE;
303
304   return TRUE;
305 }
306
307 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
308     GST_VERSION_MINOR,
309     "rtp",
310     "Real-time protocol plugins",
311     plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);