Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
333345cd
Commit
333345cd
authored
11 years ago
by
Yaowu Xu
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Convert filter kernel choice to lookup"
parents
340b2b07
0f76ba55
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vp9/common/vp9_filter.c
+9
-13
9 additions, 13 deletions
vp9/common/vp9_filter.c
vp9/common/vp9_filter.h
+0
-1
0 additions, 1 deletion
vp9/common/vp9_filter.h
with
9 additions
and
14 deletions
vp9/common/vp9_filter.c
+
9
−
13
View file @
333345cd
...
...
@@ -97,19 +97,15 @@ DECLARE_ALIGNED(256, const subpel_kernel,
{
0
,
-
3
,
1
,
38
,
64
,
32
,
-
1
,
-
3
}
};
static
const
subpel_kernel
*
vp9_filter_kernels
[
4
]
=
{
vp9_sub_pel_filters_8
,
vp9_sub_pel_filters_8lp
,
vp9_sub_pel_filters_8s
,
vp9_bilinear_filters
};
const
subpel_kernel
*
vp9_get_filter_kernel
(
INTERPOLATION_TYPE
type
)
{
switch
(
type
)
{
case
EIGHTTAP
:
return
vp9_sub_pel_filters_8
;
case
EIGHTTAP_SMOOTH
:
return
vp9_sub_pel_filters_8lp
;
case
EIGHTTAP_SHARP
:
return
vp9_sub_pel_filters_8s
;
case
BILINEAR
:
return
vp9_bilinear_filters
;
default:
assert
(
!
"Invalid interpolation type."
);
return
NULL
;
}
return
vp9_filter_kernels
[
type
];
}
This diff is collapsed.
Click to expand it.
vp9/common/vp9_filter.h
+
0
−
1
View file @
333345cd
...
...
@@ -39,7 +39,6 @@ struct subpix_fn_table {
const
subpel_kernel
*
vp9_get_filter_kernel
(
INTERPOLATION_TYPE
type
);
extern
const
subpel_kernel
vp9_bilinear_filters
[
SUBPEL_SHIFTS
];
extern
const
subpel_kernel
vp9_sub_pel_filters_6
[
SUBPEL_SHIFTS
];
extern
const
subpel_kernel
vp9_sub_pel_filters_8
[
SUBPEL_SHIFTS
];
extern
const
subpel_kernel
vp9_sub_pel_filters_8s
[
SUBPEL_SHIFTS
];
extern
const
subpel_kernel
vp9_sub_pel_filters_8lp
[
SUBPEL_SHIFTS
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment