diff options
author | Lajos Molnar <lajos@ti.com> | 2012-05-07 16:42:31 -0500 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2012-05-21 13:37:50 -0700 |
commit | 0af28b8e2f7230fb668574eb70fb21d9c2d0e6da (patch) | |
tree | a05d990fd56f83e6253eacc6372d3ad82f7b8b83 /camera | |
parent | 20378dab887afa84de9d7af726fa2767ec77330a (diff) | |
download | hardware_ti_omap4-0af28b8e2f7230fb668574eb70fb21d9c2d0e6da.zip hardware_ti_omap4-0af28b8e2f7230fb668574eb70fb21d9c2d0e6da.tar.gz hardware_ti_omap4-0af28b8e2f7230fb668574eb70fb21d9c2d0e6da.tar.bz2 |
hwc: Fix truncation errors in scaling decision
When checking if we are downscaling beyond what the hardware
supports, we were dividing by the factors rather than multiplying
the other side with them. The truncation of the divisions had
hwc allowing downscaling by a factor slightly larger than what
was supported.
Change-Id: I6ae4d897f4afe68ae26f0d7385e4003d6f2a4253
Signed-off-by: Lajos Molnar <lajos@ti.com>
Diffstat (limited to 'camera')
0 files changed, 0 insertions, 0 deletions