|
Libav
|
memory buffer source filter More...
#include <float.h>#include "libavutil/channel_layout.h"#include "libavutil/common.h"#include "libavutil/fifo.h"#include "libavutil/frame.h"#include "libavutil/imgutils.h"#include "libavutil/internal.h"#include "libavutil/opt.h"#include "libavutil/samplefmt.h"#include "audio.h"#include "avfilter.h"#include "buffersrc.h"#include "formats.h"#include "internal.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | BufferSourceContext |
Macros | |
| #define | CHECK_VIDEO_PARAM_CHANGE(s, c, width, height, format) |
| #define | CHECK_AUDIO_PARAM_CHANGE(s, c, srate, ch_layout, format) |
| #define | WRAP_PLANE(ref_out, data, data_size) |
| #define | OFFSET(x) offsetof(BufferSourceContext, x) |
| #define | A AV_OPT_FLAG_AUDIO_PARAM |
| #define | V AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
| int attribute_align_arg | av_buffersrc_write_frame (AVFilterContext *ctx, const AVFrame *frame) |
| Add a frame to the buffer source. More... | |
| int attribute_align_arg | av_buffersrc_add_frame (AVFilterContext *ctx, AVFrame *frame) |
| Add a frame to the buffer source. More... | |
| static FF_DISABLE_DEPRECATION_WARNINGS void | compat_free_buffer (void *opaque, uint8_t *data) |
| static void | compat_unref_buffer (void *opaque, uint8_t *data) |
| int | av_buffersrc_buffer (AVFilterContext *ctx, AVFilterBufferRef *buf) |
| static FF_ENABLE_DEPRECATION_WARNINGS av_cold int | init_video (AVFilterContext *ctx) |
| static av_cold int | init_audio (AVFilterContext *ctx) |
| static av_cold void | uninit (AVFilterContext *ctx) |
| 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 | |
| static const AVOption | video_options [] |
| static const AVClass | buffer_class |
| static const AVOption | audio_options [] |
| static const AVClass | abuffer_class |
| static const AVFilterPad | avfilter_vsrc_buffer_outputs [] |
| AVFilter | ff_vsrc_buffer |
| static const AVFilterPad | avfilter_asrc_abuffer_outputs [] |
| AVFilter | ff_asrc_abuffer |
memory buffer source filter
Definition in file buffersrc.c.
Definition at line 64 of file buffersrc.c.
Referenced by av_buffersrc_add_frame().
| #define CHECK_AUDIO_PARAM_CHANGE | ( | s, | |
| c, | |||
| srate, | |||
| ch_layout, | |||
| format | |||
| ) |
Definition at line 70 of file buffersrc.c.
Referenced by av_buffersrc_add_frame().
| #define WRAP_PLANE | ( | ref_out, | |
| data, | |||
| data_size | |||
| ) |
Referenced by av_buffersrc_buffer().
| #define OFFSET | ( | x | ) | offsetof(BufferSourceContext, x) |
Definition at line 280 of file buffersrc.c.
| #define A AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 281 of file buffersrc.c.
| #define V AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 282 of file buffersrc.c.
|
static |
Definition at line 150 of file buffersrc.c.
Referenced by av_buffersrc_buffer().
Definition at line 156 of file buffersrc.c.
| int av_buffersrc_buffer | ( | AVFilterContext * | ctx, |
| AVFilterBufferRef * | buf | ||
| ) |
Definition at line 162 of file buffersrc.c.
|
static |
Definition at line 255 of file buffersrc.c.
|
static |
Definition at line 323 of file buffersrc.c.
|
static |
Definition at line 355 of file buffersrc.c.
|
static |
Definition at line 367 of file buffersrc.c.
|
static |
Definition at line 396 of file buffersrc.c.
|
static |
Definition at line 418 of file buffersrc.c.
|
static |
Definition at line 436 of file buffersrc.c.
|
static |
Definition at line 284 of file buffersrc.c.
|
static |
Definition at line 301 of file buffersrc.c.
|
static |
|
static |
Definition at line 316 of file buffersrc.c.
|
static |
Definition at line 445 of file buffersrc.c.
| AVFilter ff_vsrc_buffer |
Definition at line 456 of file buffersrc.c.
|
static |
Definition at line 470 of file buffersrc.c.
| AVFilter ff_asrc_abuffer |
Definition at line 481 of file buffersrc.c.
1.8.9.1