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
a5ecaca6
Commit
a5ecaca6
authored
Feb 01, 2011
by
Scott LaVarnway
Browse files
Removed unnecessary B_MODE_INFO memset.
Change-Id: I2bcef6a8e47f88542861fd1356631ca934e2a0e7
parent
b18df82e
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/rdopt.c
View file @
a5ecaca6
...
...
@@ -711,16 +711,10 @@ int vp8_rd_pick_intra16x16mby_mode(VP8_COMP *cpi,
int
distortion
;
int
best_rd
=
INT_MAX
;
int
this_rd
;
int
i
;
//Y Search for 16x16 intra prediction mode
for
(
mode
=
DC_PRED
;
mode
<=
TM_PRED
;
mode
++
)
{
for
(
i
=
0
;
i
<
16
;
i
++
)
{
vpx_memset
(
&
x
->
e_mbd
.
block
[
i
].
bmi
,
0
,
sizeof
(
B_MODE_INFO
));
}
x
->
e_mbd
.
mode_info_context
->
mbmi
.
mode
=
mode
;
vp8_build_intra_predictors_mby_ptr
(
&
x
->
e_mbd
);
...
...
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