FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
allcodecs.c File Reference

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

#include "config.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "version.h"

Go to the source code of this file.

Macros

#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)
 

Functions

static void register_all (void)
 
void avcodec_register_all (void)
 Register all the codecs, parsers and bitstream filters which were enabled at configuration time. More...
 

Detailed Description

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

Definition in file allcodecs.c.

Macro Definition Documentation

#define REGISTER_HWACCEL (   X,
 
)
Value:
{ \
extern AVHWAccel ff_##x##_hwaccel; \
if (CONFIG_##X##_HWACCEL) \
av_register_hwaccel(&ff_##x##_hwaccel); \
}
if(ret< 0)
Definition: vf_mcdeint.c:282
attribute_deprecated void void av_register_hwaccel(AVHWAccel *hwaccel)
Register the hardware accelerator hwaccel.
Definition: utils.c:3856

Definition at line 32 of file allcodecs.c.

Referenced by register_all().

#define REGISTER_ENCODER (   X,
 
)
Value:
{ \
extern AVCodec ff_##x##_encoder; \
if (CONFIG_##X##_ENCODER) \
avcodec_register(&ff_##x##_encoder); \
}
AVCodec.
Definition: avcodec.h:3681
if(ret< 0)
Definition: vf_mcdeint.c:282
void avcodec_register(AVCodec *codec)
Register the codec codec and initialize libavcodec.
Definition: utils.c:178

Definition at line 39 of file allcodecs.c.

Referenced by register_all().

#define REGISTER_DECODER (   X,
 
)
Value:
{ \
extern AVCodec ff_##x##_decoder; \
if (CONFIG_##X##_DECODER) \
avcodec_register(&ff_##x##_decoder); \
}
AVCodec.
Definition: avcodec.h:3681
if(ret< 0)
Definition: vf_mcdeint.c:282
void avcodec_register(AVCodec *codec)
Register the codec codec and initialize libavcodec.
Definition: utils.c:178

Definition at line 46 of file allcodecs.c.

Referenced by register_all().

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

Definition at line 53 of file allcodecs.c.

Referenced by register_all().

#define REGISTER_PARSER (   X,
 
)
Value:
{ \
extern AVCodecParser ff_##x##_parser; \
if (CONFIG_##X##_PARSER) \
av_register_codec_parser(&ff_##x##_parser); \
}
void av_register_codec_parser(AVCodecParser *parser)
Definition: parser.c:44
if(ret< 0)
Definition: vf_mcdeint.c:282

Definition at line 55 of file allcodecs.c.

Referenced by register_all().

Function Documentation

static void register_all ( void  )
static

Definition at line 62 of file allcodecs.c.

Referenced by avcodec_register_all().