FFmpeg
|
#include <string.h>
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "vaapi_vpp.h"
Go to the source code of this file.
Data Structures | |
struct | DenoiseVAAPIContext |
struct | SharpnessVAAPIContext |
Macros | |
#define | DENOISE_MIN 0 |
#define | DENOISE_MAX 64 |
#define | DENOISE_DEFAULT 0 |
#define | SHARPNESS_MIN 0 |
#define | SHARPNESS_MAX 64 |
#define | SHARPNESS_DEFAULT 44 |
#define | DOFFSET(x) offsetof(DenoiseVAAPIContext, x) |
#define | FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM) |
#define | SOFFSET(x) offsetof(SharpnessVAAPIContext, x) |
Functions | |
static float | map (int x, int in_min, int in_max, float out_min, float out_max) |
static int | denoise_vaapi_build_filter_params (AVFilterContext *avctx) |
static int | sharpness_vaapi_build_filter_params (AVFilterContext *avctx) |
static int | misc_vaapi_filter_frame (AVFilterLink *inlink, AVFrame *input_frame) |
static av_cold int | denoise_vaapi_init (AVFilterContext *avctx) |
static av_cold int | sharpness_vaapi_init (AVFilterContext *avctx) |
AVFILTER_DEFINE_CLASS (denoise_vaapi) | |
AVFILTER_DEFINE_CLASS (sharpness_vaapi) | |
Variables | |
static const AVOption | denoise_vaapi_options [] |
static const AVOption | sharpness_vaapi_options [] |
static const AVFilterPad | misc_vaapi_inputs [] |
static const AVFilterPad | misc_vaapi_outputs [] |
const AVFilter | ff_vf_denoise_vaapi |
const AVFilter | ff_vf_sharpness_vaapi |
#define DENOISE_MIN 0 |
Definition at line 29 of file vf_misc_vaapi.c.
#define DENOISE_MAX 64 |
Definition at line 30 of file vf_misc_vaapi.c.
#define DENOISE_DEFAULT 0 |
Definition at line 31 of file vf_misc_vaapi.c.
#define SHARPNESS_MIN 0 |
Definition at line 34 of file vf_misc_vaapi.c.
#define SHARPNESS_MAX 64 |
Definition at line 35 of file vf_misc_vaapi.c.
#define SHARPNESS_DEFAULT 44 |
Definition at line 36 of file vf_misc_vaapi.c.
#define DOFFSET | ( | x | ) | offsetof(DenoiseVAAPIContext, x) |
Definition at line 200 of file vf_misc_vaapi.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM) |
Definition at line 201 of file vf_misc_vaapi.c.
#define SOFFSET | ( | x | ) | offsetof(SharpnessVAAPIContext, x) |
Definition at line 208 of file vf_misc_vaapi.c.
Definition at line 50 of file vf_misc_vaapi.c.
Referenced by denoise_vaapi_build_filter_params(), and sharpness_vaapi_build_filter_params().
|
static |
Definition at line 60 of file vf_misc_vaapi.c.
Referenced by denoise_vaapi_init().
|
static |
Definition at line 90 of file vf_misc_vaapi.c.
Referenced by sharpness_vaapi_init().
|
static |
Definition at line 121 of file vf_misc_vaapi.c.
|
static |
Definition at line 176 of file vf_misc_vaapi.c.
|
static |
Definition at line 188 of file vf_misc_vaapi.c.
AVFILTER_DEFINE_CLASS | ( | denoise_vaapi | ) |
AVFILTER_DEFINE_CLASS | ( | sharpness_vaapi | ) |
|
static |
Definition at line 202 of file vf_misc_vaapi.c.
|
static |
Definition at line 209 of file vf_misc_vaapi.c.
|
static |
Definition at line 218 of file vf_misc_vaapi.c.
|
static |
Definition at line 227 of file vf_misc_vaapi.c.
const AVFilter ff_vf_denoise_vaapi |
Definition at line 235 of file vf_misc_vaapi.c.
const AVFilter ff_vf_sharpness_vaapi |
Definition at line 248 of file vf_misc_vaapi.c.