#include "avformat.h"
#include "rtp.h"
#include "rdt.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) |
#define | REGISTER_PROTOCOL(X, x) |
Functions | |
void | av_register_all (void) |
Initializes libavformat and registers all the muxers, demuxers and protocols. |
#define REGISTER_DEMUXER | ( | X, | |||
x | ) |
Value:
{ \ extern AVInputFormat x##_demuxer; \ if(CONFIG_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
Definition at line 29 of file allformats.c.
Referenced by av_register_all().
#define REGISTER_MUXDEMUX | ( | X, | |||
x | ) | REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x) |
#define REGISTER_MUXER | ( | X, | |||
x | ) |
Value:
{ \ extern AVOutputFormat x##_muxer; \ if(CONFIG_##X##_MUXER) av_register_output_format(&x##_muxer); }
Definition at line 25 of file allformats.c.
Referenced by av_register_all().
#define REGISTER_PROTOCOL | ( | X, | |||
x | ) |
Value:
{ \ extern URLProtocol x##_protocol; \ if(CONFIG_##X##_PROTOCOL) av_register_protocol(&x##_protocol); }
Definition at line 35 of file allformats.c.
Referenced by av_register_all().
void av_register_all | ( | void | ) |
Initializes libavformat and registers all the muxers, demuxers and protocols.
If you do not call this function, then you can select exactly which formats you want to support.
Definition at line 39 of file allformats.c.
Referenced by main().