25 #define REGISTER_OUTDEV(X, x) \
27 extern AVOutputFormat ff_##x##_muxer; \
28 if (CONFIG_##X##_OUTDEV) \
29 av_register_output_format(&ff_##x##_muxer); \
32 #define REGISTER_INDEV(X, x) \
34 extern AVInputFormat ff_##x##_demuxer; \
35 if (CONFIG_##X##_INDEV) \
36 av_register_input_format(&ff_##x##_demuxer); \
39 #define REGISTER_INOUTDEV(X, x) REGISTER_OUTDEV(X, x); REGISTER_INDEV(X, x)
Main libavdevice API header.
#define REGISTER_OUTDEV(X, x)
GDI Device Demuxer context.
static void register_all(void)
void avdevice_register_all(void)
Initialize libavdevice and register all the input and output devices.
#define REGISTER_INDEV(X, x)
#define REGISTER_INOUTDEV(X, x)
static int ff_thread_once(char *control, void(*routine)(void))