memory buffer sink API for video More...
#include "avfilter.h"
Go to the source code of this file.
Defines | |
#define | AV_VSINK_BUF_FLAG_PEEK 1 |
Tell av_vsink_buffer_get_video_buffer_ref() to read the picref, but not remove it from the buffer. | |
Functions | |
int | av_vsink_buffer_get_video_buffer_ref (AVFilterContext *buffer_sink, AVFilterBufferRef **picref, int flags) |
Get a video buffer data from buffer_sink and put it in picref. |
memory buffer sink API for video
Definition in file vsink_buffer.h.
#define AV_VSINK_BUF_FLAG_PEEK 1 |
Tell av_vsink_buffer_get_video_buffer_ref() to read the picref, but not remove it from the buffer.
This is useful if you need only to read the picref, without to fetch it.
Definition at line 34 of file vsink_buffer.h.
int av_vsink_buffer_get_video_buffer_ref | ( | AVFilterContext * | buffer_sink, | |
AVFilterBufferRef ** | picref, | |||
int | flags | |||
) |
Get a video buffer data from buffer_sink and put it in picref.
buffer_sink | pointer to a buffer sink context | |
flags | a combination of AV_VSINK_BUF_FLAG_* flags |
Definition at line 73 of file vsink_buffer.c.