32 #define REGISTER_HWACCEL(X, x) \
34 extern AVHWAccel ff_##x##_hwaccel; \
35 if (CONFIG_##X##_HWACCEL) \
36 av_register_hwaccel(&ff_##x##_hwaccel); \
39 #define REGISTER_ENCODER(X, x) \
41 extern AVCodec ff_##x##_encoder; \
42 if (CONFIG_##X##_ENCODER) \
43 avcodec_register(&ff_##x##_encoder); \
46 #define REGISTER_DECODER(X, x) \
48 extern AVCodec ff_##x##_decoder; \
49 if (CONFIG_##X##_DECODER) \
50 avcodec_register(&ff_##x##_decoder); \
53 #define REGISTER_ENCDEC(X, x) REGISTER_ENCODER(X, x); REGISTER_DECODER(X, x)
55 #define REGISTER_PARSER(X, x) \
57 extern AVCodecParser ff_##x##_parser; \
58 if (CONFIG_##X##_PARSER) \
59 av_register_codec_parser(&ff_##x##_parser); \
681 #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.
static void register_all(void)
#define REGISTER_ENCDEC(X, x)
static int ff_thread_once(char *control, void(*routine)(void))