27 #define REGISTER_FILTER(X, x, y) \
29 extern AVFilter ff_##y##_##x; \
30 if (CONFIG_##X##_FILTER) \
31 avfilter_register(&ff_##y##_##x); \
34 #define REGISTER_FILTER_UNCONDITIONAL(x) \
36 extern AVFilter ff_##x; \
37 avfilter_register(&ff_##x); \
42 static int initialized;
292 #if FF_API_AVFILTERBUFFER
static void dilation(uint8_t *dst, const uint8_t *p1, int width, int threshold, const uint8_t *coordinates[], int coord)
Main libavfilter public API header.
structure containing the whole split ASS data
static av_always_inline void interleave(IDWTELEM *dst, IDWTELEM *src0, IDWTELEM *src1, int w2, int add, int shift)
static void super2xsai(AVFilterContext *ctx, uint8_t *src, int src_linesize, uint8_t *dst, int dst_linesize, int width, int height)
static int resample(ResampleContext *c, void *dst, const void *src, int *consumed, int src_size, int dst_size, int update_ctx, int nearest_neighbour)
static void deflate(uint8_t *dst, const uint8_t *p1, int width, int threshold, const uint8_t *coordinates[], int coord)
static double psnr(double d)
#define SPLIT(dst, sf, n)
void avfilter_register_all(void)
Initialize the filter system.
static void inflate(uint8_t *dst, const uint8_t *p1, int width, int threshold, const uint8_t *coordinates[], int coord)
static void copy(LZOContext *c, int cnt)
Copies bytes from input to output buffer with checking.
static void fade(uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int width, int height, int alpha, int beta)
#define ROTATE(DEF, L, N, C, A)
static char * split(char *message, char delim)
#define REGISTER_FILTER(X, x, y)
static void cover_rect(CoverContext *cover, AVFrame *in, int offx, int offy)
void ff_opencl_register_filter_kernel_code_all(void)
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)
static void erosion(uint8_t *dst, const uint8_t *p1, int width, int threshold, const uint8_t *coordinates[], int coord)
GLsizei GLboolean transpose
#define REGISTER_FILTER_UNCONDITIONAL(x)
static void vectorscope(VectorscopeContext *s, AVFrame *in, AVFrame *out, int pd)
static void drawtext(AVFrame *pic, int x, int y, const char *txt)