ref: a33086f9253aa34f80f16849210d5da24563a24c
parent: d66eab15ddca883ed123fa09ea85977d5a7e583c
parent: a8f9b9c94ff077a95d0572c79601956d4599db67
author: Yaowu Xu <yaowu@google.com>
date: Wed Jul 17 03:46:04 EDT 2013
Merge "added missed replacement"
--- a/vpx_scale/generic/yv12extend.c
+++ b/vpx_scale/generic/yv12extend.c
@@ -103,9 +103,9 @@
const int c_h = (ybf->y_crop_height + subsampling_y) >> subsampling_y;
const int c_et = ext_size >> subsampling_y;
const int c_el = ext_size >> subsampling_x;
- const int c_eb = (ybf->border + ybf->y_height - ybf->y_crop_height +
+ const int c_eb = (ext_size + ybf->y_height - ybf->y_crop_height +
subsampling_y) >> subsampling_y;
- const int c_er = (ybf->border + ybf->y_width - ybf->y_crop_width +
+ const int c_er = (ext_size + ybf->y_width - ybf->y_crop_width +
subsampling_x) >> subsampling_x;
assert(ybf->y_height - ybf->y_crop_height < 16);
--
⑨