|
FFmpeg
|
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"Classes | |
| struct | BufferSourceContext |
Macros | |
| #define | CHECK_VIDEO_PARAM_CHANGE(s, c, width, height, format) |
| #define | CHECK_AUDIO_PARAM_CHANGE(s, c, srate, ch_layout, ch_count, format) |
| #define | OFFSET(x) offsetof(BufferSourceContext, x) |
| #define | A AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM |
| #define | V AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Typedefs | |
| typedef struct BufferSourceContext | BufferSourceContext |
Functions | |
| AVBufferSrcParameters * | av_buffersrc_parameters_alloc (void) |
| Allocate a new AVBufferSrcParameters instance. More... | |
| int | av_buffersrc_parameters_set (AVFilterContext *ctx, AVBufferSrcParameters *param) |
| Initialize the buffersrc or abuffersrc filter with the provided parameters. More... | |
| 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... | |
| int attribute_align_arg | av_buffersrc_add_frame_flags (AVFilterContext *ctx, AVFrame *frame, int flags) |
| Add a frame to the buffer source. More... | |
| int | av_buffersrc_close (AVFilterContext *ctx, int64_t pts, unsigned flags) |
| Close the buffer source after EOF. More... | |
| unsigned | av_buffersrc_get_nb_failed_requests (AVFilterContext *buffer_src) |
| Get the number of failed requests. More... | |
| AVFILTER_DEFINE_CLASS (buffer) | |
| AVFILTER_DEFINE_CLASS (abuffer) | |
Variables | |
| AVFilter | ff_vsrc_buffer |
| AVFilter | ff_asrc_abuffer |
memory buffer source filter
| #define CHECK_AUDIO_PARAM_CHANGE | ( | s, | |
| c, | |||
| srate, | |||
| ch_layout, | |||
| ch_count, | |||
| format | |||
| ) |
| #define CHECK_VIDEO_PARAM_CHANGE | ( | s, | |
| c, | |||
| width, | |||
| height, | |||
| format | |||
| ) |
| AVFilter ff_asrc_abuffer |
| AVFilter ff_vsrc_buffer |
1.8.12