commit | 7dfeecf8bb6e9b588a4df81ee2e95e84b8c63296 | [log] [tgz] |
---|---|---|
author | Tatenda Chipeperekwa <tatendac@codeaurora.org> | Thu Jan 23 17:51:16 2014 -0800 |
committer | Tatenda Chipeperekwa <tatendac@codeaurora.org> | Thu Jan 23 17:51:16 2014 -0800 |
tree | 5951156dfe23da036e592a73d64f3c103c982a27 | |
parent | bbba2e620683fefe86589257d4fbe1d42e608531 [diff] |
hwc: Add type casting to aspect ratio calculations Type casting to float prevents rounding off errors which could result in invalid or unexpected results when doing calculations with integers. Change-Id: I6d5c233c013322c4e9c7f7db61b5c604f915643c