|
FFmpeg
|
Hardware accelerated common filters based on Intel Quick Sync Video VPP. More...
#include <float.h>#include "config_components.h"#include "libavutil/opt.h"#include "libavutil/eval.h"#include "libavutil/hwcontext.h"#include "libavutil/hwcontext_qsv.h"#include "libavutil/pixdesc.h"#include "libavutil/mathematics.h"#include "libavutil/mastering_display_metadata.h"#include "formats.h"#include "avfilter.h"#include "filters.h"#include "qsvvpp.h"#include "transpose.h"Go to the source code of this file.
Data Structures | |
| struct | VPPContext |
Macros | |
| #define | OFFSET(x) |
| #define | FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM) |
| #define | ENH_FILTERS_COUNT (8) |
| #define | PASS_EXPR(e, s) |
| #define | CALC_EXPR(e, v, i, d) |
| #define | STRING_OPTION(var_name, func_name, default_value) |
| #define | INIT_MFX_EXTBUF(extbuf, id) |
| #define | SET_MFX_PARAM_FIELD(extbuf, field, value) |
| #define | DEFINE_QSV_FILTER(x, sn, ln, fmts) |
Enumerations | |
| enum | var_name { VAR_IW , VAR_IN_W , VAR_IH , VAR_IN_H , VAR_OW , VAR_OUT_W , VAR_W , VAR_OH , VAR_OUT_H , VAR_H , VAR_CW , VAR_CH , VAR_CX , VAR_CY , VAR_A , VAR_DAR , VAR_SAR , VAR_VARS_NB } |
Functions | |
| static int | eval_expr (AVFilterContext *ctx) |
| static av_cold int | vpp_preinit (AVFilterContext *ctx) |
| static av_cold int | vpp_init (AVFilterContext *ctx) |
| static int | config_input (AVFilterLink *inlink) |
| static mfxStatus | get_mfx_version (const AVFilterContext *ctx, mfxVersion *mfx_version) |
| static int | vpp_set_frame_ext_params (AVFilterContext *ctx, const AVFrame *in, AVFrame *out, QSVVPPFrameParam *fp) |
| static int | config_output (AVFilterLink *outlink) |
| static int | activate (AVFilterContext *ctx) |
| static av_cold void | vpp_uninit (AVFilterContext *ctx) |
Variables | |
| static const char *const | var_names [] |
| static const AVFilterPad | vpp_inputs [] |
| static const AVFilterPad | vpp_outputs [] |
Hardware accelerated common filters based on Intel Quick Sync Video VPP.
Definition in file vf_vpp_qsv.c.
| #define OFFSET | ( | x | ) |
Definition at line 43 of file vf_vpp_qsv.c.
| #define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM) |
Definition at line 44 of file vf_vpp_qsv.c.
| #define ENH_FILTERS_COUNT (8) |
Definition at line 47 of file vf_vpp_qsv.c.
Referenced by config_output().
| #define PASS_EXPR | ( | e, | |
| s ) |
Referenced by eval_expr().
| #define CALC_EXPR | ( | e, | |
| v, | |||
| i, | |||
| d ) |
Referenced by eval_expr().
| #define STRING_OPTION | ( | var_name, | |
| func_name, | |||
| default_value ) |
Referenced by vpp_init().
| #define INIT_MFX_EXTBUF | ( | extbuf, | |
| id ) |
Referenced by config_output().
| #define SET_MFX_PARAM_FIELD | ( | extbuf, | |
| field, | |||
| value ) |
Referenced by config_output().
| #define DEFINE_QSV_FILTER | ( | x, | |
| sn, | |||
| ln, | |||
| fmts ) |
Definition at line 828 of file vf_vpp_qsv.c.
| enum var_name |
| Enumerator | |
|---|---|
| VAR_IW | |
| VAR_IN_W | |
| VAR_IH | |
| VAR_IN_H | |
| VAR_OW | |
| VAR_OUT_W | |
| VAR_W | |
| VAR_OH | |
| VAR_OUT_H | |
| VAR_H | |
| VAR_CW | |
| VAR_CH | |
| VAR_CX | |
| VAR_CY | |
| VAR_A | |
| VAR_DAR | |
| VAR_SAR | |
| VAR_VARS_NB | |
Definition at line 141 of file vf_vpp_qsv.c.
|
static |
Definition at line 155 of file vf_vpp_qsv.c.
Referenced by config_input().
|
static |
Definition at line 240 of file vf_vpp_qsv.c.
|
static |
Definition at line 260 of file vf_vpp_qsv.c.
|
static |
Definition at line 295 of file vf_vpp_qsv.c.
|
static |
Definition at line 365 of file vf_vpp_qsv.c.
Referenced by config_output().
|
static |
Definition at line 391 of file vf_vpp_qsv.c.
Referenced by config_output().
|
static |
Definition at line 525 of file vf_vpp_qsv.c.
|
static |
Definition at line 729 of file vf_vpp_qsv.c.
|
static |
Definition at line 806 of file vf_vpp_qsv.c.
|
static |
Definition at line 127 of file vf_vpp_qsv.c.
|
static |
Definition at line 811 of file vf_vpp_qsv.c.
|
static |
Definition at line 820 of file vf_vpp_qsv.c.