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
355e586f
Commit
355e586f
authored
Feb 08, 2016
by
Angie Chiang
Committed by
Gerrit Code Review
Feb 08, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Experiment: use 12 taps for sharp filter" into nextgenv2
parents
eb71ef92
b9d3fbe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
vp10/common/filter.c
vp10/common/filter.c
+29
-0
No files found.
vp10/common/filter.c
View file @
355e586f
...
...
@@ -12,6 +12,8 @@
#include "vp10/common/filter.h"
#define USE_12_SHARP_FILTER 0
DECLARE_ALIGNED
(
256
,
static
const
InterpKernel
,
bilinear_filters
[
SUBPEL_SHIFTS
])
=
{
{
0
,
0
,
0
,
128
,
0
,
0
,
0
,
0
},
...
...
@@ -73,6 +75,29 @@ DECLARE_ALIGNED(256, static const InterpKernel,
#endif // CONFIG_EXT_INTERP
};
#if USE_12_SHARP_FILTER
DECLARE_ALIGNED
(
16
,
static
const
int16_t
,
sub_pel_filters_12sharp
[
16
][
12
])
=
{
// intfilt 0.8
{
0
,
0
,
0
,
0
,
0
,
128
,
0
,
0
,
0
,
0
,
0
,
0
},
{
0
,
1
,
-
1
,
3
,
-
7
,
127
,
8
,
-
4
,
2
,
-
1
,
0
,
0
},
{
0
,
1
,
-
3
,
5
,
-
12
,
124
,
18
,
-
8
,
4
,
-
2
,
1
,
0
},
{
-
1
,
2
,
-
4
,
8
,
-
17
,
120
,
28
,
-
11
,
6
,
-
3
,
1
,
-
1
},
{
-
1
,
2
,
-
4
,
10
,
-
21
,
114
,
38
,
-
15
,
8
,
-
4
,
2
,
-
1
},
{
-
1
,
3
,
-
5
,
11
,
-
23
,
107
,
49
,
-
18
,
9
,
-
5
,
2
,
-
1
},
{
-
1
,
3
,
-
6
,
12
,
-
25
,
99
,
60
,
-
21
,
11
,
-
6
,
3
,
-
1
},
{
-
1
,
3
,
-
6
,
12
,
-
25
,
90
,
70
,
-
23
,
12
,
-
6
,
3
,
-
1
},
{
-
1
,
3
,
-
6
,
12
,
-
24
,
80
,
80
,
-
24
,
12
,
-
6
,
3
,
-
1
},
{
-
1
,
3
,
-
6
,
12
,
-
23
,
70
,
90
,
-
25
,
12
,
-
6
,
3
,
-
1
},
{
-
1
,
3
,
-
6
,
11
,
-
21
,
60
,
99
,
-
25
,
12
,
-
6
,
3
,
-
1
},
{
-
1
,
2
,
-
5
,
9
,
-
18
,
49
,
107
,
-
23
,
11
,
-
5
,
3
,
-
1
},
{
-
1
,
2
,
-
4
,
8
,
-
15
,
38
,
114
,
-
21
,
10
,
-
4
,
2
,
-
1
},
{
-
1
,
1
,
-
3
,
6
,
-
11
,
28
,
120
,
-
17
,
8
,
-
4
,
2
,
-
1
},
{
0
,
1
,
-
2
,
4
,
-
8
,
18
,
124
,
-
12
,
5
,
-
3
,
1
,
0
},
{
0
,
0
,
-
1
,
2
,
-
4
,
8
,
127
,
-
7
,
3
,
-
1
,
1
,
0
},
};
#endif // USE_12_SHARP_FILTER
DECLARE_ALIGNED
(
256
,
static
const
InterpKernel
,
sub_pel_filters_8sharp
[
SUBPEL_SHIFTS
])
=
{
#if CONFIG_EXT_INTERP
...
...
@@ -206,7 +231,11 @@ static const InterpFilterParams
vp10_interp_filter_params_list
[
SWITCHABLE_FILTERS
+
1
]
=
{
{(
const
int16_t
*
)
sub_pel_filters_8
,
SUBPEL_TAPS
,
SUBPEL_SHIFTS
},
{(
const
int16_t
*
)
sub_pel_filters_8smooth
,
SUBPEL_TAPS
,
SUBPEL_SHIFTS
},
#if USE_12_SHARP_FILTER
{(
const
int16_t
*
)
sub_pel_filters_12sharp
,
12
,
SUBPEL_SHIFTS
},
#else // USE_12_SHARP_FILTER
{(
const
int16_t
*
)
sub_pel_filters_8sharp
,
SUBPEL_TAPS
,
SUBPEL_SHIFTS
},
#endif // USE_12_SHARP_FILTER
#if CONFIG_EXT_INTERP && SWITCHABLE_FILTERS == 4
{(
const
int16_t
*
)
sub_pel_filters_8smooth2
,
SUBPEL_TAPS
,
SUBPEL_SHIFTS
},
#endif
...
...
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