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
64126c3a
Commit
64126c3a
authored
Aug 01, 2014
by
Jim Bankoski
Committed by
Gerrit Code Review
Aug 04, 2014
Browse files
set but unused var in vp9_rdopt
Change-Id: Ie813af24d23c7d72b38749b3382b315daf516be5
parent
7f63dabf
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
64126c3a
...
...
@@ -1991,7 +1991,7 @@ static INLINE void restore_dst_buf(MACROBLOCKD *xd,
static
void
rd_encode_breakout_test
(
VP9_COMP
*
cpi
,
MACROBLOCK
*
x
,
BLOCK_SIZE
bsize
,
int
*
rate2
,
int64_t
*
distortion
,
int64_t
*
distortion_uv
,
int
*
disable_skip
,
int64_t
this_rd
)
{
int
*
disable_skip
)
{
VP9_COMMON
*
cm
=
&
cpi
->
common
;
MACROBLOCKD
*
xd
=
&
x
->
e_mbd
;
const
BLOCK_SIZE
y_size
=
get_plane_block_size
(
bsize
,
&
xd
->
plane
[
0
]);
...
...
@@ -2062,7 +2062,6 @@ static void rd_encode_breakout_test(VP9_COMP *cpi, MACROBLOCK *x,
*
distortion
=
(
sse
<<
4
)
+
*
distortion_uv
;
*
disable_skip
=
1
;
this_rd
=
RDCOST
(
x
->
rdmult
,
x
->
rddiv
,
*
rate2
,
*
distortion
);
}
}
}
...
...
@@ -2314,7 +2313,7 @@ static int64_t handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
if
(
!
is_comp_pred
)
{
if
(
cpi
->
allow_encode_breakout
)
rd_encode_breakout_test
(
cpi
,
x
,
bsize
,
rate2
,
distortion
,
distortion_uv
,
disable_skip
,
this_rd
);
disable_skip
);
}
if
(
!
x
->
skip
)
{
...
...
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