libavcodec/allcodecs.c File Reference

Provide registration of all codecs, parsers and bitstream filters for libavcodec. More...

#include "avcodec.h"
#include "config.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.


Detailed Description

Provide registration of all codecs, parsers and bitstream filters for libavcodec.

Definition in file allcodecs.c.


Define Documentation

#define REGISTER_BSF ( X,
 ) 

Value:

{ \
          extern AVBitStreamFilter ff_##x##_bsf; \
          if(CONFIG_##X##_BSF)     av_register_bitstream_filter(&ff_##x##_bsf); }

Definition at line 45 of file allcodecs.c.

Referenced by avcodec_register_all().

#define REGISTER_DECODER ( X,
 ) 

Value:

{ \
          extern AVCodec ff_##x##_decoder; \
          if(CONFIG_##X##_DECODER)  avcodec_register(&ff_##x##_decoder); }

Definition at line 37 of file allcodecs.c.

Referenced by avcodec_register_all().

#define REGISTER_ENCDEC ( X,
 )     REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x)

Definition at line 40 of file allcodecs.c.

Referenced by avcodec_register_all().

#define REGISTER_ENCODER ( X,
 ) 

Value:

{ \
          extern AVCodec ff_##x##_encoder; \
          if(CONFIG_##X##_ENCODER)  avcodec_register(&ff_##x##_encoder); }

Definition at line 34 of file allcodecs.c.

Referenced by avcodec_register_all().

#define REGISTER_HWACCEL ( X,
 ) 

Value:

{ \
          extern AVHWAccel ff_##x##_hwaccel; \
          if(CONFIG_##X##_HWACCEL) av_register_hwaccel(&ff_##x##_hwaccel); }

Definition at line 30 of file allcodecs.c.

Referenced by avcodec_register_all().

#define REGISTER_PARSER ( X,
 ) 

Value:

{ \
          extern AVCodecParser ff_##x##_parser; \
          if(CONFIG_##X##_PARSER)  av_register_codec_parser(&ff_##x##_parser); }

Definition at line 42 of file allcodecs.c.

Referenced by avcodec_register_all().


Generated on Fri Oct 26 02:50:03 2012 for FFmpeg by  doxygen 1.5.8