commit | 67653312c11ece51fa633390fd7cfcabff9559bb | [log] [tgz] |
---|---|---|
author | Camera Software Integration <camswint@localhost> | Tue Jan 05 17:41:22 2016 -0800 |
committer | sujit das <camswint@localhost> | Fri Jan 08 13:36:51 2016 +0530 |
tree | 884fc7ea685571119d0cbd67d18fabc46aea8972 | |
parent | dfd1abb2af1788d68f61ce0365b980e19100a284 [diff] |
SnapdragonCamera: fix the incorrect aspect ratio calculation For square size picture, the function that calculates the closest aspect ratio, forced it to use 4:3 ratio and caused the preview stretched from 1:1 to 4:3. Fix the issue by skipping the logic that forces it to 4:3 aspect ratio when the picture size is square. Change-Id: Ia7d8250152ce37f4444f7db7c752eeb8489d9a2f CRs-Fixed: 955824