21 #ifndef AVFILTER_FRAMEPOOL_H
22 #define AVFILTER_FRAMEPOOL_H
This structure describes decoded (raw) audio or video data.
reference-counted frame API
void ff_video_frame_pool_uninit(FFVideoFramePool **pool)
Deallocate the video frame pool.
const AVS_VideoInfo int align
static const char * format
refcounted data buffer API
FFVideoFramePool * ff_video_frame_pool_init(AVBufferRef *(*alloc)(int size), int width, int height, enum AVPixelFormat format, int align)
Allocate and initialize a video frame pool.
A reference to a data buffer.
int ff_video_frame_pool_get_config(FFVideoFramePool *pool, int *width, int *height, enum AVPixelFormat *format, int *align)
Get the video frame pool configuration.
AVPixelFormat
Pixel format.
AVFrame * ff_video_frame_pool_get(FFVideoFramePool *pool)
Allocate a new AVFrame, reussing old buffers from the pool when available.