libavdevice/alldevices.c File Reference

#include "config.h"
#include "libavformat/avformat.h"
#include "avdevice.h"

Go to the source code of this file.

Defines

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

Functions

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


Define Documentation

#define REGISTER_INDEV ( X,
 ) 

Value:

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

Definition at line 28 of file alldevices.c.

Referenced by avdevice_register_all().

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

Definition at line 31 of file alldevices.c.

Referenced by avdevice_register_all().

#define REGISTER_OUTDEV ( X,
 ) 

Value:

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

Definition at line 25 of file alldevices.c.


Function Documentation

void avdevice_register_all ( void   ) 

Initialize libavdevice and register all the input and output devices.

Warning:
This function is not thread safe.

Definition at line 33 of file alldevices.c.

Referenced by main().


Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8