00001 /* 00002 * This file is part of FFmpeg. 00003 * 00004 * FFmpeg is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * FFmpeg is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with FFmpeg; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00017 */ 00018 00019 #ifndef AVFILTER_INTERNAL_H 00020 #define AVFILTER_INTERNAL_H 00021 00027 #include "avfilter.h" 00028 #include "avfiltergraph.h" 00029 00030 #define POOL_SIZE 32 00031 typedef struct AVFilterPool { 00032 AVFilterBufferRef *pic[POOL_SIZE]; 00033 int count; 00034 } AVFilterPool; 00035 00044 int ff_avfilter_graph_check_validity(AVFilterGraph *graphctx, AVClass *log_ctx); 00045 00051 int ff_avfilter_graph_config_links(AVFilterGraph *graphctx, AVClass *log_ctx); 00052 00056 int ff_avfilter_graph_config_formats(AVFilterGraph *graphctx, AVClass *log_ctx); 00057 00059 void ff_avfilter_default_free_buffer(AVFilterBuffer *buf); 00060 00061 #endif /* AVFILTER_INTERNAL_H */