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); \
61 #define REGISTER_BSF(X, x) \
63 extern AVBitStreamFilter ff_##x##_bsf; \
64 if (CONFIG_##X##_BSF) \
65 av_register_bitstream_filter(&ff_##x##_bsf); \
70 static int initialized;
492 #if FF_API_VIMA_DECODER
616 REGISTER_BSF(MPEG4_UNPACK_BFRAMES, mpeg4_unpack_bframes);
structure containing the whole split ASS data
static int text2movsub(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
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)
Libavcodec external API header.
#define REGISTER_DECODER(X, x)
#define REGISTER_PARSER(X, x)
static int noise(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
#define REGISTER_BSF(X, x)
static int mov2textsub(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
#define REGISTER_ENCDEC(X, x)