commit | e826797867c4d551d7d26edfffde5470a44fdeff | [log] [tgz] |
---|---|---|
author | Ranjith Kagathi Ananda <ranjith@codeaurora.org> | Thu Sep 24 00:15:31 2015 -0700 |
committer | Chien-Yu Chen <cychen@google.com> | Thu Sep 24 14:08:09 2015 -0700 |
tree | 8b3d3dfd21ea0cc16628a8f682dea64c67fb494e | |
parent | fa4638619ef20f71c0036e7b23752c70378d3c94 [diff] |
QCamera2/HAL3: Use mOpMode instead of mBatchSize in callback mBatchSize is updated in process_capture_request. To access mBatchSize in callback, need to add additional mutex lock which can affect the performance due to thread scheduling. Instead use mOpMode to decide between handleBatchMetadata and handleMetadata Bug: 24121558 Change-Id: Ibfb7b7d37300ee5cb64c03fdc38629f1aec916f3