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
ef8fd2d1
Commit
ef8fd2d1
authored
Jan 02, 2018
by
Sebastien Alaiwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce scope of locals
Change-Id: I46fe14a799254b9430ef178d1450bb170496a724
parent
612eb2e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
test/av1_inv_txfm_test.cc
test/av1_inv_txfm_test.cc
+5
-5
No files found.
test/av1_inv_txfm_test.cc
View file @
ef8fd2d1
...
...
@@ -39,20 +39,20 @@ class TransTestBase {
protected:
void
RunInvAccuracyCheck
()
{
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
;
for
(
int
ti
=
0
;
ti
<
count_test_block
;
++
ti
)
{
tran_low_t
input
[
64
];
double
ref_input
[
64
];
for
(
int
ni
=
0
;
ni
<
txfm_size_
;
++
ni
)
{
input
[
ni
]
=
rnd
.
Rand8
()
-
rnd
.
Rand8
();
ref_input
[
ni
]
=
static_cast
<
double
>
(
input
[
ni
]);
}
tran_low_t
output
[
64
];
inv_txfm_
(
input
,
output
);
double
ref_output
[
64
];
libaom_test
::
reference_idct_1d
(
ref_input
,
ref_output
,
txfm_size_
);
for
(
int
ni
=
0
;
ni
<
txfm_size_
;
++
ni
)
{
...
...
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