Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
5a8cbb89
Commit
5a8cbb89
authored
May 27, 2011
by
Yunqing Wang
Committed by
Code Review
May 27, 2011
Browse files
Merge "Remove unused code"
parents
1fe5070b
2dc24635
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
vp8/encoder/rdopt.c
vp8/encoder/rdopt.c
+0
-11
No files found.
vp8/encoder/rdopt.c
View file @
5a8cbb89
...
...
@@ -1139,11 +1139,6 @@ static void rd_check_segment(VP8_COMP *cpi, MACROBLOCK *x,
c
=
&
x
->
block
[
n
];
e
=
&
x
->
e_mbd
.
block
[
n
];
if
(
cpi
->
sf
.
search_method
==
HEX
)
bestsme
=
vp8_hex_search
(
x
,
c
,
e
,
bsi
->
ref_mv
,
&
mode_mv
[
NEW4X4
],
step_param
,
sadpb
,
&
num00
,
v_fn_ptr
,
x
->
mvsadcost
,
x
->
mvcost
,
bsi
->
ref_mv
);
else
{
bestsme
=
cpi
->
diamond_search_sad
(
x
,
c
,
e
,
&
bsi
->
mvp
,
&
mode_mv
[
NEW4X4
],
step_param
,
...
...
@@ -2066,12 +2061,6 @@ void vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, int
step_param
=
sr
;
// Initial step/diamond search
if
(
cpi
->
sf
.
search_method
==
HEX
)
{
bestsme
=
vp8_hex_search
(
x
,
b
,
d
,
&
best_ref_mv
,
&
d
->
bmi
.
mv
,
step_param
,
sadpb
/*x->errorperbit*/
,
&
num00
,
&
cpi
->
fn_ptr
[
BLOCK_16X16
],
x
->
mvsadcost
,
x
->
mvcost
,
&
best_ref_mv
);
mode_mv
[
NEWMV
].
as_int
=
d
->
bmi
.
mv
.
as_int
;
}
else
{
bestsme
=
cpi
->
diamond_search_sad
(
x
,
b
,
d
,
&
mvp
,
&
d
->
bmi
.
mv
,
step_param
,
sadpb
/
2
/*x->errorperbit*/
,
&
num00
,
&
cpi
->
fn_ptr
[
BLOCK_16X16
],
x
->
mvcost
,
&
best_ref_mv
);
//sadpb < 9
mode_mv
[
NEWMV
].
as_int
=
d
->
bmi
.
mv
.
as_int
;
...
...
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