History

avfilter/vf_unsharp: add support for alpha formats

Paul B Mahol committed 4 years ago

Commit 84f55831 parent e1974623 files · +41 −9Browse files

Showing the changes to libavfilter/unsharp.h (1 of 3 files). Show all

Unified · Split

libavfilter/unsharp.h+4−1
@@ -44,14 +44,17 @@ typedef struct UnsharpFilterParam { · 43 unmodified lines
4444 typedef struct UnsharpContext {
4545 const AVClass *class;
4646 int lmsize_x, lmsize_y, cmsize_x, cmsize_y;
47+ int amsize_x, amsize_y;
4748 float lamount, camount;
49+ float aamount;
4850 UnsharpFilterParam luma; ///< luma parameters (width, height, amount)
4951 UnsharpFilterParam chroma; ///< chroma parameters (width, height, amount)
52+ UnsharpFilterParam alpha; ///< alpha parameters (width, height, amount)
5053 int hsub, vsub;
54+ int nb_planes;
5155 int bitdepth;
5256 int bps;
5357 int nb_threads;
54− int opencl;
5558 int (* apply_unsharp)(AVFilterContext *ctx, AVFrame *in, AVFrame *out);
5659 int (* unsharp_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);
5760 } UnsharpContext;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t