[libcamera-devel,0/2] android: metadata usage tracking
mbox series

Message ID 20200804113107.127257-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • android: metadata usage tracking
Related show

Message

Kieran Bingham Aug. 4, 2020, 11:31 a.m. UTC
These are probably mostly just out for RFC, but I've used them to
determine how many entries, and how many bytes we are actually consuming
from the metadata objects through the android layer.

If they are useful, we can integrate them, or if someone wants to
determine this information locally, they can use these directly.

They add a bit of bloat to the objects, to store 4 extra size_t
variables, but I don't think that's too heavy, as there are probably
only three instances of this class.

Kieran Bingham (2):
  android: camera_metadata: Track storage usage
  android: camera_metadata: Report storage usages

 src/android/camera_device.cpp   |  6 ++++++
 src/android/camera_metadata.cpp | 17 ++++++++++++++++-
 src/android/camera_metadata.h   | 12 ++++++++++++
 3 files changed, 34 insertions(+), 1 deletion(-)