#include "avfilter.h"
#include "internal.h"
#include "avcodec.h"
#include "vsrc_buffer.h"
#include "libavutil/imgutils.h"
Go to the source code of this file.
Data Structures | |
struct | BufferSourceContext |
Functions | |
int | av_vsrc_buffer_add_video_buffer_ref (AVFilterContext *buffer_filter, AVFilterBufferRef *picref, int flags) |
Add video buffer data in picref to buffer_src. | |
static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *link) |
static int | request_frame (AVFilterLink *link) |
static int | poll_frame (AVFilterLink *link) |
Variables | |
AVFilter | avfilter_vsrc_buffer |
Definition in file vsrc_buffer.c.
int av_vsrc_buffer_add_video_buffer_ref | ( | AVFilterContext * | buffer_src, | |
AVFilterBufferRef * | picref, | |||
int | flags | |||
) |
Add video buffer data in picref to buffer_src.
buffer_src | pointer to a buffer source context | |
flags | a combination of AV_VSRC_BUF_FLAG_* flags |
Definition at line 41 of file vsrc_buffer.c.
static int config_props | ( | AVFilterLink * | link | ) | [static] |
Definition at line 168 of file vsrc_buffer.c.
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
Definition at line 134 of file vsrc_buffer.c.
static int poll_frame | ( | AVFilterLink * | link | ) | [static] |
Definition at line 199 of file vsrc_buffer.c.
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 159 of file vsrc_buffer.c.
static int request_frame | ( | AVFilterLink * | link | ) | [static] |
Definition at line 180 of file vsrc_buffer.c.
Initial value:
{ .name = "buffer", .description = NULL_IF_CONFIG_SMALL("Buffer video frames, and make them accessible to the filterchain."), .priv_size = sizeof(BufferSourceContext), .query_formats = query_formats, .init = init, .inputs = (const AVFilterPad[]) {{ .name = NULL }}, .outputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .request_frame = request_frame, .poll_frame = poll_frame, .config_props = config_props, }, { .name = NULL}}, }
Definition at line 205 of file vsrc_buffer.c.