commit | 2efd6be69a00b55bd2c20f27a99039b5ac2c5ff3 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Fri Mar 31 14:37:36 2017 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Mon Apr 17 14:17:37 2017 -0700 |
tree | 4da0d7a32a2c60e89d57087692a7c3c95bb6ef00 | |
parent | 061d5b8c59dc6ab2ca747da21f0f67a4479973cf [diff] |
Camera: Use slowJpeg if JPEG minimum duration is less than preview fps If the minimum duration of JPEG is less than the frame duration derived from maximum fps, enable slowJpeg mode so that JPEG doesn't slow down preview. Cap the default max fps to 30 so that the switch between different sensor modes can be minimized while still allowing the app to go higher than 30fps. Test: Camera1 CTS Bug: 36692074 Change-Id: If4d367ac587c0f4d3620ca2d25063c5a12ebfceb