Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
ee792ebe
Commit
ee792ebe
authored
Oct 14, 2019
by
Limin Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_unsharp: add 10bit support
Signed-off-by:
Limin Wang
<
lance.lmwang@gmail.com
>
parent
0302728c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
75 deletions
+90
-75
unsharp.h
libavfilter/unsharp.h
+3
-0
vf_unsharp.c
libavfilter/vf_unsharp.c
+87
-75
No files found.
libavfilter/unsharp.h
View file @
ee792ebe
...
@@ -48,9 +48,12 @@ typedef struct UnsharpContext {
...
@@ -48,9 +48,12 @@ typedef struct UnsharpContext {
UnsharpFilterParam
luma
;
///< luma parameters (width, height, amount)
UnsharpFilterParam
luma
;
///< luma parameters (width, height, amount)
UnsharpFilterParam
chroma
;
///< chroma parameters (width, height, amount)
UnsharpFilterParam
chroma
;
///< chroma parameters (width, height, amount)
int
hsub
,
vsub
;
int
hsub
,
vsub
;
int
bitdepth
;
int
bps
;
int
nb_threads
;
int
nb_threads
;
int
opencl
;
int
opencl
;
int
(
*
apply_unsharp
)(
AVFilterContext
*
ctx
,
AVFrame
*
in
,
AVFrame
*
out
);
int
(
*
apply_unsharp
)(
AVFilterContext
*
ctx
,
AVFrame
*
in
,
AVFrame
*
out
);
int
(
*
unsharp_slice
)(
AVFilterContext
*
ctx
,
void
*
arg
,
int
jobnr
,
int
nb_jobs
);
}
UnsharpContext
;
}
UnsharpContext
;
#endif
/* AVFILTER_UNSHARP_H */
#endif
/* AVFILTER_UNSHARP_H */
libavfilter/vf_unsharp.c
View file @
ee792ebe
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment