Libav 0.7.1
|
00001 /* 00002 * filter registration 00003 * Copyright (c) 2008 Vitor Sessak 00004 * 00005 * This file is part of Libav. 00006 * 00007 * Libav is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2.1 of the License, or (at your option) any later version. 00011 * 00012 * Libav is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with Libav; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 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 (NOFORMAT, noformat, vf); 00058 REGISTER_FILTER (NULL, null, vf); 00059 REGISTER_FILTER (OCV, ocv, vf); 00060 REGISTER_FILTER (OVERLAY, overlay, vf); 00061 REGISTER_FILTER (PAD, pad, vf); 00062 REGISTER_FILTER (PIXDESCTEST, pixdesctest, vf); 00063 REGISTER_FILTER (SCALE, scale, vf); 00064 REGISTER_FILTER (SETDAR, setdar, vf); 00065 REGISTER_FILTER (SETPTS, setpts, vf); 00066 REGISTER_FILTER (SETSAR, setsar, vf); 00067 REGISTER_FILTER (SETTB, settb, vf); 00068 REGISTER_FILTER (SLICIFY, slicify, vf); 00069 REGISTER_FILTER (TRANSPOSE, transpose, vf); 00070 REGISTER_FILTER (UNSHARP, unsharp, vf); 00071 REGISTER_FILTER (VFLIP, vflip, vf); 00072 REGISTER_FILTER (YADIF, yadif, vf); 00073 00074 REGISTER_FILTER (BUFFER, buffer, vsrc); 00075 REGISTER_FILTER (COLOR, color, vsrc); 00076 REGISTER_FILTER (FREI0R, frei0r_src, vsrc); 00077 REGISTER_FILTER (MOVIE, movie, vsrc); 00078 REGISTER_FILTER (NULLSRC, nullsrc, vsrc); 00079 00080 REGISTER_FILTER (NULLSINK, nullsink, vsink); 00081 }