diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-03-01 12:33:56 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-03-01 12:36:35 +0100 |
commit | 84f5583078699e96b040f4f41b39720b683326d0 (patch) | |
tree | 532da412bf05fa65e142911890ac94324b9531e1 /libavfilter/unsharp.h | |
parent | e1974622e1e07bee1f6324be60bd0a97f1811b3f (diff) | |
download | ffmpeg-84f5583078699e96b040f4f41b39720b683326d0.tar.gz |
avfilter/vf_unsharp: add support for alpha formats
Diffstat (limited to 'libavfilter/unsharp.h')
-rw-r--r-- | libavfilter/unsharp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavfilter/unsharp.h b/libavfilter/unsharp.h index 253e32dd19..0da6f05036 100644 --- a/libavfilter/unsharp.h +++ b/libavfilter/unsharp.h @@ -44,14 +44,17 @@ typedef struct UnsharpFilterParam { typedef struct UnsharpContext { const AVClass *class; int lmsize_x, lmsize_y, cmsize_x, cmsize_y; + int amsize_x, amsize_y; float lamount, camount; + float aamount; UnsharpFilterParam luma; ///< luma parameters (width, height, amount) UnsharpFilterParam chroma; ///< chroma parameters (width, height, amount) + UnsharpFilterParam alpha; ///< alpha parameters (width, height, amount) int hsub, vsub; + int nb_planes; int bitdepth; int bps; int nb_threads; - int opencl; int (* apply_unsharp)(AVFilterContext *ctx, AVFrame *in, AVFrame *out); int (* unsharp_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); } UnsharpContext; |