Using vp9_copy and vp9_zero instead of custom code.

Change-Id: Id9b6ceeddca3f9b34bfada5c499b1e7a2f42c30b
This commit is contained in:
Dmitry Kovalev
2013-07-02 17:19:16 -07:00
parent 31403080ff
commit 429070987a
7 changed files with 32 additions and 39 deletions

View File

@@ -585,9 +585,9 @@ static void read_inter_mode_info(VP9D_COMP *pbi, MODE_INFO *mi,
mi->bmi[j].as_mv[1].as_int = secondmv.as_int;
if (bh == 2)
vpx_memcpy(&mi->bmi[j + 2], &mi->bmi[j], sizeof(mi->bmi[j]));
mi->bmi[j + 2] = mi->bmi[j];
if (bw == 2)
vpx_memcpy(&mi->bmi[j + 1], &mi->bmi[j], sizeof(mi->bmi[j]));
mi->bmi[j + 1] = mi->bmi[j];
mi->mbmi.mode = blockmode;
}
}