commit | b1c65696a6d18a18736ea6d80e601b30508cbe56 | [log] [tgz] |
---|---|---|
author | Mansoor Aftab <maftab@codeaurora.org> | Wed May 07 18:31:23 2014 -0700 |
committer | Vineeta Srivastava <vsrivastava@google.com> | Fri May 09 15:26:06 2014 -0700 |
tree | 1b3172e4e94a7e8288207afe8bd2d23e943f395b | |
parent | e6663dd5876ead1449d32d0cd5f31897f99e4f8e [diff] |
Camera3: Handle different aspect ratios for thumbnail and main image If thumbnail and main image aspect ratios are different, crop the crop the thumbnail before downscale to prevent distortion/streching. Also ensure thumbnail FOV is not outside the main image FOV in case main image is cropped. Bug: 14322819 Change-Id: I9b56fb8e94f92018aa7e8d8c2e50a7f855a4a426