Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
2dc0a513
Commit
2dc0a513
authored
Aug 24, 2017
by
Johann Koenig
Committed by
Gerrit Code Review
Aug 24, 2017
Browse files
Merge "quantize test: set threshold for 32x32"
parents
d080c925
e89344d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
test/vp9_quantize_test.cc
test/vp9_quantize_test.cc
+7
-1
No files found.
test/vp9_quantize_test.cc
View file @
2dc0a513
...
...
@@ -299,7 +299,13 @@ TEST_P(VP9QuantizeTest, DISABLED_Speed) {
if
(
i
==
0
)
{
// When |coeff values| are less than zbin the results are 0.
for
(
int
j
=
0
;
j
<
8
;
++
j
)
zbin_ptr_
[
j
]
=
100
;
int
threshold
=
100
;
if
(
max_size_
==
32
)
{
// For 32x32, the threshold is halved. Double it to keep the values
// from clearing it.
threshold
=
200
;
}
for
(
int
j
=
0
;
j
<
8
;
++
j
)
zbin_ptr_
[
j
]
=
threshold
;
coeff
.
Set
(
&
rnd
,
-
99
,
99
);
}
else
if
(
i
==
1
)
{
for
(
int
j
=
0
;
j
<
8
;
++
j
)
zbin_ptr_
[
j
]
=
50
;
...
...
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