static AVFrame * get_video_buffer(AVFilterLink *inlink, int w, int h)
This structure describes decoded (raw) audio or video data.
Main libavfilter public API header.
memory handling functions
AVFrame * ff_null_get_video_buffer(AVFilterLink *link, int w, int h)
AVFrame * ff_get_video_buffer(AVFilterLink *link, int w, int h)
Request a picture buffer with a specific set of permissions.
AVFilterPad * dstpad
input pad on the dest filter
void ff_dlog_link(void *ctx, AVFilterLink *link, int end)
AVFrame * av_frame_alloc(void)
Allocate an AVFrame and set its fields to default values.
A link between two filters.
int width
width and height of the video frame
void av_frame_free(AVFrame **frame)
Free the frame and any dynamically allocated objects in it, e.g.
AVFrame *(* get_video_buffer)(AVFilterLink *link, int w, int h)
Callback function to get a video buffer.
int format
agreed upon media format
int format
format of the frame, -1 if unknown or unset Values correspond to enum AVPixelFormat for video frames...
refcounted data buffer API
AVFilterLink ** outputs
array of pointers to output links
int av_frame_get_buffer(AVFrame *frame, int align)
Allocate new buffer(s) for audio or video data.
AVFrame * ff_default_get_video_buffer(AVFilterLink *link, int w, int h)
AVFilterContext * dst
dest filter
#define FF_DPRINTF_START(ctx, func)