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
21970d1d
Commit
21970d1d
authored
13 years ago
by
Scott LaVarnway
Browse files
Options
Downloads
Patches
Plain Diff
Improved mv_bias
Small performance gains. Change-Id: I709b9390a8a27a70f5f23574313b8db85ac7f23d
parent
efa69d26
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/findnearmv.h
+4
-8
4 additions, 8 deletions
vp8/common/findnearmv.h
with
4 additions
and
8 deletions
vp8/common/findnearmv.h
+
4
−
8
View file @
21970d1d
...
...
@@ -18,18 +18,14 @@
#include
"treecoder.h"
static
void
mv_bias
(
int
refmb_ref_frame_sign_bias
,
int
refframe
,
int_mv
*
mvp
,
const
int
*
ref_frame_sign_bias
)
static
void
mv_bias
(
int
refmb_ref_frame_sign_bias
,
int
refframe
,
int_mv
*
mvp
,
const
int
*
ref_frame_sign_bias
)
{
MV
xmv
;
xmv
=
mvp
->
as_mv
;
if
(
refmb_ref_frame_sign_bias
!=
ref_frame_sign_bias
[
refframe
])
{
x
mv
.
row
*=
-
1
;
x
mv
.
col
*=
-
1
;
mvp
->
as_
mv
.
row
*=
-
1
;
mvp
->
as_
mv
.
col
*=
-
1
;
}
mvp
->
as_mv
=
xmv
;
}
#define LEFT_TOP_MARGIN (16 << 3)
...
...
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