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
6e1c7d77
Commit
6e1c7d77
authored
Apr 10, 2017
by
Sean Purser-Haskell
Committed by
Sean Purser-haskell
Apr 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clip 128s from warped_filter, so that all taps fit into 8 bits.
Change-Id: I88686147ef406b10691cc3e49f5a1a21fe9de029
parent
2d2dac2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
av1/common/warped_motion.c
av1/common/warped_motion.c
+7
-7
No files found.
av1/common/warped_motion.c
View file @
6e1c7d77
...
...
@@ -481,7 +481,7 @@ static uint8_t warp_interpolate(uint8_t *ref, int x, int y, int width,
/* clang-format off */
const
int16_t
warped_filter
[
WARPEDPIXEL_PREC_SHIFTS
*
3
+
1
][
8
]
=
{
// [-1, 0)
{
0
,
0
,
12
8
,
0
,
0
,
0
,
0
,
0
},
{
0
,
-
1
,
128
,
2
,
-
1
,
0
,
0
,
0
},
{
0
,
0
,
12
7
,
1
,
0
,
0
,
0
,
0
},
{
0
,
-
1
,
127
,
2
,
0
,
0
,
0
,
0
},
{
1
,
-
3
,
127
,
4
,
-
1
,
0
,
0
,
0
},
{
1
,
-
4
,
126
,
6
,
-
2
,
1
,
0
,
0
},
{
1
,
-
5
,
126
,
8
,
-
3
,
1
,
0
,
0
},
{
1
,
-
6
,
125
,
11
,
-
4
,
1
,
0
,
0
},
{
1
,
-
7
,
124
,
13
,
-
4
,
1
,
0
,
0
},
{
2
,
-
8
,
123
,
15
,
-
5
,
1
,
0
,
0
},
...
...
@@ -512,10 +512,10 @@ const int16_t warped_filter[WARPEDPIXEL_PREC_SHIFTS * 3 + 1][8] = {
{
1
,
-
6
,
18
,
122
,
-
9
,
2
,
0
,
0
},
{
1
,
-
5
,
15
,
123
,
-
8
,
2
,
0
,
0
},
{
1
,
-
4
,
13
,
124
,
-
7
,
1
,
0
,
0
},
{
1
,
-
4
,
11
,
125
,
-
6
,
1
,
0
,
0
},
{
1
,
-
3
,
8
,
126
,
-
5
,
1
,
0
,
0
},
{
1
,
-
2
,
6
,
126
,
-
4
,
1
,
0
,
0
},
{
0
,
-
1
,
4
,
127
,
-
3
,
1
,
0
,
0
},
{
0
,
-
1
,
2
,
128
,
-
1
,
0
,
0
,
0
},
{
0
,
-
1
,
4
,
127
,
-
3
,
1
,
0
,
0
},
{
0
,
0
,
2
,
127
,
-
1
,
0
,
0
,
0
},
// [0, 1)
{
0
,
0
,
0
,
12
8
,
0
,
0
,
0
,
0
},
{
0
,
1
,
-
2
,
128
,
2
,
-
1
,
0
,
0
},
{
0
,
0
,
0
,
12
7
,
1
,
0
,
0
,
0
},
{
0
,
0
,
-
1
,
127
,
2
,
0
,
0
,
0
},
{
0
,
1
,
-
3
,
127
,
4
,
-
2
,
1
,
0
},
{
0
,
1
,
-
5
,
127
,
6
,
-
2
,
1
,
0
},
{
0
,
2
,
-
6
,
126
,
8
,
-
3
,
1
,
0
},
{
-
1
,
2
,
-
7
,
126
,
11
,
-
4
,
2
,
-
1
},
{
-
1
,
3
,
-
8
,
125
,
13
,
-
5
,
2
,
-
1
},
{
-
1
,
3
,
-
10
,
124
,
16
,
-
6
,
3
,
-
1
},
...
...
@@ -546,10 +546,10 @@ const int16_t warped_filter[WARPEDPIXEL_PREC_SHIFTS * 3 + 1][8] = {
{
-
1
,
3
,
-
7
,
18
,
123
,
-
11
,
4
,
-
1
},
{
-
1
,
3
,
-
6
,
16
,
124
,
-
10
,
3
,
-
1
},
{
-
1
,
2
,
-
5
,
13
,
125
,
-
8
,
3
,
-
1
},
{
-
1
,
2
,
-
4
,
11
,
126
,
-
7
,
2
,
-
1
},
{
0
,
1
,
-
3
,
8
,
126
,
-
6
,
2
,
0
},
{
0
,
1
,
-
2
,
6
,
127
,
-
5
,
1
,
0
},
{
0
,
1
,
-
2
,
4
,
127
,
-
3
,
1
,
0
},
{
0
,
0
,
-
1
,
2
,
128
,
-
2
,
1
,
0
},
{
0
,
1
,
-
2
,
4
,
127
,
-
3
,
1
,
0
},
{
0
,
0
,
0
,
2
,
127
,
-
1
,
0
,
0
},
// [1, 2)
{
0
,
0
,
0
,
0
,
128
,
0
,
0
,
0
},
{
0
,
0
,
0
,
-
1
,
128
,
2
,
-
1
,
0
},
{
0
,
0
,
0
,
1
,
127
,
0
,
0
,
0
},
{
0
,
0
,
0
,
-
1
,
127
,
2
,
0
,
0
},
{
0
,
0
,
1
,
-
3
,
127
,
4
,
-
1
,
0
},
{
0
,
0
,
1
,
-
4
,
126
,
6
,
-
2
,
1
},
{
0
,
0
,
1
,
-
5
,
126
,
8
,
-
3
,
1
},
{
0
,
0
,
1
,
-
6
,
125
,
11
,
-
4
,
1
},
{
0
,
0
,
1
,
-
7
,
124
,
13
,
-
4
,
1
},
{
0
,
0
,
2
,
-
8
,
123
,
15
,
-
5
,
1
},
...
...
@@ -580,10 +580,10 @@ const int16_t warped_filter[WARPEDPIXEL_PREC_SHIFTS * 3 + 1][8] = {
{
0
,
0
,
1
,
-
6
,
18
,
122
,
-
9
,
2
},
{
0
,
0
,
1
,
-
5
,
15
,
123
,
-
8
,
2
},
{
0
,
0
,
1
,
-
4
,
13
,
124
,
-
7
,
1
},
{
0
,
0
,
1
,
-
4
,
11
,
125
,
-
6
,
1
},
{
0
,
0
,
1
,
-
3
,
8
,
126
,
-
5
,
1
},
{
0
,
0
,
1
,
-
2
,
6
,
126
,
-
4
,
1
},
{
0
,
0
,
0
,
-
1
,
4
,
127
,
-
3
,
1
},
{
0
,
0
,
0
,
-
1
,
2
,
128
,
-
1
,
0
},
{
0
,
0
,
0
,
-
1
,
4
,
127
,
-
3
,
1
},
{
0
,
0
,
0
,
0
,
2
,
127
,
-
1
,
0
},
// dummy
{
0
,
0
,
0
,
0
,
0
,
128
,
0
,
0
},
{
0
,
0
,
0
,
0
,
1
,
127
,
0
,
0
},
};
/* clang-format on */
...
...
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