Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
74d47a81
Commit
74d47a81
authored
Jun 03, 2014
by
Jingning Han
Committed by
Gerrit Code Review
Jun 03, 2014
Browse files
Merge "Re-enable unit test for SSSE3 forward 8x8 2D-DCT"
parents
0c4a4225
0343e30c
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/fdct8x8_test.cc
View file @
74d47a81
...
...
@@ -188,15 +188,15 @@ class FwdTrans8x8TestBase {
for
(
int
i
=
0
;
i
<
count_test_block
;
++
i
)
{
// Initialize a test block with input range [-255, 255].
for
(
int
j
=
0
;
j
<
64
;
++
j
)
{
src
[
j
]
=
rnd
.
Rand8
()
%
2
?
255
:
0
;
dst
[
j
]
=
rnd
.
Rand8
()
%
2
?
255
:
0
;
if
(
i
==
0
)
{
src
[
j
]
=
255
;
dst
[
j
]
=
0
;
}
else
if
(
i
==
1
)
{
src
[
j
]
=
0
;
dst
[
j
]
=
255
;
}
else
{
src
[
j
]
=
rnd
.
Rand8
()
%
2
?
255
:
0
;
dst
[
j
]
=
rnd
.
Rand8
()
%
2
?
255
:
0
;
}
test_input_block
[
j
]
=
src
[
j
]
-
dst
[
j
];
...
...
@@ -363,7 +363,7 @@ INSTANTIATE_TEST_CASE_P(
#if HAVE_SSSE3 && ARCH_X86_64
INSTANTIATE_TEST_CASE_P
(
DISABLED_
SSSE3
,
FwdTrans8x8DCT
,
SSSE3
,
FwdTrans8x8DCT
,
::
testing
::
Values
(
make_tuple
(
&
vp9_fdct8x8_ssse3
,
&
vp9_idct8x8_64_add_ssse3
,
0
)));
#endif
...
...
Write
Preview
Supports
Markdown
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