Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
b791c600
Commit
b791c600
authored
11 years ago
by
Yaowu Xu
Browse files
Options
Download
Patches
Plain Diff
vp9_mbgraph.c: remove unused parameters
Change-Id: I5a01d0dccc9afc87e2adbb5ddc7d44379fe1f125
parent
c0205ebf
v1.14.0-linphone
1.4.X
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
nextgen
nextgenv2
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp9/encoder/vp9_mbgraph.c
+2
-7
vp9/encoder/vp9_mbgraph.c
with
2 additions
and
7 deletions
vp9/encoder/vp9_mbgraph.c
+
2
−
7
View file @
b791c600
...
@@ -132,7 +132,6 @@ static int do_16x16_zerozero_search(VP9_COMP *cpi, int_mv *dst_mv) {
...
@@ -132,7 +132,6 @@ static int do_16x16_zerozero_search(VP9_COMP *cpi, int_mv *dst_mv) {
return
err
;
return
err
;
}
}
static
int
find_best_16x16_intra
(
VP9_COMP
*
cpi
,
static
int
find_best_16x16_intra
(
VP9_COMP
*
cpi
,
int
mb_y_offset
,
MB_PREDICTION_MODE
*
pbest_mode
)
{
MB_PREDICTION_MODE
*
pbest_mode
)
{
MACROBLOCK
*
const
x
=
&
cpi
->
mb
;
MACROBLOCK
*
const
x
=
&
cpi
->
mb
;
MACROBLOCKD
*
const
xd
=
&
x
->
e_mbd
;
MACROBLOCKD
*
const
xd
=
&
x
->
e_mbd
;
...
@@ -173,10 +172,7 @@ static void update_mbgraph_mb_stats
...
@@ -173,10 +172,7 @@ static void update_mbgraph_mb_stats
int
mb_y_offset
,
int
mb_y_offset
,
YV12_BUFFER_CONFIG
*
golden_ref
,
YV12_BUFFER_CONFIG
*
golden_ref
,
int_mv
*
prev_golden_ref_mv
,
int_mv
*
prev_golden_ref_mv
,
int
gld_y_offset
,
YV12_BUFFER_CONFIG
*
alt_ref
,
YV12_BUFFER_CONFIG
*
alt_ref
,
int_mv
*
prev_alt_ref_mv
,
int
arf_y_offset
,
int
mb_row
,
int
mb_row
,
int
mb_col
int
mb_col
)
{
)
{
...
@@ -193,7 +189,7 @@ static void update_mbgraph_mb_stats
...
@@ -193,7 +189,7 @@ static void update_mbgraph_mb_stats
xd
->
plane
[
0
].
dst
.
stride
=
get_frame_new_buffer
(
cm
)
->
y_stride
;
xd
->
plane
[
0
].
dst
.
stride
=
get_frame_new_buffer
(
cm
)
->
y_stride
;
// do intra 16x16 prediction
// do intra 16x16 prediction
intra_error
=
find_best_16x16_intra
(
cpi
,
mb_y_offset
,
intra_error
=
find_best_16x16_intra
(
cpi
,
&
stats
->
ref
[
INTRA_FRAME
].
m
.
mode
);
&
stats
->
ref
[
INTRA_FRAME
].
m
.
mode
);
if
(
intra_error
<=
0
)
if
(
intra_error
<=
0
)
intra_error
=
1
;
intra_error
=
1
;
...
@@ -277,8 +273,7 @@ static void update_mbgraph_frame_stats(VP9_COMP *cpi,
...
@@ -277,8 +273,7 @@ static void update_mbgraph_frame_stats(VP9_COMP *cpi,
MBGRAPH_MB_STATS
*
mb_stats
=
&
stats
->
mb_stats
[
offset
+
mb_col
];
MBGRAPH_MB_STATS
*
mb_stats
=
&
stats
->
mb_stats
[
offset
+
mb_col
];
update_mbgraph_mb_stats
(
cpi
,
mb_stats
,
buf
,
mb_y_in_offset
,
update_mbgraph_mb_stats
(
cpi
,
mb_stats
,
buf
,
mb_y_in_offset
,
golden_ref
,
&
gld_left_mv
,
gld_y_in_offset
,
golden_ref
,
&
gld_left_mv
,
alt_ref
,
alt_ref
,
&
arf_left_mv
,
arf_y_in_offset
,
mb_row
,
mb_col
);
mb_row
,
mb_col
);
arf_left_mv
.
as_int
=
mb_stats
->
ref
[
ALTREF_FRAME
].
m
.
mv
.
as_int
;
arf_left_mv
.
as_int
=
mb_stats
->
ref
[
ALTREF_FRAME
].
m
.
mv
.
as_int
;
gld_left_mv
.
as_int
=
mb_stats
->
ref
[
GOLDEN_FRAME
].
m
.
mv
.
as_int
;
gld_left_mv
.
as_int
=
mb_stats
->
ref
[
GOLDEN_FRAME
].
m
.
mv
.
as_int
;
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets