libavformat/allformats.c File Reference

#include "avformat.h"
#include "rtp.h"
#include "rdt.h"
#include "url.h"

Go to the source code of this file.

Defines

#define REGISTER_MUXER(X, x)
#define REGISTER_DEMUXER(X, x)
#define REGISTER_MUXDEMUX(X, x)   REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
#define REGISTER_PROTOCOL(X, x)

Functions

void av_register_all (void)
 Initialize libavformat and register all the muxers, demuxers and protocols.


Define Documentation

#define REGISTER_DEMUXER ( X,
 ) 

Value:

{ \
    extern AVInputFormat ff_##x##_demuxer; \
    if(CONFIG_##X##_DEMUXER) av_register_input_format(&ff_##x##_demuxer); }

Definition at line 30 of file allformats.c.

Referenced by av_register_all().

#define REGISTER_MUXDEMUX ( X,
 )     REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)

Definition at line 34 of file allformats.c.

Referenced by av_register_all().

#define REGISTER_MUXER ( X,
 ) 

Value:

{ \
    extern AVOutputFormat ff_##x##_muxer; \
    if(CONFIG_##X##_MUXER) av_register_output_format(&ff_##x##_muxer); }

Definition at line 26 of file allformats.c.

Referenced by av_register_all().

#define REGISTER_PROTOCOL ( X,
 ) 

Value:

{ \
    extern URLProtocol ff_##x##_protocol; \
    if(CONFIG_##X##_PROTOCOL) ffurl_register_protocol(&ff_##x##_protocol, sizeof(ff_##x##_protocol)); }

Definition at line 36 of file allformats.c.

Referenced by av_register_all().


Function Documentation

void av_register_all ( void   ) 

Initialize libavformat and register all the muxers, demuxers and protocols.

If you do not call this function, then you can select exactly which formats you want to support.

See also:
av_register_input_format()

av_register_output_format()

av_register_protocol()

Definition at line 40 of file allformats.c.

Referenced by main(), and movie_init().


Generated on Fri Oct 26 02:39:48 2012 for FFmpeg by  doxygen 1.5.8