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
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
Hide 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