diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2021-04-30 17:10:05 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2021-05-14 17:55:58 +0900 |
commit | 1ff6887d6b2311e582978342b398d6bf557c1acd (patch) | |
tree | 070315b339fb7cb2095b3a8308060d22af8e2391 /src/cam/stream_options.h | |
parent | 0445a2dc02e8d686566553c50e89a7e873a964aa (diff) |
android: camera_metadata: Auto-resize CameraMetadata
Previously we had to manually declare the size of CameraMetadata on
allocation, and its count could not be changed after construction.
Change CameraMetadata's behavior so that the user can simply add or
update entries, and the CameraMetadata will auto-resize (double the
size) as necessary. Also remove everything involved with calculating
the initial size for any CameraMetadata instances.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/stream_options.h')
0 files changed, 0 insertions, 0 deletions