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
1c7aa8bb
Commit
1c7aa8bb
authored
11 years ago
by
Alex Converse
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "Remove full scale duplicates of bsize."
parents
2fa80cdd
82590821
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_pickmode.c
+4
-6
vp9/encoder/vp9_pickmode.c
with
4 additions
and
6 deletions
vp9/encoder/vp9_pickmode.c
+
4
−
6
View file @
1c7aa8bb
...
@@ -188,12 +188,11 @@ static void model_rd_for_sb_y(VP9_COMP *cpi, BLOCK_SIZE bsize,
...
@@ -188,12 +188,11 @@ static void model_rd_for_sb_y(VP9_COMP *cpi, BLOCK_SIZE bsize,
struct
macroblock_plane
*
const
p
=
&
x
->
plane
[
0
];
struct
macroblock_plane
*
const
p
=
&
x
->
plane
[
0
];
struct
macroblockd_plane
*
const
pd
=
&
xd
->
plane
[
0
];
struct
macroblockd_plane
*
const
pd
=
&
xd
->
plane
[
0
];
const
BLOCK_SIZE
bs
=
get_plane_block_size
(
bsize
,
pd
);
int
var
=
cpi
->
fn_ptr
[
bs
].
vf
(
p
->
src
.
buf
,
p
->
src
.
stride
,
int
var
=
cpi
->
fn_ptr
[
bs
ize
].
vf
(
p
->
src
.
buf
,
p
->
src
.
stride
,
pd
->
dst
.
buf
,
pd
->
dst
.
stride
,
&
sse
);
pd
->
dst
.
buf
,
pd
->
dst
.
stride
,
&
sse
);
vp9_model_rd_from_var_lapndz
(
sse
+
var
,
1
<<
num_pels_log2_lookup
[
bs
],
vp9_model_rd_from_var_lapndz
(
sse
+
var
,
1
<<
num_pels_log2_lookup
[
bs
ize
],
pd
->
dequant
[
1
]
>>
3
,
&
rate
,
&
dist
);
pd
->
dequant
[
1
]
>>
3
,
&
rate
,
&
dist
);
*
out_rate_sum
=
rate
;
*
out_rate_sum
=
rate
;
*
out_dist_sum
=
dist
<<
3
;
*
out_dist_sum
=
dist
<<
3
;
...
@@ -211,7 +210,6 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
...
@@ -211,7 +210,6 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
MB_MODE_INFO
*
mbmi
=
&
xd
->
mi
[
0
]
->
mbmi
;
MB_MODE_INFO
*
mbmi
=
&
xd
->
mi
[
0
]
->
mbmi
;
struct
macroblock_plane
*
const
p
=
&
x
->
plane
[
0
];
struct
macroblock_plane
*
const
p
=
&
x
->
plane
[
0
];
struct
macroblockd_plane
*
const
pd
=
&
xd
->
plane
[
0
];
struct
macroblockd_plane
*
const
pd
=
&
xd
->
plane
[
0
];
const
BLOCK_SIZE
block_size
=
get_plane_block_size
(
bsize
,
&
xd
->
plane
[
0
]);
MB_PREDICTION_MODE
this_mode
,
best_mode
=
ZEROMV
;
MB_PREDICTION_MODE
this_mode
,
best_mode
=
ZEROMV
;
MV_REFERENCE_FRAME
ref_frame
,
best_ref_frame
=
LAST_FRAME
;
MV_REFERENCE_FRAME
ref_frame
,
best_ref_frame
=
LAST_FRAME
;
int_mv
frame_mv
[
MB_MODE_COUNT
][
MAX_REF_FRAMES
];
int_mv
frame_mv
[
MB_MODE_COUNT
][
MAX_REF_FRAMES
];
...
@@ -261,7 +259,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
...
@@ -261,7 +259,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
x
->
pred_mv_sad
[
ref_frame
]
=
INT_MAX
;
x
->
pred_mv_sad
[
ref_frame
]
=
INT_MAX
;
if
(
cpi
->
ref_frame_flags
&
flag_list
[
ref_frame
])
{
if
(
cpi
->
ref_frame_flags
&
flag_list
[
ref_frame
])
{
vp9_setup_buffer_inter
(
cpi
,
x
,
tile
,
vp9_setup_buffer_inter
(
cpi
,
x
,
tile
,
ref_frame
,
b
lock_
size
,
mi_row
,
mi_col
,
ref_frame
,
bsize
,
mi_row
,
mi_col
,
frame_mv
[
NEARESTMV
],
frame_mv
[
NEARMV
],
yv12_mb
);
frame_mv
[
NEARESTMV
],
frame_mv
[
NEARMV
],
yv12_mb
);
}
}
frame_mv
[
NEWMV
][
ref_frame
].
as_int
=
INVALID_MV
;
frame_mv
[
NEWMV
][
ref_frame
].
as_int
=
INVALID_MV
;
...
...
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