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
f5323760
Commit
f5323760
authored
Mar 18, 2017
by
Steinar Midtskogen
Browse files
Fix the above boundary test in the SIMD version of CLPF
Change-Id: I097ddaac3e19084542663e142cde5c115ef09099
parent
eb10b750
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/clpf_simd.h
View file @
f5323760
...
...
@@ -22,7 +22,7 @@ static void clpf_block8(const uint8_t *src, uint8_t *dst, int sstride,
const
int
bottom
=
bt
&
TILE_BOTTOM_BOUNDARY
?
sizey
-
2
:
-
1
;
const
int
right
=
!
(
bt
&
TILE_RIGHT_BOUNDARY
);
const
int
left
=
!
(
bt
&
TILE_LEFT_BOUNDARY
);
const
int
top
=
bt
&
TILE_ABOVE_BOUNDARY
?
y
0
:
-
1
;
const
int
top
=
bt
&
TILE_ABOVE_BOUNDARY
?
0
:
-
1
;
DECLARE_ALIGNED
(
16
,
static
const
uint64_t
,
c_shuff
[])
=
{
0x0504030201000000LL
,
0x0d0c0b0a09080808LL
};
DECLARE_ALIGNED
(
16
,
static
const
uint64_t
,
...
...
@@ -121,7 +121,7 @@ static void clpf_block4(const uint8_t *src, uint8_t *dst, int sstride,
const
int
right
=
!
(
bt
&
TILE_RIGHT_BOUNDARY
);
const
int
bottom
=
bt
&
TILE_BOTTOM_BOUNDARY
?
sizey
-
4
:
-
1
;
const
int
left
=
!
(
bt
&
TILE_LEFT_BOUNDARY
);
const
int
top
=
bt
&
TILE_ABOVE_BOUNDARY
?
y
0
:
-
1
;
const
int
top
=
bt
&
TILE_ABOVE_BOUNDARY
?
0
:
-
1
;
DECLARE_ALIGNED
(
16
,
static
const
uint64_t
,
c_shuff
[])
=
{
0x0504040401000000LL
,
0x0d0c0c0c09080808LL
};
...
...
@@ -328,7 +328,7 @@ SIMD_INLINE void clpf_block_hbd4(const uint16_t *src, uint16_t *dst,
const
int
right
=
!
(
bt
&
TILE_RIGHT_BOUNDARY
);
const
int
bottom
=
bt
&
TILE_BOTTOM_BOUNDARY
?
sizey
-
2
:
-
1
;
const
int
left
=
!
(
bt
&
TILE_LEFT_BOUNDARY
);
const
int
top
=
bt
&
TILE_ABOVE_BOUNDARY
?
y
0
:
-
1
;
const
int
top
=
bt
&
TILE_ABOVE_BOUNDARY
?
0
:
-
1
;
DECLARE_ALIGNED
(
16
,
static
const
uint64_t
,
c_shuff
[])
=
{
0x0302010001000100LL
,
0x0b0a090809080908LL
};
...
...
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