diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-02-25 17:51:54 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-03-03 09:50:28 +0100 |
commit | 1223da76a2671e9bbe05e286fb0ce8b29b55b529 (patch) | |
tree | bfb210f8a3da0b06fc42848c761199cbc52e2500 /include/android/metadata/system/camera_metadata.h | |
parent | eba862b0e30e73d1e1b05845a8c932bc0ff576ee (diff) |
android: camera_buffer: Add method to get the JPEG blob size
To maintain compatibility with platforms that do not provide a memory
backend implementation add a method to be return the size of the buffer
used for JPEG encoding capped to a maximum size.
Platforms that implement a memory backend will always calculate the
correct buffer size.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include/android/metadata/system/camera_metadata.h')
0 files changed, 0 insertions, 0 deletions