19 #ifndef AVFILTER_BUFFERSINK_H 20 #define AVFILTER_BUFFERSINK_H 53 #define AV_BUFFERSINK_FLAG_PEEK 1 60 #define AV_BUFFERSINK_FLAG_NO_REQUEST 2 119 uint64_t av_buffersink_get_channel_layout (
const AVFilterContext *ctx);
This structure describes decoded (raw) audio or video data.
Definition: frame.h:218
AVBufferSinkParams * av_buffersink_params_alloc(void)
Create an AVBufferSinkParams structure.
Definition: buffersink.c:130
Main libavfilter public API header.
const int * channel_counts
list of allowed channel counts, terminated by -1
Definition: buffersink.h:82
AVABufferSinkParams * av_abuffersink_params_alloc(void)
Create an AVABufferSinkParams structure.
Definition: buffersink.c:141
enum AVSampleFormat * sample_fmts
list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE
Definition: buffersink.h:80
struct AVABufferSinkParams AVABufferSinkParams
Struct to use for initializing an abuffersink context.
int * sample_rates
list of allowed sample rates, terminated by -1
Definition: buffersink.h:84
int av_buffersink_get_frame_flags(AVFilterContext *ctx, AVFrame *frame, int flags)
Get a frame with filtered data from sink and put it in frame.
Definition: buffersink.c:119
Struct to use for initializing an abuffersink context.
Definition: buffersink.h:79
int av_buffersink_get_samples(AVFilterContext *ctx, AVFrame *frame, int nb_samples)
Same as av_buffersink_get_frame(), but with the ability to specify the number of samples read...
Definition: buffersink.c:124
Struct to use for initializing a buffersink context.
Definition: buffersink.h:65
struct AVBufferSinkParams AVBufferSinkParams
Struct to use for initializing a buffersink context.
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
int all_channel_counts
if not 0, accept any channel count or layout
Definition: buffersink.h:83
Rational number (pair of numerator and denominator).
Definition: rational.h:58
AVMediaType
Definition: avutil.h:199
A reference to a data buffer.
Definition: buffer.h:81
enum AVPixelFormat * pixel_fmts
list of allowed pixel formats, terminated by AV_PIX_FMT_NONE
Definition: buffersink.h:66
void av_buffersink_set_frame_size(AVFilterContext *ctx, unsigned frame_size)
Set the frame size for an audio buffer sink.
Definition: buffersink.c:175
An instance of a filter.
Definition: avfilter.h:338
int av_buffersink_get_frame(AVFilterContext *ctx, AVFrame *frame)
Get a frame with filtered data from sink and put it in frame.
Definition: buffersink.c:67
const int64_t * channel_layouts
list of allowed channel layouts, terminated by -1
Definition: buffersink.h:81
AVPixelFormat
Pixel format.
Definition: pixfmt.h:60