alldevices.c File Reference
#include "config.h"
#include "avdevice.h"
Include dependency graph for alldevices.c:

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

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

Macro Definition Documentation

#define REGISTER_INDEV (   X,
  x 
)
Value:
{ \
extern AVInputFormat ff_##x##_demuxer; \
if (CONFIG_##X##_INDEV) \
av_register_input_format(&ff_##x##_demuxer); \
}
initialize output if(nPeaks >3)%at least 3 peaks in spectrum for trying to find f0 nf0peaks
Discrete Time axis x
Sampled sinusoid X
void av_register_input_format(AVInputFormat *format)

Definition at line 31 of file alldevices.c.

Referenced by avdevice_register_all().

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

Definition at line 38 of file alldevices.c.

Referenced by avdevice_register_all().

#define REGISTER_OUTDEV (   X,
  x 
)
Value:
{ \
extern AVOutputFormat ff_##x##_muxer; \
if (CONFIG_##X##_OUTDEV) \
av_register_output_format(&ff_##x##_muxer); \
}
initialize output if(nPeaks >3)%at least 3 peaks in spectrum for trying to find f0 nf0peaks
Discrete Time axis x
Sampled sinusoid X
void av_register_output_format(AVOutputFormat *format)

Definition at line 24 of file alldevices.c.

Referenced by avdevice_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 40 of file alldevices.c.

Referenced by main().