When the sample size is larger than 1.
The calculation of image's height and width should be rounding up not down.
Change-Id: I6c2ad1f630d1f8f9392594887e23f294ecde2352
The functionality of tile-based decode is enabled by default.
To disable it, mark off the flag of ANDROID_TILE_BASED_DECODE in Android.mk
Change-Id: Ib9f7839095b0ca55260c28d3c499c871e81332ea