FFmpeg
Data Structures | Macros | Functions
qsvvpp.h File Reference
#include <mfx/mfxvideo.h>
#include "avfilter.h"
#include "libavutil/fifo.h"

Go to the source code of this file.

Data Structures

struct  QSVFrame
 
struct  QSVVPPContext
 
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)
 
int ff_qsvvpp_print_iopattern (void *log_ctx, int mfx_iopattern, const char *extra_string)
 
int ff_qsvvpp_print_error (void *log_ctx, mfxStatus err, const char *error_string)
 
int ff_qsvvpp_print_warning (void *log_ctx, mfxStatus err, const char *warning_string)
 

Detailed Description

Intel Quick Sync Video VPP base function

Definition in file qsvvpp.h.

Macro Definition Documentation

◆ FF_INLINK_IDX

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

Definition at line 32 of file qsvvpp.h.

◆ FF_OUTLINK_IDX

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

Definition at line 33 of file qsvvpp.h.

◆ QSV_VERSION_ATLEAST

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

Definition at line 35 of file qsvvpp.h.

◆ QSV_RUNTIME_VERSION_ATLEAST

#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 39 of file qsvvpp.h.

Function Documentation

◆ ff_qsvvpp_create()

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

keep fifo size at least 1. Even when async_depth is 0, fifo is used.

Definition at line 650 of file qsvvpp.c.

Referenced by config_output().

◆ ff_qsvvpp_free()

int ff_qsvvpp_free ( QSVVPPContext **  vpp)

Definition at line 768 of file qsvvpp.c.

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

◆ ff_qsvvpp_filter_frame()

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

Definition at line 793 of file qsvvpp.c.

Referenced by activate(), and process_frame().

◆ ff_qsvvpp_print_iopattern()

int ff_qsvvpp_print_iopattern ( void *  log_ctx,
int  mfx_iopattern,
const char *  extra_string 
)

Definition at line 60 of file qsvvpp.c.

Referenced by ff_qsvvpp_create(), and init_out_session().

◆ ff_qsvvpp_print_error()

int ff_qsvvpp_print_error ( void *  log_ctx,
mfxStatus  err,
const char *  error_string 
)

◆ ff_qsvvpp_print_warning()

int ff_qsvvpp_print_warning ( void *  log_ctx,
mfxStatus  err,
const char *  warning_string 
)