Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
8d6354aa
Commit
8d6354aa
authored
May 08, 2018
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/nlmeans: use AV_CEIL_RSHIFT instead of deprecated FF_CEIL_RSHIFT
parent
6ebc7184
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vf_nlmeans.c
libavfilter/vf_nlmeans.c
+2
-2
No files found.
libavfilter/vf_nlmeans.c
View file @
8d6354aa
...
@@ -289,8 +289,8 @@ static int config_input(AVFilterLink *inlink)
...
@@ -289,8 +289,8 @@ static int config_input(AVFilterLink *inlink)
const
int
e
=
FFMAX
(
s
->
research_hsize
,
s
->
research_hsize_uv
)
const
int
e
=
FFMAX
(
s
->
research_hsize
,
s
->
research_hsize_uv
)
+
FFMAX
(
s
->
patch_hsize
,
s
->
patch_hsize_uv
);
+
FFMAX
(
s
->
patch_hsize
,
s
->
patch_hsize_uv
);
s
->
chroma_w
=
FF
_CEIL_RSHIFT
(
inlink
->
w
,
desc
->
log2_chroma_w
);
s
->
chroma_w
=
AV
_CEIL_RSHIFT
(
inlink
->
w
,
desc
->
log2_chroma_w
);
s
->
chroma_h
=
FF
_CEIL_RSHIFT
(
inlink
->
h
,
desc
->
log2_chroma_h
);
s
->
chroma_h
=
AV
_CEIL_RSHIFT
(
inlink
->
h
,
desc
->
log2_chroma_h
);
s
->
nb_planes
=
av_pix_fmt_count_planes
(
inlink
->
format
);
s
->
nb_planes
=
av_pix_fmt_count_planes
(
inlink
->
format
);
/* Allocate the integral image with extra edges of thickness "e"
/* Allocate the integral image with extra edges of thickness "e"
...
...
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