19 #ifndef AVFILTER_BUFFERSINK_H
20 #define AVFILTER_BUFFERSINK_H
29 #if FF_API_AVFILTERBUFFER
42 AVFilterBufferRef **bufref,
int flags);
103 #define AV_BUFFERSINK_FLAG_PEEK 1
110 #define AV_BUFFERSINK_FLAG_NO_REQUEST 2
131 const int64_t *channel_layouts;
132 const int *channel_counts;
133 int all_channel_counts;
int av_buffersink_get_frame(AVFilterContext *ctx, AVFrame *frame)
Get a frame with filtered data from sink and put it in frame.
This structure describes decoded (raw) audio or video data.
AVBufferSinkParams * av_buffersink_params_alloc(void)
Create an AVBufferSinkParams structure.
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...
AVRational av_buffersink_get_frame_rate(AVFilterContext *ctx)
Get the frame rate of the input.
static const uint8_t frame_size[4]
int attribute_align_arg av_buffersink_poll_frame(AVFilterContext *ctx)
#define attribute_deprecated
AVPixelFormat
Pixel format.
static const int sample_rates[]
AVABufferSinkParams * av_abuffersink_params_alloc(void)
Create an AVABufferSinkParams structure.
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.
Struct to use for initializing an abuffersink context.
Struct to use for initializing a buffersink context.
Main libavfilter public API header.
AVSampleFormat
Audio Sample Formats.
void av_buffersink_set_frame_size(AVFilterContext *ctx, unsigned frame_size)
Set the frame size for an audio buffer sink.
rational number numerator/denominator
static enum AVSampleFormat sample_fmts[]