Libav
buffersrc.h
Go to the documentation of this file.
1 /*
2  *
3  * This file is part of Libav.
4  *
5  * Libav is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * Libav is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with Libav; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef AVFILTER_BUFFERSRC_H
21 #define AVFILTER_BUFFERSRC_H
22 
29 #include "avfilter.h"
30 
37 #if FF_API_AVFILTERBUFFER
38 
49 int av_buffersrc_buffer(AVFilterContext *ctx, AVFilterBufferRef *buf);
50 #endif
51 
62 int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame);
63 
80 
85 #endif /* AVFILTER_BUFFERSRC_H */
This structure describes decoded (raw) audio or video data.
Definition: frame.h:135
Main libavfilter public API header.
int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame)
Add a frame to the buffer source.
Definition: buffersrc.c:77
int av_buffersrc_buffer(AVFilterContext *ctx, AVFilterBufferRef *buf)
Definition: buffersrc.c:162
int av_buffersrc_add_frame(AVFilterContext *ctx, AVFrame *frame)
Add a frame to the buffer source.
Definition: buffersrc.c:92
#define attribute_deprecated
Definition: attributes.h:80
An instance of a filter.
Definition: avfilter.h:563