summaryrefslogtreecommitdiff
path: root/src/qcam/main.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-01-28 15:26:20 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-02-08 11:04:21 +0100
commit756fcbaaf2df0e563e066090f1d3e529f74ebe84 (patch)
tree48832a7418fb6b60051946e80ed1c2f84368026d /src/qcam/main.cpp
parent7fab304719d4f3414bdda579bff4e9cab46fc81d (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 'src/qcam/main.cpp')
0 files changed, 0 insertions, 0 deletions