Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
fef2fa72
Commit
fef2fa72
authored
Jul 10, 2017
by
Sebastien Alaiwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tx tests: avoid dynamic memory allocation
Change-Id: I6534f21631b0f5cf66034c4ced9ef2db408b996c
parent
bc2e01c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
test/av1_inv_txfm_test.cc
test/av1_inv_txfm_test.cc
+4
-9
No files found.
test/av1_inv_txfm_test.cc
View file @
fef2fa72
...
...
@@ -52,10 +52,10 @@ class TransTestBase {
protected:
void
RunInvAccuracyCheck
()
{
tran_low_t
*
input
=
new
tran_low_t
[
txfm_size_
];
tran_low_t
*
output
=
new
tran_low_t
[
txfm_size_
];
double
*
ref_input
=
new
double
[
txfm_size_
];
double
*
ref_output
=
new
double
[
txfm_size_
];
tran_low_t
input
[
64
];
tran_low_t
output
[
64
];
double
ref_input
[
64
];
double
ref_output
[
64
];
ACMRandom
rnd
(
ACMRandom
::
DeterministicSeed
());
const
int
count_test_block
=
5000
;
...
...
@@ -74,11 +74,6 @@ class TransTestBase {
max_error_
);
}
}
delete
[]
input
;
delete
[]
output
;
delete
[]
ref_input
;
delete
[]
ref_output
;
}
double
max_error_
;
...
...
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