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 (ACONVERT, aconvert, af);
00038 REGISTER_FILTER (AFORMAT, aformat, af);
00039 REGISTER_FILTER (ANULL, anull, af);
00040 REGISTER_FILTER (ARESAMPLE, aresample, af);
00041 REGISTER_FILTER (ASHOWINFO, ashowinfo, af);
00042 REGISTER_FILTER (EARWAX, earwax, af);
00043 REGISTER_FILTER (PAN, pan, af);
00044 REGISTER_FILTER (VOLUME, volume, af);
00045
00046 REGISTER_FILTER (ABUFFER, abuffer, asrc);
00047 REGISTER_FILTER (AEVALSRC, aevalsrc, asrc);
00048 REGISTER_FILTER (AMOVIE, amovie, asrc);
00049 REGISTER_FILTER (ANULLSRC, anullsrc, asrc);
00050
00051 REGISTER_FILTER (ABUFFERSINK, abuffersink, asink);
00052 REGISTER_FILTER (ANULLSINK, anullsink, asink);
00053
00054 REGISTER_FILTER (ASS, ass, vf);
00055 REGISTER_FILTER (BLACKFRAME, blackframe, vf);
00056 REGISTER_FILTER (BOXBLUR, boxblur, vf);
00057 REGISTER_FILTER (COPY, copy, vf);
00058 REGISTER_FILTER (CROP, crop, vf);
00059 REGISTER_FILTER (CROPDETECT, cropdetect, vf);
00060 REGISTER_FILTER (DELOGO, delogo, vf);
00061 REGISTER_FILTER (DESHAKE, deshake, vf);
00062 REGISTER_FILTER (DRAWBOX, drawbox, vf);
00063 REGISTER_FILTER (DRAWTEXT, drawtext, vf);
00064 REGISTER_FILTER (FADE, fade, vf);
00065 REGISTER_FILTER (FIELDORDER, fieldorder, vf);
00066 REGISTER_FILTER (FIFO, fifo, vf);
00067 REGISTER_FILTER (FORMAT, format, vf);
00068 REGISTER_FILTER (FREI0R, frei0r, vf);
00069 REGISTER_FILTER (GRADFUN, gradfun, vf);
00070 REGISTER_FILTER (HFLIP, hflip, vf);
00071 REGISTER_FILTER (HQDN3D, hqdn3d, vf);
00072 REGISTER_FILTER (LUT, lut, vf);
00073 REGISTER_FILTER (LUTRGB, lutrgb, vf);
00074 REGISTER_FILTER (LUTYUV, lutyuv, vf);
00075 REGISTER_FILTER (MP, mp, vf);
00076 REGISTER_FILTER (NEGATE, negate, vf);
00077 REGISTER_FILTER (NOFORMAT, noformat, vf);
00078 REGISTER_FILTER (NULL, null, vf);
00079 REGISTER_FILTER (OCV, ocv, vf);
00080 REGISTER_FILTER (OVERLAY, overlay, vf);
00081 REGISTER_FILTER (PAD, pad, vf);
00082 REGISTER_FILTER (PIXDESCTEST, pixdesctest, vf);
00083 REGISTER_FILTER (SCALE, scale, vf);
00084 REGISTER_FILTER (SELECT, select, vf);
00085 REGISTER_FILTER (SETDAR, setdar, vf);
00086 REGISTER_FILTER (SETPTS, setpts, vf);
00087 REGISTER_FILTER (SETSAR, setsar, vf);
00088 REGISTER_FILTER (SETTB, settb, vf);
00089 REGISTER_FILTER (SHOWINFO, showinfo, vf);
00090 REGISTER_FILTER (SLICIFY, slicify, vf);
00091 REGISTER_FILTER (SPLIT, split, vf);
00092 REGISTER_FILTER (TRANSPOSE, transpose, vf);
00093 REGISTER_FILTER (UNSHARP, unsharp, vf);
00094 REGISTER_FILTER (VFLIP, vflip, vf);
00095 REGISTER_FILTER (YADIF, yadif, vf);
00096
00097 REGISTER_FILTER (BUFFER, buffer, vsrc);
00098 REGISTER_FILTER (CELLAUTO, cellauto, vsrc);
00099 REGISTER_FILTER (COLOR, color, vsrc);
00100 REGISTER_FILTER (FREI0R, frei0r_src, vsrc);
00101 REGISTER_FILTER (LIFE, life, vsrc);
00102 REGISTER_FILTER (MANDELBROT, mandelbrot, vsrc);
00103 REGISTER_FILTER (MOVIE, movie, vsrc);
00104 REGISTER_FILTER (MPTESTSRC, mptestsrc, vsrc);
00105 REGISTER_FILTER (NULLSRC, nullsrc, vsrc);
00106 REGISTER_FILTER (RGBTESTSRC, rgbtestsrc, vsrc);
00107 REGISTER_FILTER (TESTSRC, testsrc, vsrc);
00108
00109 REGISTER_FILTER (BUFFERSINK, buffersink, vsink);
00110 REGISTER_FILTER (NULLSINK, nullsink, vsink);
00111 }