Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
43edb7b1
Commit
43edb7b1
authored
Apr 13, 2017
by
Steinar Midtskogen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid invalid parameter combinations in CLPF test
Change-Id: I1aaa06846ad409dd83ab50a0fb34c8a7e77e45e7
parent
7b069a57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/clpf_test.cc
test/clpf_test.cc
+1
-1
No files found.
test/clpf_test.cc
View file @
43edb7b1
...
...
@@ -119,7 +119,7 @@ void test_clpf(int w, int h, int depth, int iterations,
for
(
level
=
0
;
level
<
(
1
<<
depth
)
&&
!
error
;
level
+=
(
1
+
4
*
!!
boundary
)
<<
(
depth
-
8
))
{
for
(
bits
=
1
;
bits
<=
depth
&&
!
error
;
bits
++
)
{
for
(
damp
=
4
;
damp
<
depth
-
1
&&
!
error
;
damp
++
)
{
for
(
damp
=
4
+
depth
-
8
;
damp
<
depth
-
1
&&
!
error
;
damp
++
)
{
for
(
int
i
=
0
;
i
<
size
*
size
;
i
++
)
s
[
i
]
=
clamp
((
rnd
.
Rand16
()
&
((
1
<<
bits
)
-
1
))
+
level
,
0
,
(
1
<<
depth
)
-
1
);
...
...
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