30 #define REGISTER_HWACCEL(X, x) \
32 extern AVHWAccel ff_##x##_hwaccel; \
33 if (CONFIG_##X##_HWACCEL) \
34 av_register_hwaccel(&ff_##x##_hwaccel); \
37 #define REGISTER_ENCODER(X, x) \
39 extern AVCodec ff_##x##_encoder; \
40 if (CONFIG_##X##_ENCODER) \
41 avcodec_register(&ff_##x##_encoder); \
44 #define REGISTER_DECODER(X, x) \
46 extern AVCodec ff_##x##_decoder; \
47 if (CONFIG_##X##_DECODER) \
48 avcodec_register(&ff_##x##_decoder); \
51 #define REGISTER_ENCDEC(X, x) REGISTER_ENCODER(X, x); REGISTER_DECODER(X, x)
53 #define REGISTER_PARSER(X, x) \
55 extern AVCodecParser ff_##x##_parser; \
56 if (CONFIG_##X##_PARSER) \
57 av_register_codec_parser(&ff_##x##_parser); \
60 #define REGISTER_BSF(X, x) \
62 extern AVBitStreamFilter ff_##x##_bsf; \
63 if (CONFIG_##X##_BSF) \
64 av_register_bitstream_filter(&ff_##x##_bsf); \
69 static int initialized;
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)
#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)