ref: a5ecaca6a79798008975ce84fd53303721642248
parent: b18df82e1d40ac30f97e6ab22b63efe28bbfca2a
author: Scott LaVarnway <slavarnway@google.com>
date: Tue Feb 1 06:35:08 EST 2011
Removed unnecessary B_MODE_INFO memset. Change-Id: I2bcef6a8e47f88542861fd1356631ca934e2a0e7
--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -711,16 +711,10 @@
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);