28 #define REGISTER_FILTER(X, x, y) \
30 extern AVFilter ff_##y##_##x; \
31 if (CONFIG_##X##_FILTER) \
32 avfilter_register(&ff_##y##_##x); \
35 #define REGISTER_FILTER_UNCONDITIONAL(x) \
37 extern AVFilter ff_##x; \
38 avfilter_register(&ff_##x); \
static void dilation(uint8_t *dst, const uint8_t *p1, int width, int threshold, const uint8_t *coordinates[], int coord)
static void copy(const float *p1, float *p2, const int length)
static int noise(AVBSFContext *ctx, AVPacket *out)
Main libavfilter public API header.
static void sobel(int w, int h, uint16_t *dst, int dst_linesize, int8_t *dir, int dir_linesize, const uint8_t *src, int src_linesize)
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)
#define THRESHOLD(r, x, t)
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 const char signature[]
static uint32_t reverse(uint32_t num, int bits)
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)
#define ROTATE(DEF, L, N, C, A)
static void fade(uint8_t *dst, ptrdiff_t dst_linesize, const uint8_t *src, ptrdiff_t src_linesize, int width, int height, int alpha, int beta)
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)
static void register_all(void)
#define REGISTER_FILTER_UNCONDITIONAL(x)
static int ff_thread_once(char *control, void(*routine)(void))