#include "libavutil/audio_fifo.h"
#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/mathematics.h"
#include "audio.h"
#include "avfilter.h"
#include "buffersink.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | BufferSinkContext |
Functions | |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | start_frame (AVFilterLink *link, AVFilterBufferRef *buf) |
int | ff_buffersink_read_compat (AVFilterContext *ctx, AVFilterBufferRef **buf) |
static int | read_from_fifo (AVFilterContext *ctx, AVFilterBufferRef **pbuf, int nb_samples) |
int | ff_buffersink_read_samples_compat (AVFilterContext *ctx, AVFilterBufferRef **pbuf, int nb_samples) |
Variables | |
AVFilter | avfilter_vsink_buffer |
AVFilter | avfilter_asink_abuffer |
Definition in file buffersink.c.
int ff_buffersink_read_compat | ( | AVFilterContext * | ctx, | |
AVFilterBufferRef ** | buf | |||
) |
int ff_buffersink_read_samples_compat | ( | AVFilterContext * | ctx, | |
AVFilterBufferRef ** | pbuf, | |||
int | nb_samples | |||
) |
static int read_from_fifo | ( | AVFilterContext * | ctx, | |
AVFilterBufferRef ** | pbuf, | |||
int | nb_samples | |||
) | [static] |
static int start_frame | ( | AVFilterLink * | link, | |
AVFilterBufferRef * | buf | |||
) | [static] |
Definition at line 51 of file buffersink.c.
static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 43 of file buffersink.c.
Initial value:
{ .name = "abuffersink_old", .description = NULL_IF_CONFIG_SMALL("Buffer audio frames, and make them available to the end of the filter graph."), .priv_size = sizeof(BufferSinkContext), .uninit = uninit, .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO, .filter_samples = start_frame, .min_perms = AV_PERM_READ, .needs_fifo = 1 }, { .name = NULL }}, .outputs = NULL, }
Definition at line 162 of file buffersink.c.
Referenced by avfilter_register_all().
Initial value:
{ .name = "buffersink_old", .description = NULL_IF_CONFIG_SMALL("Buffer video frames, and make them available to the end of the filter graph."), .priv_size = sizeof(BufferSinkContext), .uninit = uninit, .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .start_frame = start_frame, .min_perms = AV_PERM_READ, .needs_fifo = 1 }, { .name = NULL }}, .outputs = NULL, }
Definition at line 143 of file buffersink.c.
Referenced by avfilter_register_all().