FFmpeg 5.1.6
Macros | Functions
buffersink.h File Reference

memory buffer sink API for audio and video More...

#include "avfilter.h"

Go to the source code of this file.

Macros

#define AV_BUFFERSINK_FLAG_PEEK   1
 Tell av_buffersink_get_buffer_ref() to read video/samples buffer reference, but not remove it from the buffer. More...
 
#define AV_BUFFERSINK_FLAG_NO_REQUEST   2
 Tell av_buffersink_get_buffer_ref() not to request a frame from its input. More...
 

Functions

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. More...
 
void av_buffersink_set_frame_size (AVFilterContext *ctx, unsigned frame_size)
 Set the frame size for an audio buffer sink. More...
 
enum AVMediaType av_buffersink_get_type (const AVFilterContext *ctx)
 
AVRational av_buffersink_get_time_base (const AVFilterContext *ctx)
 
int av_buffersink_get_format (const AVFilterContext *ctx)
 
AVRational av_buffersink_get_frame_rate (const AVFilterContext *ctx)
 
int av_buffersink_get_w (const AVFilterContext *ctx)
 
int av_buffersink_get_h (const AVFilterContext *ctx)
 
AVRational av_buffersink_get_sample_aspect_ratio (const AVFilterContext *ctx)
 
int av_buffersink_get_channels (const AVFilterContext *ctx)
 
int av_buffersink_get_ch_layout (const AVFilterContext *ctx, AVChannelLayout *ch_layout)
 
int av_buffersink_get_sample_rate (const AVFilterContext *ctx)
 
AVBufferRefav_buffersink_get_hw_frames_ctx (const AVFilterContext *ctx)
 
int av_buffersink_get_frame (AVFilterContext *ctx, AVFrame *frame)
 Get a frame with filtered data from sink and put it in frame. More...
 
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. More...
 

Detailed Description

memory buffer sink API for audio and video

Definition in file buffersink.h.