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_MUXER(X, x)
#define REGISTER_DEMUXER(X, x)
#define REGISTER_MUXDEMUX(X, x)   REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)

Functions

unsigned avdevice_version (void)
 Returns the LIBAVDEVICE_VERSION_INT constant.
void avdevice_register_all (void)
 Initialize libavdevice and register all the input and output devices.


Define Documentation

#define REGISTER_DEMUXER ( X,
 ) 

Value:

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

Definition at line 33 of file alldevices.c.

Referenced by av_register_all(), and avdevice_register_all().

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

Definition at line 36 of file alldevices.c.

Referenced by av_register_all(), and avdevice_register_all().

#define REGISTER_MUXER ( X,
 ) 

Value:

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

Definition at line 30 of file alldevices.c.

Referenced by av_register_all().


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 38 of file alldevices.c.

Referenced by main().

unsigned avdevice_version ( void   ) 

Returns the LIBAVDEVICE_VERSION_INT constant.

Definition at line 25 of file alldevices.c.


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8