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 (AMERGE, amerge, af);
00040 REGISTER_FILTER (AMIX, amix, af);
00041 REGISTER_FILTER (ANULL, anull, af);
00042 REGISTER_FILTER (ARESAMPLE, aresample, af);
00043 REGISTER_FILTER (ASHOWINFO, ashowinfo, af);
00044 REGISTER_FILTER (ASPLIT, asplit, af);
00045 REGISTER_FILTER (ASTREAMSYNC, astreamsync, af);
00046 REGISTER_FILTER (ASYNCTS, asyncts, af);
00047 REGISTER_FILTER (EARWAX, earwax, af);
00048 REGISTER_FILTER (PAN, pan, af);
00049 REGISTER_FILTER (SILENCEDETECT, silencedetect, af);
00050 REGISTER_FILTER (VOLUME, volume, af);
00051 REGISTER_FILTER (RESAMPLE, resample, af);
00052
00053 REGISTER_FILTER (AEVALSRC, aevalsrc, asrc);
00054 REGISTER_FILTER (AMOVIE, amovie, asrc);
00055 REGISTER_FILTER (ANULLSRC, anullsrc, asrc);
00056
00057 REGISTER_FILTER (ABUFFERSINK, abuffersink, asink);
00058 REGISTER_FILTER (ANULLSINK, anullsink, asink);
00059
00060 REGISTER_FILTER (ASS, ass, vf);
00061 REGISTER_FILTER (BBOX, bbox, vf);
00062 REGISTER_FILTER (BLACKDETECT, blackdetect, vf);
00063 REGISTER_FILTER (BLACKFRAME, blackframe, vf);
00064 REGISTER_FILTER (BOXBLUR, boxblur, vf);
00065 REGISTER_FILTER (COLORMATRIX, colormatrix, vf);
00066 REGISTER_FILTER (COPY, copy, vf);
00067 REGISTER_FILTER (CROP, crop, vf);
00068 REGISTER_FILTER (CROPDETECT, cropdetect, vf);
00069 REGISTER_FILTER (DELOGO, delogo, vf);
00070 REGISTER_FILTER (DESHAKE, deshake, vf);
00071 REGISTER_FILTER (DRAWBOX, drawbox, vf);
00072 REGISTER_FILTER (DRAWTEXT, drawtext, vf);
00073 REGISTER_FILTER (FADE, fade, vf);
00074 REGISTER_FILTER (FIELDORDER, fieldorder, vf);
00075 REGISTER_FILTER (FIFO, fifo, vf);
00076 REGISTER_FILTER (FORMAT, format, vf);
00077 REGISTER_FILTER (FPS, fps, vf);
00078 REGISTER_FILTER (FREI0R, frei0r, vf);
00079 REGISTER_FILTER (GRADFUN, gradfun, vf);
00080 REGISTER_FILTER (HFLIP, hflip, vf);
00081 REGISTER_FILTER (HQDN3D, hqdn3d, vf);
00082 REGISTER_FILTER (IDET, idet, vf);
00083 REGISTER_FILTER (LUT, lut, vf);
00084 REGISTER_FILTER (LUTRGB, lutrgb, vf);
00085 REGISTER_FILTER (LUTYUV, lutyuv, vf);
00086 REGISTER_FILTER (MP, mp, vf);
00087 REGISTER_FILTER (NEGATE, negate, vf);
00088 REGISTER_FILTER (NOFORMAT, noformat, vf);
00089 REGISTER_FILTER (NULL, null, vf);
00090 REGISTER_FILTER (OCV, ocv, vf);
00091 REGISTER_FILTER (OVERLAY, overlay, vf);
00092 REGISTER_FILTER (PAD, pad, vf);
00093 REGISTER_FILTER (PIXDESCTEST, pixdesctest, vf);
00094 REGISTER_FILTER (REMOVELOGO, removelogo, vf);
00095 REGISTER_FILTER (SELECT, select, vf);
00096 REGISTER_FILTER (SETDAR, setdar, vf);
00097 REGISTER_FILTER (SETFIELD, setfield, vf);
00098 REGISTER_FILTER (SETPTS, setpts, vf);
00099 REGISTER_FILTER (SETSAR, setsar, vf);
00100 REGISTER_FILTER (SETTB, settb, vf);
00101 REGISTER_FILTER (SHOWINFO, showinfo, vf);
00102 REGISTER_FILTER (SLICIFY, slicify, vf);
00103 REGISTER_FILTER (SPLIT, split, vf);
00104 REGISTER_FILTER (SUPER2XSAI, super2xsai, vf);
00105 REGISTER_FILTER (SWAPUV, swapuv, vf);
00106 REGISTER_FILTER (THUMBNAIL, thumbnail, vf);
00107 REGISTER_FILTER (TILE, tile, vf);
00108 REGISTER_FILTER (TINTERLACE, tinterlace, vf);
00109 REGISTER_FILTER (TRANSPOSE, transpose, vf);
00110 REGISTER_FILTER (UNSHARP, unsharp, vf);
00111 REGISTER_FILTER (VFLIP, vflip, vf);
00112 REGISTER_FILTER (YADIF, yadif, vf);
00113
00114 REGISTER_FILTER (CELLAUTO, cellauto, vsrc);
00115 REGISTER_FILTER (COLOR, color, vsrc);
00116 REGISTER_FILTER (FREI0R, frei0r_src, vsrc);
00117 REGISTER_FILTER (LIFE, life, vsrc);
00118 REGISTER_FILTER (MANDELBROT, mandelbrot, vsrc);
00119 REGISTER_FILTER (MOVIE, movie, vsrc);
00120 REGISTER_FILTER (MPTESTSRC, mptestsrc, vsrc);
00121 REGISTER_FILTER (NULLSRC, nullsrc, vsrc);
00122 REGISTER_FILTER (RGBTESTSRC, rgbtestsrc, vsrc);
00123 REGISTER_FILTER (TESTSRC, testsrc, vsrc);
00124
00125 REGISTER_FILTER (BUFFERSINK, buffersink, vsink);
00126 REGISTER_FILTER (NULLSINK, nullsink, vsink);
00127
00128
00129
00130 {
00131 extern AVFilter avfilter_vsrc_buffer;
00132 avfilter_register(&avfilter_vsrc_buffer);
00133 }
00134 {
00135 extern AVFilter avfilter_asrc_abuffer;
00136 avfilter_register(&avfilter_asrc_abuffer);
00137 }
00138 {
00139 extern AVFilter avfilter_vsink_buffer;
00140 avfilter_register(&avfilter_vsink_buffer);
00141 }
00142 {
00143 extern AVFilter avfilter_asink_abuffer;
00144 avfilter_register(&avfilter_asink_abuffer);
00145 }
00146 {
00147 extern AVFilter avfilter_vf_scale;
00148 avfilter_register(&avfilter_vf_scale);
00149 }
00150 }