allformats.c 17.6 KB
Newer Older
1 2 3 4
/*
 * Register all the formats and protocols
 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard
 *
5 6 7
 * This file is part of FFmpeg.
 *
 * FFmpeg is free software; you can redistribute it and/or
8 9
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
10
 * version 2.1 of the License, or (at your option) any later version.
11
 *
12
 * FFmpeg is distributed in the hope that it will be useful,
13 14 15 16 17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
18
 * License along with FFmpeg; if not, write to the Free Software
19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
 */
21

22
#include "avformat.h"
23
#include "rtp.h"
24
#include "rdt.h"
25
#include "url.h"
26
#include "version.h"
27

28 29 30 31 32 33
#define REGISTER_MUXER(X, x)                                            \
    {                                                                   \
        extern AVOutputFormat ff_##x##_muxer;                           \
        if (CONFIG_##X##_MUXER)                                         \
            av_register_output_format(&ff_##x##_muxer);                 \
    }
Diego Biurrun's avatar
Diego Biurrun committed
34

35 36 37 38 39 40
#define REGISTER_DEMUXER(X, x)                                          \
    {                                                                   \
        extern AVInputFormat ff_##x##_demuxer;                          \
        if (CONFIG_##X##_DEMUXER)                                       \
            av_register_input_format(&ff_##x##_demuxer);                \
    }
Diego Biurrun's avatar
Diego Biurrun committed
41

42
#define REGISTER_MUXDEMUX(X, x) REGISTER_MUXER(X, x); REGISTER_DEMUXER(X, x)
Diego Biurrun's avatar
Diego Biurrun committed
43

44 45
void av_register_all(void)
{
46
    static int initialized;
47

48
    if (initialized)
49 50
        return;

51 52
    avcodec_register_all();

53
    /* (de)muxers */
54
    REGISTER_MUXER   (A64,              a64);
55
    REGISTER_DEMUXER (AA,               aa);
56 57
    REGISTER_DEMUXER (AAC,              aac);
    REGISTER_MUXDEMUX(AC3,              ac3);
58
    REGISTER_DEMUXER (ACM,              acm);
59 60
    REGISTER_DEMUXER (ACT,              act);
    REGISTER_DEMUXER (ADF,              adf);
James Almer's avatar
James Almer committed
61
    REGISTER_DEMUXER (ADP,              adp);
62
    REGISTER_DEMUXER (ADS,              ads);
63 64 65
    REGISTER_MUXER   (ADTS,             adts);
    REGISTER_MUXDEMUX(ADX,              adx);
    REGISTER_DEMUXER (AEA,              aea);
66
    REGISTER_DEMUXER (AFC,              afc);
67
    REGISTER_MUXDEMUX(AIFF,             aiff);
68
    REGISTER_DEMUXER (AIX,              aix);
69 70 71 72
    REGISTER_MUXDEMUX(AMR,              amr);
    REGISTER_DEMUXER (ANM,              anm);
    REGISTER_DEMUXER (APC,              apc);
    REGISTER_DEMUXER (APE,              ape);
73
    REGISTER_MUXDEMUX(APNG,             apng);
74
    REGISTER_DEMUXER (AQTITLE,          aqtitle);
75
    REGISTER_MUXDEMUX(ASF,              asf);
76
    REGISTER_DEMUXER (ASF_O,            asf_o);
77
    REGISTER_MUXDEMUX(ASS,              ass);
78
    REGISTER_MUXDEMUX(AST,              ast);
79 80 81 82 83
    REGISTER_MUXER   (ASF_STREAM,       asf_stream);
    REGISTER_MUXDEMUX(AU,               au);
    REGISTER_MUXDEMUX(AVI,              avi);
    REGISTER_DEMUXER (AVISYNTH,         avisynth);
    REGISTER_MUXER   (AVM2,             avm2);
84
    REGISTER_DEMUXER (AVR,              avr);
85 86 87
    REGISTER_DEMUXER (AVS,              avs);
    REGISTER_DEMUXER (BETHSOFTVID,      bethsoftvid);
    REGISTER_DEMUXER (BFI,              bfi);
88
    REGISTER_DEMUXER (BINTEXT,          bintext);
89
    REGISTER_DEMUXER (BINK,             bink);
90
    REGISTER_MUXDEMUX(BIT,              bit);
91
    REGISTER_DEMUXER (BMV,              bmv);
92
    REGISTER_DEMUXER (BFSTM,            bfstm);
93
    REGISTER_DEMUXER (BRSTM,            brstm);
94
    REGISTER_DEMUXER (BOA,              boa);
95
    REGISTER_DEMUXER (C93,              c93);
96
    REGISTER_MUXDEMUX(CAF,              caf);
97 98 99
    REGISTER_MUXDEMUX(CAVSVIDEO,        cavsvideo);
    REGISTER_DEMUXER (CDG,              cdg);
    REGISTER_DEMUXER (CDXL,             cdxl);
100
    REGISTER_DEMUXER (CINE,             cine);
101
    REGISTER_DEMUXER (CONCAT,           concat);
102
    REGISTER_MUXER   (CRC,              crc);
103
    REGISTER_MUXER   (DASH,             dash);
104
    REGISTER_MUXDEMUX(DATA,             data);
105
    REGISTER_MUXDEMUX(DAUD,             daud);
106
    REGISTER_DEMUXER (DCSTR,            dcstr);
107 108 109
    REGISTER_DEMUXER (DFA,              dfa);
    REGISTER_MUXDEMUX(DIRAC,            dirac);
    REGISTER_MUXDEMUX(DNXHD,            dnxhd);
110
    REGISTER_DEMUXER (DSF,              dsf);
111
    REGISTER_DEMUXER (DSICIN,           dsicin);
Oleksij Rempel's avatar
Oleksij Rempel committed
112
    REGISTER_DEMUXER (DSS,              dss);
113
    REGISTER_MUXDEMUX(DTS,              dts);
114
    REGISTER_DEMUXER (DTSHD,            dtshd);
115
    REGISTER_MUXDEMUX(DV,               dv);
116
    REGISTER_DEMUXER (DVBSUB,           dvbsub);
117
    REGISTER_DEMUXER (DVBTXT,           dvbtxt);
118 119 120 121
    REGISTER_DEMUXER (DXA,              dxa);
    REGISTER_DEMUXER (EA,               ea);
    REGISTER_DEMUXER (EA_CDATA,         ea_cdata);
    REGISTER_MUXDEMUX(EAC3,             eac3);
122 123
    REGISTER_DEMUXER (EPAF,             epaf);
    REGISTER_MUXER   (F4V,              f4v);
124 125
    REGISTER_MUXDEMUX(FFM,              ffm);
    REGISTER_MUXDEMUX(FFMETADATA,       ffmetadata);
126
    REGISTER_MUXER   (FIFO,             fifo);
127 128 129 130
    REGISTER_MUXDEMUX(FILMSTRIP,        filmstrip);
    REGISTER_MUXDEMUX(FLAC,             flac);
    REGISTER_DEMUXER (FLIC,             flic);
    REGISTER_MUXDEMUX(FLV,              flv);
131
    REGISTER_DEMUXER (LIVE_FLV,         live_flv);
132 133
    REGISTER_DEMUXER (FOURXM,           fourxm);
    REGISTER_MUXER   (FRAMECRC,         framecrc);
134
    REGISTER_MUXER   (FRAMEHASH,        framehash);
135
    REGISTER_MUXER   (FRAMEMD5,         framemd5);
Peter Ross's avatar
Peter Ross committed
136
    REGISTER_DEMUXER (FRM,              frm);
137
    REGISTER_DEMUXER (FSB,              fsb);
138
    REGISTER_MUXDEMUX(G722,             g722);
139 140
    REGISTER_MUXDEMUX(G723_1,           g723_1);
    REGISTER_DEMUXER (G729,             g729);
141
    REGISTER_DEMUXER (GENH,             genh);
142
    REGISTER_MUXDEMUX(GIF,              gif);
143
    REGISTER_MUXDEMUX(GSM,              gsm);
144 145 146 147
    REGISTER_MUXDEMUX(GXF,              gxf);
    REGISTER_MUXDEMUX(H261,             h261);
    REGISTER_MUXDEMUX(H263,             h263);
    REGISTER_MUXDEMUX(H264,             h264);
148
    REGISTER_MUXER   (HASH,             hash);
149
    REGISTER_MUXER   (HDS,              hds);
Derek Buitenhuis's avatar
Derek Buitenhuis committed
150
    REGISTER_MUXDEMUX(HEVC,             hevc);
151
    REGISTER_MUXDEMUX(HLS,              hls);
152
    REGISTER_DEMUXER (HNM,              hnm);
153
    REGISTER_MUXDEMUX(ICO,              ico);
154
    REGISTER_DEMUXER (IDCIN,            idcin);
155
    REGISTER_DEMUXER (IDF,              idf);
156 157 158 159
    REGISTER_DEMUXER (IFF,              iff);
    REGISTER_MUXDEMUX(ILBC,             ilbc);
    REGISTER_MUXDEMUX(IMAGE2,           image2);
    REGISTER_MUXDEMUX(IMAGE2PIPE,       image2pipe);
160
    REGISTER_DEMUXER (IMAGE2_ALIAS_PIX, image2_alias_pix);
161
    REGISTER_DEMUXER (IMAGE2_BRENDER_PIX, image2_brender_pix);
162 163 164
    REGISTER_DEMUXER (INGENIENT,        ingenient);
    REGISTER_DEMUXER (IPMOVIE,          ipmovie);
    REGISTER_MUXER   (IPOD,             ipod);
165
    REGISTER_MUXDEMUX(IRCAM,            ircam);
166 167 168 169
    REGISTER_MUXER   (ISMV,             ismv);
    REGISTER_DEMUXER (ISS,              iss);
    REGISTER_DEMUXER (IV8,              iv8);
    REGISTER_MUXDEMUX(IVF,              ivf);
170
    REGISTER_DEMUXER (IVR,              ivr);
171
    REGISTER_MUXDEMUX(JACOSUB,          jacosub);
172
    REGISTER_DEMUXER (JV,               jv);
173
    REGISTER_MUXER   (LATM,             latm);
174
    REGISTER_DEMUXER (LMLM4,            lmlm4);
175
    REGISTER_DEMUXER (LOAS,             loas);
176
    REGISTER_MUXDEMUX(LRC,              lrc);
177
    REGISTER_DEMUXER (LVF,              lvf);
178 179 180 181 182
    REGISTER_DEMUXER (LXF,              lxf);
    REGISTER_MUXDEMUX(M4V,              m4v);
    REGISTER_MUXER   (MD5,              md5);
    REGISTER_MUXDEMUX(MATROSKA,         matroska);
    REGISTER_MUXER   (MATROSKA_AUDIO,   matroska_audio);
183 184
    REGISTER_DEMUXER (MGSTS,            mgsts);
    REGISTER_MUXDEMUX(MICRODVD,         microdvd);
185
    REGISTER_MUXDEMUX(MJPEG,            mjpeg);
186
    REGISTER_DEMUXER (MJPEG_2000,       mjpeg_2000);
187
    REGISTER_MUXDEMUX(MLP,              mlp);
188
    REGISTER_DEMUXER (MLV,              mlv);
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
    REGISTER_DEMUXER (MM,               mm);
    REGISTER_MUXDEMUX(MMF,              mmf);
    REGISTER_MUXDEMUX(MOV,              mov);
    REGISTER_MUXER   (MP2,              mp2);
    REGISTER_MUXDEMUX(MP3,              mp3);
    REGISTER_MUXER   (MP4,              mp4);
    REGISTER_DEMUXER (MPC,              mpc);
    REGISTER_DEMUXER (MPC8,             mpc8);
    REGISTER_MUXER   (MPEG1SYSTEM,      mpeg1system);
    REGISTER_MUXER   (MPEG1VCD,         mpeg1vcd);
    REGISTER_MUXER   (MPEG1VIDEO,       mpeg1video);
    REGISTER_MUXER   (MPEG2DVD,         mpeg2dvd);
    REGISTER_MUXER   (MPEG2SVCD,        mpeg2svcd);
    REGISTER_MUXER   (MPEG2VIDEO,       mpeg2video);
    REGISTER_MUXER   (MPEG2VOB,         mpeg2vob);
    REGISTER_DEMUXER (MPEGPS,           mpegps);
    REGISTER_MUXDEMUX(MPEGTS,           mpegts);
    REGISTER_DEMUXER (MPEGTSRAW,        mpegtsraw);
    REGISTER_DEMUXER (MPEGVIDEO,        mpegvideo);
208
    REGISTER_MUXDEMUX(MPJPEG,           mpjpeg);
209
    REGISTER_DEMUXER (MPL2,             mpl2);
210
    REGISTER_DEMUXER (MPSUB,            mpsub);
211
    REGISTER_DEMUXER (MSF,              msf);
212
    REGISTER_DEMUXER (MSNWC_TCP,        msnwc_tcp);
213
    REGISTER_DEMUXER (MTAF,             mtaf);
214
    REGISTER_DEMUXER (MTV,              mtv);
215
    REGISTER_DEMUXER (MUSX,             musx);
216
    REGISTER_DEMUXER (MV,               mv);
217 218 219
    REGISTER_DEMUXER (MVI,              mvi);
    REGISTER_MUXDEMUX(MXF,              mxf);
    REGISTER_MUXER   (MXF_D10,          mxf_d10);
220
    REGISTER_MUXER   (MXF_OPATOM,       mxf_opatom);
221 222
    REGISTER_DEMUXER (MXG,              mxg);
    REGISTER_DEMUXER (NC,               nc);
223
    REGISTER_DEMUXER (NISTSPHERE,       nistsphere);
224 225 226 227
    REGISTER_DEMUXER (NSV,              nsv);
    REGISTER_MUXER   (NULL,             null);
    REGISTER_MUXDEMUX(NUT,              nut);
    REGISTER_DEMUXER (NUV,              nuv);
Carl Eugen Hoyos's avatar
Carl Eugen Hoyos committed
228
    REGISTER_MUXER   (OGA,              oga);
229
    REGISTER_MUXDEMUX(OGG,              ogg);
230
    REGISTER_MUXER   (OGV,              ogv);
231
    REGISTER_MUXDEMUX(OMA,              oma);
232
    REGISTER_MUXER   (OPUS,             opus);
233
    REGISTER_DEMUXER (PAF,              paf);
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
    REGISTER_MUXDEMUX(PCM_ALAW,         pcm_alaw);
    REGISTER_MUXDEMUX(PCM_MULAW,        pcm_mulaw);
    REGISTER_MUXDEMUX(PCM_F64BE,        pcm_f64be);
    REGISTER_MUXDEMUX(PCM_F64LE,        pcm_f64le);
    REGISTER_MUXDEMUX(PCM_F32BE,        pcm_f32be);
    REGISTER_MUXDEMUX(PCM_F32LE,        pcm_f32le);
    REGISTER_MUXDEMUX(PCM_S32BE,        pcm_s32be);
    REGISTER_MUXDEMUX(PCM_S32LE,        pcm_s32le);
    REGISTER_MUXDEMUX(PCM_S24BE,        pcm_s24be);
    REGISTER_MUXDEMUX(PCM_S24LE,        pcm_s24le);
    REGISTER_MUXDEMUX(PCM_S16BE,        pcm_s16be);
    REGISTER_MUXDEMUX(PCM_S16LE,        pcm_s16le);
    REGISTER_MUXDEMUX(PCM_S8,           pcm_s8);
    REGISTER_MUXDEMUX(PCM_U32BE,        pcm_u32be);
    REGISTER_MUXDEMUX(PCM_U32LE,        pcm_u32le);
    REGISTER_MUXDEMUX(PCM_U24BE,        pcm_u24be);
    REGISTER_MUXDEMUX(PCM_U24LE,        pcm_u24le);
    REGISTER_MUXDEMUX(PCM_U16BE,        pcm_u16be);
    REGISTER_MUXDEMUX(PCM_U16LE,        pcm_u16le);
    REGISTER_MUXDEMUX(PCM_U8,           pcm_u8);
254
    REGISTER_DEMUXER (PJS,              pjs);
255 256 257
    REGISTER_DEMUXER (PMP,              pmp);
    REGISTER_MUXER   (PSP,              psp);
    REGISTER_DEMUXER (PVA,              pva);
258
    REGISTER_DEMUXER (PVF,              pvf);
259 260 261
    REGISTER_DEMUXER (QCP,              qcp);
    REGISTER_DEMUXER (R3D,              r3d);
    REGISTER_MUXDEMUX(RAWVIDEO,         rawvideo);
262
    REGISTER_DEMUXER (REALTEXT,         realtext);
James Almer's avatar
James Almer committed
263
    REGISTER_DEMUXER (REDSPARK,         redspark);
264 265 266 267
    REGISTER_DEMUXER (RL2,              rl2);
    REGISTER_MUXDEMUX(RM,               rm);
    REGISTER_MUXDEMUX(ROQ,              roq);
    REGISTER_DEMUXER (RPL,              rpl);
James Almer's avatar
James Almer committed
268
    REGISTER_DEMUXER (RSD,              rsd);
269 270
    REGISTER_MUXDEMUX(RSO,              rso);
    REGISTER_MUXDEMUX(RTP,              rtp);
271
    REGISTER_MUXER   (RTP_MPEGTS,       rtp_mpegts);
272
    REGISTER_MUXDEMUX(RTSP,             rtsp);
273
    REGISTER_DEMUXER (SAMI,             sami);
274
    REGISTER_MUXDEMUX(SAP,              sap);
275
    REGISTER_DEMUXER (SBG,              sbg);
Paul B Mahol's avatar
Paul B Mahol committed
276
    REGISTER_MUXDEMUX(SCC,              scc);
277
    REGISTER_DEMUXER (SDP,              sdp);
Paul B Mahol's avatar
Paul B Mahol committed
278
    REGISTER_DEMUXER (SDR2,             sdr2);
279
    REGISTER_DEMUXER (SDS,              sds);
280
    REGISTER_DEMUXER (SDX,              sdx);
281
#if CONFIG_RTPDEC
282 283
    ff_register_rtp_dynamic_payload_handlers();
    ff_register_rdt_dynamic_payload_handlers();
284
#endif
285 286
    REGISTER_DEMUXER (SEGAFILM,         segafilm);
    REGISTER_MUXER   (SEGMENT,          segment);
287
    REGISTER_MUXER   (SEGMENT,          stream_segment);
288 289
    REGISTER_DEMUXER (SHORTEN,          shorten);
    REGISTER_DEMUXER (SIFF,             siff);
290
    REGISTER_MUXER   (SINGLEJPEG,       singlejpeg);
291
    REGISTER_DEMUXER (SLN,              sln);
292 293 294
    REGISTER_DEMUXER (SMACKER,          smacker);
    REGISTER_MUXDEMUX(SMJPEG,           smjpeg);
    REGISTER_MUXER   (SMOOTHSTREAMING,  smoothstreaming);
295
    REGISTER_DEMUXER (SMUSH,            smush);
296 297
    REGISTER_DEMUXER (SOL,              sol);
    REGISTER_MUXDEMUX(SOX,              sox);
298
    REGISTER_MUXER   (SPX,              spx);
299 300 301
    REGISTER_MUXDEMUX(SPDIF,            spdif);
    REGISTER_MUXDEMUX(SRT,              srt);
    REGISTER_DEMUXER (STR,              str);
302
    REGISTER_DEMUXER (STL,              stl);
303
    REGISTER_DEMUXER (SUBVIEWER1,       subviewer1);
304
    REGISTER_DEMUXER (SUBVIEWER,        subviewer);
305
    REGISTER_DEMUXER (SUP,              sup);
306
    REGISTER_DEMUXER (SVAG,             svag);
307 308
    REGISTER_MUXDEMUX(SWF,              swf);
    REGISTER_DEMUXER (TAK,              tak);
309
    REGISTER_MUXER   (TEE,              tee);
310
    REGISTER_DEMUXER (TEDCAPTIONS,      tedcaptions);
311 312 313
    REGISTER_MUXER   (TG2,              tg2);
    REGISTER_MUXER   (TGP,              tgp);
    REGISTER_DEMUXER (THP,              thp);
314
    REGISTER_DEMUXER (THREEDOSTR,       threedostr);
315
    REGISTER_DEMUXER (TIERTEXSEQ,       tiertexseq);
316
    REGISTER_MUXER   (MKVTIMESTAMP_V2,  mkvtimestamp_v2);
317 318
    REGISTER_DEMUXER (TMV,              tmv);
    REGISTER_MUXDEMUX(TRUEHD,           truehd);
319
    REGISTER_MUXDEMUX(TTA,              tta);
320 321
    REGISTER_DEMUXER (TXD,              txd);
    REGISTER_DEMUXER (TTY,              tty);
322
    REGISTER_MUXER   (UNCODEDFRAMECRC,  uncodedframecrc);
323 324
    REGISTER_DEMUXER (V210,             v210);
    REGISTER_DEMUXER (V210X,            v210x);
325
    REGISTER_DEMUXER (VAG,              vag);
326
    REGISTER_MUXDEMUX(VC1,              vc1);
327
    REGISTER_MUXDEMUX(VC1T,             vc1t);
328
    REGISTER_DEMUXER (VIVO,             vivo);
329
    REGISTER_DEMUXER (VMD,              vmd);
330
    REGISTER_DEMUXER (VOBSUB,           vobsub);
331
    REGISTER_MUXDEMUX(VOC,              voc);
332
    REGISTER_DEMUXER (VPK,              vpk);
333
    REGISTER_DEMUXER (VPLAYER,          vplayer);
334
    REGISTER_DEMUXER (VQF,              vqf);
Paul B Mahol's avatar
Paul B Mahol committed
335
    REGISTER_MUXDEMUX(W64,              w64);
336 337 338
    REGISTER_MUXDEMUX(WAV,              wav);
    REGISTER_DEMUXER (WC3,              wc3);
    REGISTER_MUXER   (WEBM,             webm);
339
    REGISTER_MUXDEMUX(WEBM_DASH_MANIFEST, webm_dash_manifest);
340
    REGISTER_MUXER   (WEBM_CHUNK,       webm_chunk);
341
    REGISTER_MUXER   (WEBP,             webp);
Matthew Heaney's avatar
Matthew Heaney committed
342
    REGISTER_MUXDEMUX(WEBVTT,           webvtt);
343
    REGISTER_DEMUXER (WSAUD,            wsaud);
344
    REGISTER_DEMUXER (WSD,              wsd);
345
    REGISTER_DEMUXER (WSVQA,            wsvqa);
346
    REGISTER_MUXDEMUX(WTV,              wtv);
347
    REGISTER_DEMUXER (WVE,              wve);
348
    REGISTER_MUXDEMUX(WV,               wv);
349
    REGISTER_DEMUXER (XA,               xa);
350
    REGISTER_DEMUXER (XBIN,             xbin);
351
    REGISTER_DEMUXER (XMV,              xmv);
352
    REGISTER_DEMUXER (XVAG,             xvag);
353 354 355
    REGISTER_DEMUXER (XWMA,             xwma);
    REGISTER_DEMUXER (YOP,              yop);
    REGISTER_MUXDEMUX(YUV4MPEGPIPE,     yuv4mpegpipe);
356

357 358
    /* image demuxers */
    REGISTER_DEMUXER (IMAGE_BMP_PIPE,        image_bmp_pipe);
359
    REGISTER_DEMUXER (IMAGE_DDS_PIPE,        image_dds_pipe);
360 361
    REGISTER_DEMUXER (IMAGE_DPX_PIPE,        image_dpx_pipe);
    REGISTER_DEMUXER (IMAGE_EXR_PIPE,        image_exr_pipe);
362
    REGISTER_DEMUXER (IMAGE_J2K_PIPE,        image_j2k_pipe);
363
    REGISTER_DEMUXER (IMAGE_JPEG_PIPE,       image_jpeg_pipe);
364
    REGISTER_DEMUXER (IMAGE_JPEGLS_PIPE,     image_jpegls_pipe);
365 366
    REGISTER_DEMUXER (IMAGE_PAM_PIPE,        image_pam_pipe);
    REGISTER_DEMUXER (IMAGE_PBM_PIPE,        image_pbm_pipe);
367
    REGISTER_DEMUXER (IMAGE_PCX_PIPE,        image_pcx_pipe);
368 369
    REGISTER_DEMUXER (IMAGE_PGMYUV_PIPE,     image_pgmyuv_pipe);
    REGISTER_DEMUXER (IMAGE_PGM_PIPE,        image_pgm_pipe);
370 371
    REGISTER_DEMUXER (IMAGE_PICTOR_PIPE,     image_pictor_pipe);
    REGISTER_DEMUXER (IMAGE_PNG_PIPE,        image_png_pipe);
372
    REGISTER_DEMUXER (IMAGE_PPM_PIPE,        image_ppm_pipe);
373
    REGISTER_DEMUXER (IMAGE_PSD_PIPE,        image_psd_pipe);
374
    REGISTER_DEMUXER (IMAGE_QDRAW_PIPE,      image_qdraw_pipe);
375 376 377
    REGISTER_DEMUXER (IMAGE_SGI_PIPE,        image_sgi_pipe);
    REGISTER_DEMUXER (IMAGE_SUNRAST_PIPE,    image_sunrast_pipe);
    REGISTER_DEMUXER (IMAGE_TIFF_PIPE,       image_tiff_pipe);
378
    REGISTER_DEMUXER (IMAGE_WEBP_PIPE,       image_webp_pipe);
379

380
    /* external libraries */
381
    REGISTER_MUXER   (CHROMAPRINT,      chromaprint);
wm4's avatar
wm4 committed
382
    REGISTER_DEMUXER (LIBGME,           libgme);
383 384
    REGISTER_DEMUXER (LIBMODPLUG,       libmodplug);
    REGISTER_MUXDEMUX(LIBNUT,           libnut);
385
    REGISTER_DEMUXER (LIBOPENMPT,       libopenmpt);
386 387

    initialized = 1;
388
}