Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
6adfba7c
Commit
6adfba7c
authored
Mar 07, 2016
by
Debargha Mukherjee
Committed by
Gerrit Code Review
Mar 07, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Make sharp filter 10 tap and makes sharp2 sharper" into nextgenv2
parents
42c08a3f
7d2618bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
18 deletions
+41
-18
vp10/common/filter.c
vp10/common/filter.c
+41
-18
No files found.
vp10/common/filter.c
View file @
6adfba7c
...
...
@@ -77,6 +77,7 @@ DECLARE_ALIGNED(256, static const InterpKernel,
{
0
,
1
,
-
3
,
8
,
126
,
-
5
,
1
,
0
},
};
#if CONFIG_EXT_INTRA
DECLARE_ALIGNED
(
256
,
static
const
InterpKernel
,
sub_pel_filters_8sharp
[
SUBPEL_SHIFTS
])
=
{
// intfilt 0.8
...
...
@@ -97,6 +98,28 @@ DECLARE_ALIGNED(256, static const InterpKernel,
{
-
2
,
4
,
-
7
,
18
,
124
,
-
12
,
5
,
-
2
},
{
-
1
,
2
,
-
4
,
9
,
127
,
-
6
,
2
,
-
1
},
};
#endif // CONFIG_EXT_INTRA
DECLARE_ALIGNED
(
256
,
static
const
int16_t
,
sub_pel_filters_10sharp
[
SUBPEL_SHIFTS
][
10
])
=
{
// intfilt 0.77
{
0
,
0
,
0
,
0
,
128
,
0
,
0
,
0
,
0
,
0
},
{
0
,
-
1
,
3
,
-
6
,
127
,
8
,
-
4
,
2
,
-
1
,
0
},
{
1
,
-
2
,
5
,
-
12
,
124
,
18
,
-
7
,
3
,
-
2
,
0
},
{
1
,
-
3
,
7
,
-
17
,
119
,
28
,
-
11
,
5
,
-
2
,
1
},
{
1
,
-
4
,
8
,
-
20
,
114
,
38
,
-
14
,
7
,
-
3
,
1
},
{
1
,
-
4
,
9
,
-
22
,
107
,
49
,
-
17
,
8
,
-
4
,
1
},
{
2
,
-
5
,
10
,
-
24
,
99
,
59
,
-
20
,
9
,
-
4
,
2
},
{
2
,
-
5
,
10
,
-
24
,
90
,
70
,
-
22
,
10
,
-
5
,
2
},
{
2
,
-
5
,
10
,
-
23
,
80
,
80
,
-
23
,
10
,
-
5
,
2
},
{
2
,
-
5
,
10
,
-
22
,
70
,
90
,
-
24
,
10
,
-
5
,
2
},
{
2
,
-
4
,
9
,
-
20
,
59
,
99
,
-
24
,
10
,
-
5
,
2
},
{
1
,
-
4
,
8
,
-
17
,
49
,
107
,
-
22
,
9
,
-
4
,
1
},
{
1
,
-
3
,
7
,
-
14
,
38
,
114
,
-
20
,
8
,
-
4
,
1
},
{
1
,
-
2
,
5
,
-
11
,
28
,
119
,
-
17
,
7
,
-
3
,
1
},
{
0
,
-
2
,
3
,
-
7
,
18
,
124
,
-
12
,
5
,
-
2
,
1
},
{
0
,
-
1
,
2
,
-
4
,
8
,
127
,
-
6
,
3
,
-
1
,
0
},
};
#if SWITCHABLE_FILTERS >= 4
DECLARE_ALIGNED
(
256
,
static
const
InterpKernel
,
...
...
@@ -145,23 +168,23 @@ DECLARE_ALIGNED(256, static const InterpKernel,
#if SWITCHABLE_FILTERS == 5
DECLARE_ALIGNED
(
16
,
static
const
int16_t
,
sub_pel_filters_12sharp
[
SUBPEL_SHIFTS
][
12
])
=
{
// intfilt 0.8
// intfilt 0.8
5
{
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
,
-
1
2
,
124
,
18
,
-
8
,
4
,
-
2
,
1
,
0
},
{
-
1
,
2
,
-
4
,
8
,
-
1
7
,
120
,
28
,
-
1
1
,
6
,
-
3
,
1
,
-
1
},
{
-
1
,
2
,
-
4
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3
,
-
1
},
{
-
2
,
4
,
-
6
,
1
2
,
-
2
4
,
10
8
,
49
,
-
18
,
10
,
-
6
,
3
,
-
2
},
{
-
2
,
4
,
-
7
,
1
3
,
-
25
,
100
,
60
,
-
21
,
11
,
-
7
,
4
,
-
2
},
{
-
2
,
4
,
-
7
,
1
3
,
-
2
6
,
9
1
,
7
1
,
-
2
4
,
1
3
,
-
7
,
4
,
-
2
},
{
-
2
,
4
,
-
7
,
1
3
,
-
2
5
,
8
1
,
8
1
,
-
2
5
,
1
3
,
-
7
,
4
,
-
2
},
{
-
2
,
4
,
-
7
,
1
3
,
-
2
4
,
7
1
,
9
1
,
-
2
6
,
1
3
,
-
7
,
4
,
-
2
},
{
-
2
,
4
,
-
7
,
11
,
-
21
,
60
,
100
,
-
25
,
1
3
,
-
7
,
4
,
-
2
},
{
-
2
,
3
,
-
6
,
10
,
-
18
,
49
,
10
8
,
-
2
4
,
1
2
,
-
6
,
4
,
-
2
},
{
-
1
,
3
,
-
5
,
8
,
-
15
,
38
,
11
5
,
-
21
,
10
,
-
6
,
3
,
-
1
},
{
-
1
,
2
,
-
4
,
7
,
-
1
2
,
28
,
120
,
-
1
8
,
8
,
-
4
,
3
,
-
1
},
{
-
1
,
2
,
-
2
,
4
,
-
8
,
18
,
124
,
-
1
3
,
6
,
-
3
,
2
,
-
1
},
{
0
,
1
,
-
1
,
2
,
-
4
,
8
,
127
,
-
7
,
3
,
-
2
,
1
,
0
},
};
#endif
...
...
@@ -245,7 +268,7 @@ 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
},
{(
const
int16_t
*
)
sub_pel_filters_
8
sharp
,
SUBPEL_TAPS
,
SUBPEL_SHIFTS
},
{(
const
int16_t
*
)
sub_pel_filters_
10
sharp
,
10
,
SUBPEL_SHIFTS
},
#if SWITCHABLE_FILTERS >= 4
{(
const
int16_t
*
)
sub_pel_filters_8smooth2
,
SUBPEL_TAPS
,
SUBPEL_SHIFTS
},
#endif
...
...
@@ -266,7 +289,7 @@ vp10_interp_filter_params_list[SWITCHABLE_FILTERS + 1] = {
#if USE_TEMPORALFILTER_12TAP
static
const
InterpFilterParams
vp10_interp_temporalfilter_12tap
=
{
(
const
int16_t
*
)
sub_pel_filters_temporalfilter_12
,
12
,
SUBPEL_SHIFTS
(
const
int16_t
*
)
sub_pel_filters_temporalfilter_12
,
12
,
SUBPEL_SHIFTS
};
#endif // USE_TEMPORALFILTER_12TAP
...
...
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