Memory buffer source API. More...
#include "avfilter.h"
Go to the source code of this file.
Functions | |
int | av_buffersrc_buffer (AVFilterContext *s, AVFilterBufferRef *buf) |
Add a buffer to the filtergraph s. | |
int | av_buffersrc_write_frame (AVFilterContext *s, const AVFrame *frame) |
Add a frame to the buffer source. |
Memory buffer source API.
Definition in file buffersrc.h.
int av_buffersrc_buffer | ( | AVFilterContext * | s, |
AVFilterBufferRef * | buf | ||
) |
Add a buffer to the filtergraph s.
buf | buffer containing frame data to be passed down the filtergraph. This function will take ownership of buf, the user must not free it. A NULL buf signals EOF – i.e. no more frames will be sent to this filter. |
Definition at line 128 of file buffersrc.c.
Referenced by decode_audio(), decode_video(), and video_thread().
int av_buffersrc_write_frame | ( | AVFilterContext * | s, |
const AVFrame * | frame | ||
) |
Add a frame to the buffer source.
s | an instance of the buffersrc filter. |
frame | frame to be added. |
Definition at line 72 of file buffersrc.c.
Referenced by decode_video(), and video_thread().