summaryrefslogtreecommitdiff
path: root/libavfilter/unsharp.h
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2019-10-14 18:27:05 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-11-07 10:09:59 +0800
commitee792ebe08591f660ee956dc752efd2b71ab2ea9 (patch)
tree729e543ad44b5e43719d53c5e53cfee319483d04 /libavfilter/unsharp.h
parent0302728c9e18a75669cbf5beb47150b9318aa0f8 (diff)
avfilter/vf_unsharp: add 10bit support
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavfilter/unsharp.h')
-rw-r--r--libavfilter/unsharp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/unsharp.h b/libavfilter/unsharp.h
index a60b30f31a..253e32dd19 100644
--- a/libavfilter/unsharp.h
+++ b/libavfilter/unsharp.h
@@ -48,9 +48,12 @@ typedef struct UnsharpContext {
UnsharpFilterParam luma; ///< luma parameters (width, height, amount)
UnsharpFilterParam chroma; ///< chroma parameters (width, height, amount)
int hsub, vsub;
+ 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;
#endif /* AVFILTER_UNSHARP_H */