FFmpeg
|
#include <nppi.h>
#include <nppi_filtering_functions.h>
#include "internal.h"
#include "libavutil/pixdesc.h"
#include "libavutil/cuda_check.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
#include "libavutil/opt.h"
Go to the source code of this file.
Data Structures | |
struct | NPPSharpenContext |
Macros | |
#define | CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, device_hwctx->internal->cuda_dl, x) |
#define | OFFSET(x) offsetof(NPPSharpenContext, x) |
#define | FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Functions | |
static int | nppsharpen_init (AVFilterContext *ctx) |
static int | nppsharpen_config (AVFilterContext *ctx, int width, int height) |
static void | nppsharpen_uninit (AVFilterContext *ctx) |
static int | nppsharpen_config_props (AVFilterLink *outlink) |
static int | nppsharpen_sharpen (AVFilterContext *ctx, AVFrame *out, AVFrame *in) |
static int | nppsharpen_filter_frame (AVFilterLink *link, AVFrame *in) |
Variables | |
static enum AVPixelFormat | supported_formats [] |
static const AVOption | options [] |
static const AVClass | nppsharpen_class |
static const AVFilterPad | nppsharpen_inputs [] |
static const AVFilterPad | nppsharpen_outputs [] |
const AVFilter | ff_vf_sharpen_npp |
NPP sharpen video filter
Definition in file vf_sharpen_npp.c.
#define CHECK_CU | ( | x | ) | FF_CUDA_CHECK_DL(ctx, device_hwctx->internal->cuda_dl, x) |
Definition at line 34 of file vf_sharpen_npp.c.
#define OFFSET | ( | x | ) | offsetof(NPPSharpenContext, x) |
Definition at line 228 of file vf_sharpen_npp.c.
#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 229 of file vf_sharpen_npp.c.
|
static |
Definition at line 51 of file vf_sharpen_npp.c.
|
static |
Definition at line 71 of file vf_sharpen_npp.c.
Referenced by nppsharpen_config_props().
|
static |
Definition at line 125 of file vf_sharpen_npp.c.
|
static |
Definition at line 134 of file vf_sharpen_npp.c.
|
static |
Definition at line 153 of file vf_sharpen_npp.c.
Referenced by nppsharpen_filter_frame().
|
static |
Definition at line 177 of file vf_sharpen_npp.c.
|
static |
Definition at line 36 of file vf_sharpen_npp.c.
Referenced by nppsharpen_config().
|
static |
Definition at line 230 of file vf_sharpen_npp.c.
|
static |
Definition at line 236 of file vf_sharpen_npp.c.
|
static |
Definition at line 243 of file vf_sharpen_npp.c.
|
static |
Definition at line 249 of file vf_sharpen_npp.c.
const AVFilter ff_vf_sharpen_npp |
Definition at line 255 of file vf_sharpen_npp.c.