Skip to content
GitLab
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
e7b599f6
Commit
e7b599f6
authored
Jun 17, 2013
by
James Zern
Browse files
convolve_test: align filter arrays
fixes issue #583 Change-Id: I4b855a5b5b168c8961410cef6ab5e6d86f14d301
parent
b1caa7c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/convolve_test.cc
View file @
e7b599f6
...
...
@@ -253,7 +253,7 @@ TEST_P(ConvolveTest, GuardBlocks) {
TEST_P
(
ConvolveTest
,
CopyHoriz
)
{
uint8_t
*
const
in
=
input
();
uint8_t
*
const
out
=
output
();
const
int16_t
filter8
[
8
]
=
{
0
,
0
,
0
,
128
,
0
,
0
,
0
,
0
};
DECLARE_ALIGNED
(
256
,
const
int16_t
,
filter8
[
8
]
)
=
{
0
,
0
,
0
,
128
,
0
,
0
,
0
,
0
};
REGISTER_STATE_CHECK
(
UUT_
->
h8_
(
in
,
kInputStride
,
out
,
kOutputStride
,
filter8
,
16
,
filter8
,
16
,
...
...
@@ -270,7 +270,7 @@ TEST_P(ConvolveTest, CopyHoriz) {
TEST_P
(
ConvolveTest
,
CopyVert
)
{
uint8_t
*
const
in
=
input
();
uint8_t
*
const
out
=
output
();
const
int16_t
filter8
[
8
]
=
{
0
,
0
,
0
,
128
,
0
,
0
,
0
,
0
};
DECLARE_ALIGNED
(
256
,
const
int16_t
,
filter8
[
8
]
)
=
{
0
,
0
,
0
,
128
,
0
,
0
,
0
,
0
};
REGISTER_STATE_CHECK
(
UUT_
->
v8_
(
in
,
kInputStride
,
out
,
kOutputStride
,
filter8
,
16
,
filter8
,
16
,
...
...
@@ -287,7 +287,7 @@ TEST_P(ConvolveTest, CopyVert) {
TEST_P
(
ConvolveTest
,
Copy2D
)
{
uint8_t
*
const
in
=
input
();
uint8_t
*
const
out
=
output
();
const
int16_t
filter8
[
8
]
=
{
0
,
0
,
0
,
128
,
0
,
0
,
0
,
0
};
DECLARE_ALIGNED
(
256
,
const
int16_t
,
filter8
[
8
]
)
=
{
0
,
0
,
0
,
128
,
0
,
0
,
0
,
0
};
REGISTER_STATE_CHECK
(
UUT_
->
hv8_
(
in
,
kInputStride
,
out
,
kOutputStride
,
filter8
,
16
,
filter8
,
16
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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