24 #ifndef AVFILTER_QSVVPP_H
25 #define AVFILTER_QSVVPP_H
27 #include <mfx/mfxvideo.h>
31 #define FF_INLINK_IDX(link) ((int)((link)->dstpad - (link)->dst->input_pads))
32 #define FF_OUTLINK_IDX(link) ((int)((link)->srcpad - (link)->src->output_pads))
34 #define QSV_VERSION_ATLEAST(MAJOR, MINOR) \
35 (MFX_VERSION_MAJOR > (MAJOR) || \
36 MFX_VERSION_MAJOR == (MAJOR) && MFX_VERSION_MINOR >= (MINOR))
38 #define QSV_RUNTIME_VERSION_ATLEAST(MFX_VERSION, MAJOR, MINOR) \
39 (MFX_VERSION.Major > (MAJOR)) || \
40 (MFX_VERSION.Major == (MAJOR) && MFX_VERSION.Minor >= (MINOR))
This structure describes decoded (raw) audio or video data.
Main libavfilter public API header.
int ff_qsvvpp_create(AVFilterContext *avctx, QSVVPPContext **vpp, QSVVPPParam *param)
int ff_qsvvpp_free(QSVVPPContext **vpp)
int ff_qsvvpp_filter_frame(QSVVPPContext *vpp, AVFilterLink *inlink, AVFrame *frame)
A link between two filters.
int(* filter_frame)(AVFilterLink *outlink, AVFrame *frame)
enum AVPixelFormat out_sw_format
AVPixelFormat
Pixel format.