Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
6989e81d
Commit
6989e81d
authored
Sep 24, 2014
by
Jingning Han
Browse files
Remove unused variable in handle_inter_mode
Change-Id: Id757d2c940756ce1b0ead2ea24af9ac0a493de05
parent
22d8c156
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
6989e81d
...
...
@@ -2145,7 +2145,6 @@ static int64_t handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
int
refs
[
2
]
=
{
mbmi
->
ref_frame
[
0
],
(
mbmi
->
ref_frame
[
1
]
<
0
?
0
:
mbmi
->
ref_frame
[
1
])
};
int_mv
cur_mv
[
2
];
int64_t
this_rd
=
0
;
DECLARE_ALIGNED_ARRAY
(
16
,
uint8_t
,
tmp_buf
,
MAX_MB_PLANE
*
64
*
64
);
int
pred_exists
=
0
;
int
intpel_mv
;
...
...
@@ -2449,7 +2448,7 @@ static int64_t handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
single_skippable
[
this_mode
][
refs
[
0
]]
=
*
skippable
;
restore_dst_buf
(
xd
,
orig_dst
,
orig_dst_stride
);
return
this_rd
;
// if 0, this
will be re-calculated by caller
return
0
;
// The rate-distortion cost
will be re-calculated by caller
.
}
void
vp9_rd_pick_intra_mode_sb
(
VP9_COMP
*
cpi
,
MACROBLOCK
*
x
,
...
...
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