FFmpeg
|
#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/mem.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 [] |
AVFilter | ff_vf_denoise_vaapi |
AVFilter | ff_vf_sharpness_vaapi |
#define DENOISE_MIN 0 |
Definition at line 31 of file vf_misc_vaapi.c.
Referenced by denoise_vaapi_build_filter_params().
#define DENOISE_MAX 64 |
Definition at line 32 of file vf_misc_vaapi.c.
Referenced by denoise_vaapi_build_filter_params().
#define DENOISE_DEFAULT 0 |
Definition at line 33 of file vf_misc_vaapi.c.
#define SHARPNESS_MIN 0 |
Definition at line 36 of file vf_misc_vaapi.c.
Referenced by sharpness_vaapi_build_filter_params().
#define SHARPNESS_MAX 64 |
Definition at line 37 of file vf_misc_vaapi.c.
Referenced by sharpness_vaapi_build_filter_params().
#define SHARPNESS_DEFAULT 44 |
Definition at line 38 of file vf_misc_vaapi.c.
#define DOFFSET | ( | x | ) | offsetof(DenoiseVAAPIContext, x) |
Definition at line 228 of file vf_misc_vaapi.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM) |
Definition at line 229 of file vf_misc_vaapi.c.
#define SOFFSET | ( | x | ) | offsetof(SharpnessVAAPIContext, x) |
Definition at line 236 of file vf_misc_vaapi.c.
Definition at line 52 of file vf_misc_vaapi.c.
Referenced by denoise_vaapi_build_filter_params(), and sharpness_vaapi_build_filter_params().
|
static |
Definition at line 62 of file vf_misc_vaapi.c.
Referenced by denoise_vaapi_init().
|
static |
Definition at line 93 of file vf_misc_vaapi.c.
Referenced by sharpness_vaapi_init().
|
static |
Definition at line 126 of file vf_misc_vaapi.c.
|
static |
Definition at line 204 of file vf_misc_vaapi.c.
|
static |
Definition at line 216 of file vf_misc_vaapi.c.
AVFILTER_DEFINE_CLASS | ( | denoise_vaapi | ) |
AVFILTER_DEFINE_CLASS | ( | sharpness_vaapi | ) |
|
static |
Definition at line 230 of file vf_misc_vaapi.c.
|
static |
Definition at line 237 of file vf_misc_vaapi.c.
|
static |
Definition at line 246 of file vf_misc_vaapi.c.
|
static |
Definition at line 256 of file vf_misc_vaapi.c.
AVFilter ff_vf_denoise_vaapi |
Definition at line 265 of file vf_misc_vaapi.c.
AVFilter ff_vf_sharpness_vaapi |
Definition at line 278 of file vf_misc_vaapi.c.