Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
3602c431
Commit
3602c431
authored
Feb 12, 2014
by
Jingning Han
Committed by
Gerrit Code Review
Feb 12, 2014
Browse files
Merge "Use INTER_OFFSET in vp9_pick_inter_mode"
parents
56d0b360
e8b7610e
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_blockd.h
View file @
3602c431
...
...
@@ -89,7 +89,6 @@ static INLINE int is_inter_mode(MB_PREDICTION_MODE mode) {
#define INTER_OFFSET(mode) ((mode) - NEARESTMV)
/* For keyframes, intra block modes are predicted by the (already decoded)
modes for the Y blocks to the left and above us; for interframes, there
is a single probability table. */
...
...
vp9/encoder/vp9_pickmode.c
View file @
3602c431
...
...
@@ -199,7 +199,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
clamp_mv2
(
&
frame_mv
[
NEARMV
][
ref_frame
].
as_mv
,
xd
);
for
(
this_mode
=
NEARESTMV
;
this_mode
<=
NEWMV
;
++
this_mode
)
{
int
rate
=
cost
[
this_mode
-
NEARESTMV
];
int
rate
=
cost
[
INTER_OFFSET
(
this_mode
)
];
int64_t
dist
;
if
(
this_mode
==
NEWMV
)
{
...
...
Write
Preview
Supports
Markdown
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