00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include "avfilter.h"
00023
00024
00025 #define REGISTER_FILTER(X,x,y) { \
00026 extern AVFilter avfilter_##y##_##x ; \
00027 if(CONFIG_##X##_FILTER ) avfilter_register(&avfilter_##y##_##x ); }
00028
00029 void avfilter_register_all(void)
00030 {
00031 static int initialized;
00032
00033 if (initialized)
00034 return;
00035 initialized = 1;
00036
00037 REGISTER_FILTER (ANULL, anull, af);
00038
00039 REGISTER_FILTER (ANULLSRC, anullsrc, asrc);
00040
00041 REGISTER_FILTER (ANULLSINK, anullsink, asink);
00042
00043 REGISTER_FILTER (BLACKFRAME, blackframe, vf);
00044 REGISTER_FILTER (COPY, copy, vf);
00045 REGISTER_FILTER (CROP, crop, vf);
00046 REGISTER_FILTER (CROPDETECT, cropdetect, vf);
00047 REGISTER_FILTER (DRAWBOX, drawbox, vf);
00048 REGISTER_FILTER (DRAWTEXT, drawtext, vf);
00049 REGISTER_FILTER (FADE, fade, vf);
00050 REGISTER_FILTER (FIELDORDER, fieldorder, vf);
00051 REGISTER_FILTER (FIFO, fifo, vf);
00052 REGISTER_FILTER (FORMAT, format, vf);
00053 REGISTER_FILTER (FREI0R, frei0r, vf);
00054 REGISTER_FILTER (GRADFUN, gradfun, vf);
00055 REGISTER_FILTER (HFLIP, hflip, vf);
00056 REGISTER_FILTER (HQDN3D, hqdn3d, vf);
00057 REGISTER_FILTER (LUT, lut, vf);
00058 REGISTER_FILTER (LUTRGB, lutrgb, vf);
00059 REGISTER_FILTER (LUTYUV, lutyuv, vf);
00060 REGISTER_FILTER (MP, mp, vf);
00061 REGISTER_FILTER (NEGATE, negate, vf);
00062 REGISTER_FILTER (NOFORMAT, noformat, vf);
00063 REGISTER_FILTER (NULL, null, vf);
00064 REGISTER_FILTER (OCV, ocv, vf);
00065 REGISTER_FILTER (OVERLAY, overlay, vf);
00066 REGISTER_FILTER (PAD, pad, vf);
00067 REGISTER_FILTER (PIXDESCTEST, pixdesctest, vf);
00068 REGISTER_FILTER (SCALE, scale, vf);
00069 REGISTER_FILTER (SELECT, select, vf);
00070 REGISTER_FILTER (SETDAR, setdar, vf);
00071 REGISTER_FILTER (SETPTS, setpts, vf);
00072 REGISTER_FILTER (SETSAR, setsar, vf);
00073 REGISTER_FILTER (SETTB, settb, vf);
00074 REGISTER_FILTER (SHOWINFO, showinfo, vf);
00075 REGISTER_FILTER (SLICIFY, slicify, vf);
00076 REGISTER_FILTER (SPLIT, split, vf);
00077 REGISTER_FILTER (TRANSPOSE, transpose, vf);
00078 REGISTER_FILTER (UNSHARP, unsharp, vf);
00079 REGISTER_FILTER (VFLIP, vflip, vf);
00080 REGISTER_FILTER (YADIF, yadif, vf);
00081
00082 REGISTER_FILTER (BUFFER, buffer, vsrc);
00083 REGISTER_FILTER (COLOR, color, vsrc);
00084 REGISTER_FILTER (FREI0R, frei0r_src, vsrc);
00085 REGISTER_FILTER (MOVIE, movie, vsrc);
00086 REGISTER_FILTER (NULLSRC, nullsrc, vsrc);
00087
00088 REGISTER_FILTER (BUFFER, buffersink, vsink);
00089 REGISTER_FILTER (NULLSINK, nullsink, vsink);
00090 }