ref: d602500d4ae6e8936ee630e92b56f87005a14828
parent: a0af41697582349310c32292e9c9ff733a412da3
author: Yaowu Xu <yaowu@google.com>
date: Wed Oct 8 05:06:36 EDT 2014
Fix src frame buffer copy and extend For input source with size that is not multiple of 8, the size is rounded to 8 and saved in width or height, the original source sizes are saved in crop_width and crop_height. This commit corrects the computation of bottom and right extension amounts to use the orignal sizes, hence crop_width and crop_height. In addition, this commit also adds the missed initialization for uv_crop_width and uv_crop_height. This addresses issue #834 Change-Id: I084543ca7645a4964b88f7cf8ff668f517d3a39b