commit | 3aa9ae979c4250afa58572ef04671d905d9e4f74 | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Fri Feb 23 17:21:51 2018 -0800 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Wed Feb 28 16:00:18 2018 -0800 |
tree | e881aec08003c525a10b1b59354470a6d9c2ade9 | |
parent | 58dd1650c725c4e3805ed1a5479d13f16ac1272b [diff] |
Camera: add external camera fps control V4L2 doesn't seem to allow changing fps at runtime, so we need to wait until pipeline is idle and reconfigure V4L2 streams. Also update the fps filtering logic to make sure supported fps are consistent as long as the major dimension is the same. Ex: for 4:3 webcams, all 1280*N sizes has the same fps set, or for 16:9 webcams, all N*720 sizes has the same fps set. Bug: 72261912 Change-Id: I534f09bebadb2f532a030a841633a8be7d3a87cc