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;
static void dilation(uint8_t *dst, const uint8_t *p1, int width, int threshold, const uint8_t *coordinates[], int coord)
static int noise(AVBSFContext *ctx, AVPacket *out)
Main libavfilter public API header.
structure containing the whole split ASS data
static void drawtext(AVFrame *pic, int x, int y, const char *txt, int o)
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 const int remap[16]
static const char * format
static void erosion(uint8_t *dst, const uint8_t *p1, int width, int threshold, const uint8_t *coordinates[], int coord)
GLsizei GLboolean transpose
static void interleave(short *output, short **input, int channels, int samples)
#define REGISTER_FILTER_UNCONDITIONAL(x)