Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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,
...
@@ -119,7 +119,7 @@ void test_clpf(int w, int h, int depth, int iterations,
for
(
level
=
0
;
level
<
(
1
<<
depth
)
&&
!
error
;
for
(
level
=
0
;
level
<
(
1
<<
depth
)
&&
!
error
;
level
+=
(
1
+
4
*
!!
boundary
)
<<
(
depth
-
8
))
{
level
+=
(
1
+
4
*
!!
boundary
)
<<
(
depth
-
8
))
{
for
(
bits
=
1
;
bits
<=
depth
&&
!
error
;
bits
++
)
{
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
++
)
for
(
int
i
=
0
;
i
<
size
*
size
;
i
++
)
s
[
i
]
=
clamp
((
rnd
.
Rand16
()
&
((
1
<<
bits
)
-
1
))
+
level
,
0
,
s
[
i
]
=
clamp
((
rnd
.
Rand16
()
&
((
1
<<
bits
)
-
1
))
+
level
,
0
,
(
1
<<
depth
)
-
1
);
(
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