FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
allformats.c File Reference
#include "libavutil/thread.h"
#include "avformat.h"
#include "rtp.h"
#include "rdt.h"
#include "url.h"
#include "version.h"

Go to the source code of this file.

Macros

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

Functions

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

Macro Definition Documentation

#define REGISTER_MUXER (   X,
 
)
Value:
{ \
extern AVOutputFormat ff_##x##_muxer; \
if (CONFIG_##X##_MUXER) \
av_register_output_format(&ff_##x##_muxer); \
}
void av_register_output_format(AVOutputFormat *format)
Definition: format.c:73
if(ret< 0)
Definition: vf_mcdeint.c:279

Definition at line 29 of file allformats.c.

Referenced by register_all().

#define REGISTER_DEMUXER (   X,
 
)
Value:
{ \
extern AVInputFormat ff_##x##_demuxer; \
if (CONFIG_##X##_DEMUXER) \
av_register_input_format(&ff_##x##_demuxer); \
}
void av_register_input_format(AVInputFormat *format)
Definition: format.c:61
if(ret< 0)
Definition: vf_mcdeint.c:279

Definition at line 36 of file allformats.c.

Referenced by register_all().

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

Definition at line 43 of file allformats.c.

Referenced by register_all().

Function Documentation

static void register_all ( void  )
static

Definition at line 45 of file allformats.c.

Referenced by av_register_all().