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
4005b2d8
Commit
4005b2d8
authored
Jul 25, 2014
by
Yunqing Wang
Committed by
Gerrit Code Review
Jul 25, 2014
Browse files
Merge "Allocate aligned source in variance test"
parents
f5827aee
5c93e62e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/variance_test.cc
test/variance_test.cc
+2
-2
No files found.
test/variance_test.cc
View file @
4005b2d8
...
...
@@ -90,14 +90,14 @@ class VarianceTest
rnd
(
ACMRandom
::
DeterministicSeed
());
block_size_
=
width_
*
height_
;
src_
=
new
uint8_t
[
block_size_
]
;
src_
=
reinterpret_cast
<
uint8_t
*>
(
vpx_memalign
(
16
,
block_size_
))
;
ref_
=
new
uint8_t
[
block_size_
];
ASSERT_TRUE
(
src_
!=
NULL
);
ASSERT_TRUE
(
ref_
!=
NULL
);
}
virtual
void
TearDown
()
{
delete
[]
src_
;
vpx_free
(
src_
)
;
delete
[]
ref_
;
libvpx_test
::
ClearSystemState
();
}
...
...
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