FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
alldevices.c File Reference
#include "config.h"
#include "libavutil/thread.h"
#include "avdevice.h"

Go to the source code of this file.

Macros

#define REGISTER_OUTDEV(X, x)
 
#define REGISTER_INDEV(X, x)
 
#define REGISTER_INOUTDEV(X, x)   REGISTER_OUTDEV(X, x); REGISTER_INDEV(X, x)
 

Functions

static void register_all (void)
 
void avdevice_register_all (void)
 Initialize libavdevice and register all the input and output devices. More...
 

Macro Definition Documentation

#define REGISTER_OUTDEV (   X,
 
)
Value:
{ \
extern AVOutputFormat ff_##x##_muxer; \
if (CONFIG_##X##_OUTDEV) \
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 25 of file alldevices.c.

Referenced by register_all().

#define REGISTER_INDEV (   X,
 
)
Value:
{ \
extern AVInputFormat ff_##x##_demuxer; \
if (CONFIG_##X##_INDEV) \
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 32 of file alldevices.c.

Referenced by register_all().

#define REGISTER_INOUTDEV (   X,
 
)    REGISTER_OUTDEV(X, x); REGISTER_INDEV(X, x)

Definition at line 39 of file alldevices.c.

Referenced by register_all().

Function Documentation

static void register_all ( void  )
static

Definition at line 41 of file alldevices.c.

Referenced by avdevice_register_all().