00001 /* 00002 * 00003 * This file is part of Libav. 00004 * 00005 * Libav is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * Libav is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with Libav; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00018 */ 00019 00020 #ifndef AVFILTER_BUFFERSRC_H 00021 #define AVFILTER_BUFFERSRC_H 00022 00028 #include "avfilter.h" 00029 00030 enum { 00031 00035 AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT = 1, 00036 00040 AV_BUFFERSRC_FLAG_NO_COPY = 2, 00041 00042 }; 00043 00053 int av_buffersrc_add_ref(AVFilterContext *buffer_src, 00054 AVFilterBufferRef *picref, int flags); 00055 00063 unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src); 00064 00072 int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf); 00073 00083 int av_buffersrc_write_frame(AVFilterContext *s, AVFrame *frame); 00084 00085 #endif /* AVFILTER_BUFFERSRC_H */