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
44typedef struct UnsharpContext {44typedef struct UnsharpContext {
45 const AVClass *class;45 const AVClass *class;
46 int lmsize_x, lmsize_y, cmsize_x, cmsize_y;46 int lmsize_x, lmsize_y, cmsize_x, cmsize_y;
47 int amsize_x, amsize_y;
47 float lamount, camount;48 float lamount, camount;
49 float aamount;
48 UnsharpFilterParam luma; ///< luma parameters (width, height, amount)50 UnsharpFilterParam luma; ///< luma parameters (width, height, amount)
49 UnsharpFilterParam chroma; ///< chroma parameters (width, height, amount)51 UnsharpFilterParam chroma; ///< chroma parameters (width, height, amount)
52 UnsharpFilterParam alpha; ///< alpha parameters (width, height, amount)
50 int hsub, vsub;53 int hsub, vsub;
54 int nb_planes;
51 int bitdepth;55 int bitdepth;
52 int bps;56 int bps;
53 int nb_threads;57 int nb_threads;
54 int opencl;
55 int (* apply_unsharp)(AVFilterContext *ctx, AVFrame *in, AVFrame *out);58 int (* apply_unsharp)(AVFilterContext *ctx, AVFrame *in, AVFrame *out);
56 int (* unsharp_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);59 int (* unsharp_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);
57} UnsharpContext;60} 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