diff options
| author | Ruben Brunk <rubenbrunk@google.com> | 2014-07-11 11:46:20 -0700 |
|---|---|---|
| committer | Ruben Brunk <rubenbrunk@google.com> | 2014-07-16 01:23:39 +0000 |
| commit | d1f113d0f0ce5099f8efba40a88398f7945bb5e0 (patch) | |
| tree | 9191016c7af12ed6fe000b3c750c67ce0a6643fa /docs/html/sdk/api_diff/16 | |
| parent | ce50e7af920bf19f3ebf6274657fc51f136c5c87 (diff) | |
DO NOT MERGE: camera2: Performance potpourri.
Bug: 16208403
Bug: 15116722
Fixes many of the performance issues in the Camera2 API and
LEGACY mode CPU path, including:
- Only call getParameters/setParameters when the request has changed.
- Cache Request/Result objects.
- Cache object hashes for long-lived CameraMetadata, TypeReference,
and Key objects with frequently used hash methods.
- Switch to Command pattern instead of repeated if/equals calls.
in frequently hit CameraMetadata get/set methods.
- Move string construction for logging behind flags to avoid extra
StringBuilder calls in frequently acquired lock methods.
- Cache results from frequently used JNI calls in object Builders.
Change-Id: I77bc4a023d4fe8bc46efcf771ff18ee268dcb9a9
Diffstat (limited to 'docs/html/sdk/api_diff/16')
0 files changed, 0 insertions, 0 deletions
