• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GStreamer
2  * Copyright (C) 2003 Benjamin Otte <in7y118@public.uni-hamburg.de>
3  * Copyright (C) 2005-2009 Tim-Philipp Müller <tim centricular net>
4  * Copyright (C) 2009 Sebastian Dröge <sebastian.droege@collabora.co.uk>
5  * Copyright (C) 2020 Huawei Technologies Co., Ltd.
6  *   @Author: Stéphane Cerveau <scerveau@collabora.com>
7  *
8  * gsttypefindfunctionsplugin.h: collection of various typefind functions
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Library General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Library General Public License for more details.
19  *
20  * You should have received a copy of the GNU Library General Public
21  * License along with this library; if not, write to the
22  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
23  * Boston, MA 02110-1301, USA.
24  */
25 
26 
27 #ifndef __GST_TYPE_FIND_FUNCTIONS_PLUGIN_H__
28 #define __GST_TYPE_FIND_FUNCTIONS_PLUGIN_H__
29 
30 #include <gst/gst.h>
31 
32 GST_DEBUG_CATEGORY_EXTERN (type_find_functions_debug);
33 #define GST_CAT_DEFAULT type_find_functions_debug
34 
35 /*** plugin initialization ***/
36 
37 /*RIFF type find declaration */
38 GST_TYPE_FIND_REGISTER_DECLARE (avi);
39 GST_TYPE_FIND_REGISTER_DECLARE (qcp);
40 GST_TYPE_FIND_REGISTER_DECLARE (cdxa);
41 GST_TYPE_FIND_REGISTER_DECLARE (riff_mid);
42 GST_TYPE_FIND_REGISTER_DECLARE (wav);
43 GST_TYPE_FIND_REGISTER_DECLARE (webp);
44 
45 /*'Start with' type find declaration */
46 GST_TYPE_FIND_REGISTER_DECLARE (asf);
47 GST_TYPE_FIND_REGISTER_DECLARE (vcd);
48 GST_TYPE_FIND_REGISTER_DECLARE (imelody);
49 GST_TYPE_FIND_REGISTER_DECLARE (scc);
50 #if 0
51 GST_TYPE_FIND_REGISTER_DECLARE (smoke);
52 #endif
53 GST_TYPE_FIND_REGISTER_DECLARE (rmf);
54 GST_TYPE_FIND_REGISTER_DECLARE (ram);
55 GST_TYPE_FIND_REGISTER_DECLARE (flv);
56 GST_TYPE_FIND_REGISTER_DECLARE (nist);
57 GST_TYPE_FIND_REGISTER_DECLARE (voc);
58 GST_TYPE_FIND_REGISTER_DECLARE (w64);
59 GST_TYPE_FIND_REGISTER_DECLARE (rf64);
60 GST_TYPE_FIND_REGISTER_DECLARE (gif);
61 GST_TYPE_FIND_REGISTER_DECLARE (png);
62 GST_TYPE_FIND_REGISTER_DECLARE (mve);
63 GST_TYPE_FIND_REGISTER_DECLARE (amr);
64 GST_TYPE_FIND_REGISTER_DECLARE (amr_wb);
65 GST_TYPE_FIND_REGISTER_DECLARE (sid);
66 GST_TYPE_FIND_REGISTER_DECLARE (xcf);
67 GST_TYPE_FIND_REGISTER_DECLARE (mng);
68 GST_TYPE_FIND_REGISTER_DECLARE (jng);
69 GST_TYPE_FIND_REGISTER_DECLARE (xpm);
70 GST_TYPE_FIND_REGISTER_DECLARE (ras);
71 GST_TYPE_FIND_REGISTER_DECLARE (bz2);
72 GST_TYPE_FIND_REGISTER_DECLARE (gz);
73 GST_TYPE_FIND_REGISTER_DECLARE (zip);
74 GST_TYPE_FIND_REGISTER_DECLARE (z);
75 GST_TYPE_FIND_REGISTER_DECLARE (elf);
76 GST_TYPE_FIND_REGISTER_DECLARE (spc);
77 GST_TYPE_FIND_REGISTER_DECLARE (caf);
78 GST_TYPE_FIND_REGISTER_DECLARE (rar);
79 GST_TYPE_FIND_REGISTER_DECLARE (nsf);
80 GST_TYPE_FIND_REGISTER_DECLARE (gym);
81 GST_TYPE_FIND_REGISTER_DECLARE (ay);
82 GST_TYPE_FIND_REGISTER_DECLARE (gbs);
83 GST_TYPE_FIND_REGISTER_DECLARE (vgm);
84 GST_TYPE_FIND_REGISTER_DECLARE (sap);
85 GST_TYPE_FIND_REGISTER_DECLARE (ivf);
86 GST_TYPE_FIND_REGISTER_DECLARE (kss);
87 GST_TYPE_FIND_REGISTER_DECLARE (pdf);
88 GST_TYPE_FIND_REGISTER_DECLARE (doc);
89 /* Mac OS X .DS_Store files tend to be taken for video/mpeg */
90 GST_TYPE_FIND_REGISTER_DECLARE (ds_store);
91 GST_TYPE_FIND_REGISTER_DECLARE (psd);
92 GST_TYPE_FIND_REGISTER_DECLARE (xi);
93 GST_TYPE_FIND_REGISTER_DECLARE (dmp);
94 
95 /*Type find declaration by functions */
96 GST_TYPE_FIND_REGISTER_DECLARE (musepack);
97 GST_TYPE_FIND_REGISTER_DECLARE (au);
98 GST_TYPE_FIND_REGISTER_DECLARE (mcc);
99 GST_TYPE_FIND_REGISTER_DECLARE (mid);
100 GST_TYPE_FIND_REGISTER_DECLARE (mxmf);
101 GST_TYPE_FIND_REGISTER_DECLARE (flx);
102 GST_TYPE_FIND_REGISTER_DECLARE (id3v2);
103 GST_TYPE_FIND_REGISTER_DECLARE (id3v1);
104 GST_TYPE_FIND_REGISTER_DECLARE (apetag);
105 GST_TYPE_FIND_REGISTER_DECLARE (tta);
106 GST_TYPE_FIND_REGISTER_DECLARE (mod);
107 GST_TYPE_FIND_REGISTER_DECLARE (mp3);
108 GST_TYPE_FIND_REGISTER_DECLARE (ac3);
109 GST_TYPE_FIND_REGISTER_DECLARE (dts);
110 GST_TYPE_FIND_REGISTER_DECLARE (gsm);
111 GST_TYPE_FIND_REGISTER_DECLARE (mpeg_sys);
112 GST_TYPE_FIND_REGISTER_DECLARE (mpeg_ts);
113 GST_TYPE_FIND_REGISTER_DECLARE (ogganx);
114 GST_TYPE_FIND_REGISTER_DECLARE (mpeg_video_stream);
115 GST_TYPE_FIND_REGISTER_DECLARE (mpeg4_video);
116 GST_TYPE_FIND_REGISTER_DECLARE (h263_video);
117 GST_TYPE_FIND_REGISTER_DECLARE (h264_video);
118 GST_TYPE_FIND_REGISTER_DECLARE (h265_video);
119 GST_TYPE_FIND_REGISTER_DECLARE (nuv);
120 GST_TYPE_FIND_REGISTER_DECLARE (m4a);
121 GST_TYPE_FIND_REGISTER_DECLARE (q3gp);
122 GST_TYPE_FIND_REGISTER_DECLARE (qt);
123 GST_TYPE_FIND_REGISTER_DECLARE (qtif);
124 GST_TYPE_FIND_REGISTER_DECLARE (jp2);
125 GST_TYPE_FIND_REGISTER_DECLARE (jpc);
126 GST_TYPE_FIND_REGISTER_DECLARE (mj2);
127 GST_TYPE_FIND_REGISTER_DECLARE (html);
128 GST_TYPE_FIND_REGISTER_DECLARE (swf);
129 GST_TYPE_FIND_REGISTER_DECLARE (xges);
130 GST_TYPE_FIND_REGISTER_DECLARE (xmeml);
131 GST_TYPE_FIND_REGISTER_DECLARE (fcpxml);
132 GST_TYPE_FIND_REGISTER_DECLARE (otio);
133 GST_TYPE_FIND_REGISTER_DECLARE (dash_mpd);
134 GST_TYPE_FIND_REGISTER_DECLARE (mss_manifest);
135 GST_TYPE_FIND_REGISTER_DECLARE (utf8);
136 GST_TYPE_FIND_REGISTER_DECLARE (utf16);
137 GST_TYPE_FIND_REGISTER_DECLARE (utf32);
138 GST_TYPE_FIND_REGISTER_DECLARE (uri);
139 GST_TYPE_FIND_REGISTER_DECLARE (itc);
140 GST_TYPE_FIND_REGISTER_DECLARE (hls);
141 GST_TYPE_FIND_REGISTER_DECLARE (sdp);
142 GST_TYPE_FIND_REGISTER_DECLARE (smil);
143 GST_TYPE_FIND_REGISTER_DECLARE (ttml_xml);
144 GST_TYPE_FIND_REGISTER_DECLARE (xml);
145 GST_TYPE_FIND_REGISTER_DECLARE (aiff);
146 GST_TYPE_FIND_REGISTER_DECLARE (svx);
147 GST_TYPE_FIND_REGISTER_DECLARE (paris);
148 GST_TYPE_FIND_REGISTER_DECLARE (sds);
149 GST_TYPE_FIND_REGISTER_DECLARE (ircam);
150 GST_TYPE_FIND_REGISTER_DECLARE (shn);
151 GST_TYPE_FIND_REGISTER_DECLARE (ape);
152 GST_TYPE_FIND_REGISTER_DECLARE (jpeg);
153 GST_TYPE_FIND_REGISTER_DECLARE (bmp);
154 GST_TYPE_FIND_REGISTER_DECLARE (tiff);
155 GST_TYPE_FIND_REGISTER_DECLARE (exr);
156 GST_TYPE_FIND_REGISTER_DECLARE (pnm);
157 GST_TYPE_FIND_REGISTER_DECLARE (matroska);
158 GST_TYPE_FIND_REGISTER_DECLARE (mxf);
159 GST_TYPE_FIND_REGISTER_DECLARE (dv);
160 GST_TYPE_FIND_REGISTER_DECLARE (ilbc);
161 GST_TYPE_FIND_REGISTER_DECLARE (sbc);
162 GST_TYPE_FIND_REGISTER_DECLARE (kate);
163 GST_TYPE_FIND_REGISTER_DECLARE (webvtt);
164 GST_TYPE_FIND_REGISTER_DECLARE (flac);
165 GST_TYPE_FIND_REGISTER_DECLARE (vorbis);
166 GST_TYPE_FIND_REGISTER_DECLARE (theora);
167 GST_TYPE_FIND_REGISTER_DECLARE (ogmvideo);
168 GST_TYPE_FIND_REGISTER_DECLARE (ogmaudio);
169 GST_TYPE_FIND_REGISTER_DECLARE (ogmtext);
170 GST_TYPE_FIND_REGISTER_DECLARE (speex);
171 GST_TYPE_FIND_REGISTER_DECLARE (celt);
172 GST_TYPE_FIND_REGISTER_DECLARE (oggskel);
173 GST_TYPE_FIND_REGISTER_DECLARE (cmml);
174 GST_TYPE_FIND_REGISTER_DECLARE (aac);
175 GST_TYPE_FIND_REGISTER_DECLARE (wavpack_wvp);
176 GST_TYPE_FIND_REGISTER_DECLARE (wavpack_wvc);
177 GST_TYPE_FIND_REGISTER_DECLARE (postscript);
178 GST_TYPE_FIND_REGISTER_DECLARE (svg);
179 GST_TYPE_FIND_REGISTER_DECLARE (tar);
180 GST_TYPE_FIND_REGISTER_DECLARE (ar);
181 GST_TYPE_FIND_REGISTER_DECLARE (msdos);
182 GST_TYPE_FIND_REGISTER_DECLARE (dirac);
183 GST_TYPE_FIND_REGISTER_DECLARE (multipart);
184 GST_TYPE_FIND_REGISTER_DECLARE (mmsh);
185 GST_TYPE_FIND_REGISTER_DECLARE (vivo);
186 GST_TYPE_FIND_REGISTER_DECLARE (wbmp);
187 GST_TYPE_FIND_REGISTER_DECLARE (y4m);
188 GST_TYPE_FIND_REGISTER_DECLARE (windows_icon);
189 #ifdef USE_GIO
190 GST_TYPE_FIND_REGISTER_DECLARE (xdgmime);
191 #endif
192 GST_TYPE_FIND_REGISTER_DECLARE (degas);
193 GST_TYPE_FIND_REGISTER_DECLARE (dvdiso);
194 GST_TYPE_FIND_REGISTER_DECLARE (ssa);
195 GST_TYPE_FIND_REGISTER_DECLARE (pva);
196 GST_TYPE_FIND_REGISTER_DECLARE (aa);
197 GST_TYPE_FIND_REGISTER_DECLARE (tap);
198 
199 #endif //__GST_TYPE_FIND_FUNCTIONS_PLUGIN_H__
200