commit | bb03f5c78b9d86c6802d55e44bec7aa37612ab35 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Fri Feb 17 15:38:24 2017 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Mon Mar 20 17:58:51 2017 -0700 |
tree | 81a5f1deb9bc39ac0f5ae153621674e2122513a1 | |
parent | 8fe627901723a5006d3c8965742e57f0b9bd08eb [diff] |
QCamera2: HAL3: Validate usage flags for configure_streams If usage flag has combined bits from different consumers, fail configure_streams if camera device doesn't support it. Camera device take into consideration of below 3 factors: - stream format - stream dataspace, and - HAL interface restriction Test: Camera CTS Bug: 33777818 Change-Id: Ie2b2ad44de74ad908269bc23c8ce8ce065153a8f