Libav
|
Files | |
file | buffersrc.h |
Memory buffer source API. | |
file | buffersrc.h |
Memory buffer source API. | |
Functions | |
int | av_buffersrc_write_frame (AVFilterContext *ctx, const AVFrame *frame) |
Add a frame to the buffer source. More... | |
int | av_buffersrc_add_frame (AVFilterContext *ctx, AVFrame *frame) |
Add a frame to the buffer source. More... | |
int av_buffersrc_write_frame | ( | AVFilterContext * | ctx, |
const AVFrame * | frame | ||
) |
Add a frame to the buffer source.
ctx | an instance of the buffersrc filter |
frame | frame to be added. If the frame is reference counted, this function will make a new reference to it. Otherwise the frame data will be copied. |
Definition at line 77 of file buffersrc.c.
int av_buffersrc_add_frame | ( | AVFilterContext * | ctx, |
AVFrame * | frame | ||
) |
Add a frame to the buffer source.
ctx | an instance of the buffersrc filter |
frame | frame to be added. If the frame is reference counted, this function will take ownership of the reference(s) and reset the frame. Otherwise the frame data will be copied. If this function returns an error, the input frame is not touched. |
Definition at line 92 of file buffersrc.c.
Referenced by av_buffersrc_buffer(), av_buffersrc_write_frame(), decode_audio(), decode_video(), main(), and video_thread().