| commit | 8a0be29c19ba7c1de4a0983b8dbcafb730b17fc0 | [log] [tgz] |
|---|---|---|
| author | Jayant Chowdhary <jchowdhary@google.com> | Wed Jan 08 13:10:38 2020 -0800 |
| committer | Jayant Chowdhary <jchowdhary@google.com> | Wed Feb 19 14:48:59 2020 -0800 |
| tree | a7514664b6bda989070d4b7548783a8af1578345 | |
| parent | 450c7b2aa6e5df8cdbebd763c719b3e149fb75f2 [diff] |
Add some move constructors and assignment operators to CameraMetadata.
This avoids unnecessary copying of camera metadata which can get
expensive in cases of large camera metadata blobs.
Bug: 71727540
Test: GCA (sanity)
Test: Add CallStack::logStack() in CameraMetadata's move asignment
operator -> see that it gets called for every insertResultLocked.
Change-Id: I6c75c7ce5267126916c865b028e5f7c7f50b763b
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>