summaryrefslogtreecommitdiff
path: root/src/cam
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2021-04-30 17:10:05 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2021-05-14 17:55:58 +0900
commit1ff6887d6b2311e582978342b398d6bf557c1acd (patch)
tree070315b339fb7cb2095b3a8308060d22af8e2391 /src/cam
parent0445a2dc02e8d686566553c50e89a7e873a964aa (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')
0 files changed, 0 insertions, 0 deletions