commit | 43d63ba523c3c0df6656431df769b7bfb48d9eff | [log] [tgz] |
---|---|---|
author | Wilhelm Fitzpatrick <rafial@cyngn.com> | Fri Nov 14 16:31:35 2014 -0800 |
committer | Jackeagle <jackeagle102@gmail.com> | Tue Nov 12 02:49:34 2019 -0500 |
tree | 7a140b779db21f8baa1a95e66f3f00c54b096620 | |
parent | b79f13d99e2d2cf2366100af67ade4d277016633 [diff] |
CameraNext: dynamically generate available photo resolutions Instead of depending on a large matching table, generated the list of picture sizes to show to the user directly from the supported list returned by the camera. The list is filtered to remove uselessly small resolutions on modern devices, to group resolutions by aspect ratio, and to filter out fairly similar sizes. Change-Id: I47a67a89786543baec133cf7e71df9819793ebac Signed-off-by: Chippa-a <vusal1372@gmail.com>