20 #ifndef AVFILTER_BUFFERSRC_H
21 #define AVFILTER_BUFFERSRC_H
28 #include "libavcodec/avcodec.h"
38 #if FF_API_AVFILTERBUFFER
42 AV_BUFFERSRC_FLAG_NO_COPY = 2,
69 AVFilterBufferRef *picref,
int flags);
80 #if FF_API_AVFILTERBUFFER
This structure describes decoded (raw) audio or video data.
unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src)
Get the number of failed requests.
int av_buffersrc_add_frame(AVFilterContext *ctx, AVFrame *frame)
Add a frame to the buffer source.
Immediately push the frame to the output.
#define attribute_deprecated
Do not check for format changes.
int av_buffersrc_add_ref(AVFilterContext *buffer_src, AVFilterBufferRef *picref, int flags)
Add buffer data in picref to buffer_src.
int av_buffersrc_write_frame(AVFilterContext *s, const AVFrame *frame)
Add a frame to the buffer source.
Keep a reference to the frame.
Main libavfilter public API header.
int av_buffersrc_add_frame_flags(AVFilterContext *buffer_src, AVFrame *frame, int flags)
Add a frame to the buffer source.