#include "avcodec.h"
Go to the source code of this file.
Defines | |
#define | REGISTER_HWACCEL(X, x) |
#define | REGISTER_ENCODER(X, x) |
#define | REGISTER_DECODER(X, x) |
#define | REGISTER_ENCDEC(X, x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x) |
#define | REGISTER_PARSER(X, x) |
#define | REGISTER_BSF(X, x) |
Functions | |
void | avcodec_register_all (void) |
Register all the codecs, parsers and bitstream filters which were enabled at configuration time. |
Definition in file allcodecs.c.
#define REGISTER_BSF | ( | X, | |||
x | ) |
Value:
{ \ extern AVBitStreamFilter x##_bsf; \ if(CONFIG_##X##_BSF) av_register_bitstream_filter(&x##_bsf); }
Definition at line 44 of file allcodecs.c.
Referenced by avcodec_register_all().
#define REGISTER_DECODER | ( | X, | |||
x | ) |
Value:
{ \ extern AVCodec x##_decoder; \ if(CONFIG_##X##_DECODER) avcodec_register(&x##_decoder); }
Definition at line 36 of file allcodecs.c.
Referenced by avcodec_register_all().
#define REGISTER_ENCDEC | ( | X, | |||
x | ) | REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x) |
#define REGISTER_ENCODER | ( | X, | |||
x | ) |
Value:
{ \ extern AVCodec x##_encoder; \ if(CONFIG_##X##_ENCODER) avcodec_register(&x##_encoder); }
Definition at line 33 of file allcodecs.c.
Referenced by avcodec_register_all().
#define REGISTER_HWACCEL | ( | X, | |||
x | ) |
Value:
{ \ extern AVHWAccel x##_hwaccel; \ if(CONFIG_##X##_HWACCEL) av_register_hwaccel(&x##_hwaccel); }
Definition at line 29 of file allcodecs.c.
Referenced by avcodec_register_all().
#define REGISTER_PARSER | ( | X, | |||
x | ) |
Value:
{ \ extern AVCodecParser x##_parser; \ if(CONFIG_##X##_PARSER) av_register_codec_parser(&x##_parser); }
Definition at line 41 of file allcodecs.c.
Referenced by avcodec_register_all().
void avcodec_register_all | ( | void | ) |
Register all the codecs, parsers and bitstream filters which were enabled at configuration time.
If you do not call this function you can select exactly which formats you want to support, by using the individual registration functions.
Definition at line 48 of file allcodecs.c.
Referenced by av_register_all(), and main().