diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-28 15:26:20 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-02-08 11:04:21 +0100 |
commit | 756fcbaaf2df0e563e066090f1d3e529f74ebe84 (patch) | |
tree | 48832a7418fb6b60051946e80ed1c2f84368026d /utils/gen-formats.py | |
parent | 7fab304719d4f3414bdda579bff4e9cab46fc81d (diff) |
android: camera_device: Calculate MAX_JPEG_SIZE
Calculate the JPEG maximum size using the maximum preview format size
multiplied by a 1.5 factor.
The same multiplication factor is used in the existing HAL
implementations in ChromeOS.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'utils/gen-formats.py')
0 files changed, 0 insertions, 0 deletions