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
fbd3db91
Commit
fbd3db91
authored
14 years ago
by
John Koleszar
Browse files
Options
Downloads
Plain Diff
Merge remote branch 'internal/upstream' into HEAD
parents
72302f86
7fed3832
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp8/common/loopfilter_filters.c
+0
-11
0 additions, 11 deletions
vp8/common/loopfilter_filters.c
with
0 additions
and
11 deletions
vp8/common/loopfilter_filters.c
+
0
−
11
View file @
fbd3db91
...
...
@@ -13,9 +13,6 @@
#include
"loopfilter.h"
#include
"onyxc_int.h"
#define NEW_LOOPFILTER_MASK
typedef
unsigned
char
uc
;
static
__inline
signed
char
vp8_signed_char_clamp
(
int
t
)
...
...
@@ -37,11 +34,7 @@ static __inline signed char vp8_filter_mask(signed char limit, signed char flimi
mask
|=
(
abs
(
q1
-
q0
)
>
limit
)
*
-
1
;
mask
|=
(
abs
(
q2
-
q1
)
>
limit
)
*
-
1
;
mask
|=
(
abs
(
q3
-
q2
)
>
limit
)
*
-
1
;
#ifndef NEW_LOOPFILTER_MASK
mask
|=
(
abs
(
p0
-
q0
)
>
flimit
)
*
-
1
;
#else
mask
|=
(
abs
(
p0
-
q0
)
*
2
+
abs
(
p1
-
q1
)
/
2
>
flimit
*
2
+
limit
)
*
-
1
;
#endif
mask
=
~
mask
;
return
mask
;
}
...
...
@@ -286,11 +279,7 @@ static __inline signed char vp8_simple_filter_mask(signed char limit, signed cha
// Why does this cause problems for win32?
// error C2143: syntax error : missing ';' before 'type'
// (void) limit;
#ifndef NEW_LOOPFILTER_MASK
signed
char
mask
=
(
abs
(
p0
-
q0
)
<=
flimit
)
*
-
1
;
#else
signed
char
mask
=
(
abs
(
p0
-
q0
)
*
2
+
abs
(
p1
-
q1
)
/
2
<=
flimit
*
2
+
limit
)
*
-
1
;
#endif
return
mask
;
}
...
...
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