31 #define REGISTER_HWACCEL(X, x) \
33 extern AVHWAccel ff_##x##_hwaccel; \
34 if (CONFIG_##X##_HWACCEL) \
35 av_register_hwaccel(&ff_##x##_hwaccel); \
38 #define REGISTER_ENCODER(X, x) \
40 extern AVCodec ff_##x##_encoder; \
41 if (CONFIG_##X##_ENCODER) \
42 avcodec_register(&ff_##x##_encoder); \
45 #define REGISTER_DECODER(X, x) \
47 extern AVCodec ff_##x##_decoder; \
48 if (CONFIG_##X##_DECODER) \
49 avcodec_register(&ff_##x##_decoder); \
52 #define REGISTER_ENCDEC(X, x) REGISTER_ENCODER(X, x); REGISTER_DECODER(X, x)
54 #define REGISTER_PARSER(X, x) \
56 extern AVCodecParser ff_##x##_parser; \
57 if (CONFIG_##X##_PARSER) \
58 av_register_codec_parser(&ff_##x##_parser); \
63 static int initialized;
632 #if FF_API_NVENC_OLD_NAME
structure containing the whole split ASS data
void avcodec_register_all(void)
Register all the codecs, parsers and bitstream filters which were enabled at configuration time...
#define REGISTER_HWACCEL(X, x)
Libavcodec version macros.
#define REGISTER_ENCODER(X, x)
#define REGISTER_DECODER(X, x)
#define REGISTER_PARSER(X, x)
Libavcodec external API header.
#define REGISTER_ENCDEC(X, x)