commit | b729b19ff283da06d367f6f503b30bb8d4e66509 | [log] [tgz] |
---|---|---|
author | Saurabh Shah <saurshah@codeaurora.org> | Fri Aug 15 18:04:24 2014 -0700 |
committer | Saurabh Shah <saurshah@codeaurora.org> | Mon Aug 18 11:24:05 2014 -0700 |
tree | be1d6598ec16787b2eb900452bdcf382f920ff40 | |
parent | deac2f23564a96ae47c2d63be42cdf417f7a9428 [diff] |
hwc: src split: Fix unwanted scaling with H-flip Source split splits the crop and position into half, but if the widths are odd and the left, right crops are swapped for H-flip, it induces a scaling that is unaccounted for while allocating pipes. This could lead to DMA pipes having scaling. To fix this, the patch manipulates position width, if a swap happens. Change-Id: I1b3ed582740fd49e651407be422820f60fe59cc6