FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
qsvvpp.h File Reference

Intel Quick Sync Video VPP base function. More...

#include <mfx/mfxvideo.h>
#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  QSVVPPCrop
 
struct  QSVVPPParam
 

Macros

#define FF_INLINK_IDX(link)   ((int)((link)->dstpad - (link)->dst->input_pads))
 
#define FF_OUTLINK_IDX(link)   ((int)((link)->srcpad - (link)->src->output_pads))
 
#define QSV_VERSION_ATLEAST(MAJOR, MINOR)
 
#define QSV_RUNTIME_VERSION_ATLEAST(MFX_VERSION, MAJOR, MINOR)
 

Functions

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)
 

Detailed Description

Intel Quick Sync Video VPP base function.

Definition in file qsvvpp.h.

Macro Definition Documentation

#define FF_INLINK_IDX (   link)    ((int)((link)->dstpad - (link)->dst->input_pads))

Definition at line 31 of file qsvvpp.h.

#define FF_OUTLINK_IDX (   link)    ((int)((link)->srcpad - (link)->src->output_pads))

Definition at line 32 of file qsvvpp.h.

#define QSV_VERSION_ATLEAST (   MAJOR,
  MINOR 
)
Value:
(MFX_VERSION_MAJOR > (MAJOR) || \
MFX_VERSION_MAJOR == (MAJOR) && MFX_VERSION_MINOR >= (MINOR))

Definition at line 34 of file qsvvpp.h.

#define QSV_RUNTIME_VERSION_ATLEAST (   MFX_VERSION,
  MAJOR,
  MINOR 
)
Value:
(MFX_VERSION.Major > (MAJOR)) || \
(MFX_VERSION.Major == (MAJOR) && MFX_VERSION.Minor >= (MINOR))

Definition at line 38 of file qsvvpp.h.

Function Documentation

int ff_qsvvpp_create ( AVFilterContext avctx,
QSVVPPContext **  vpp,
QSVVPPParam param 
)

Definition at line 559 of file qsvvpp.c.

Referenced by config_output().

int ff_qsvvpp_free ( QSVVPPContext **  vpp)

Definition at line 662 of file qsvvpp.c.

Referenced by ff_qsvvpp_create(), overlay_qsv_uninit(), and vpp_uninit().

int ff_qsvvpp_filter_frame ( QSVVPPContext vpp,
AVFilterLink inlink,
AVFrame frame 
)

Definition at line 686 of file qsvvpp.c.

Referenced by filter_frame(), and process_frame().