summaryrefslogtreecommitdiff
path: root/src/android/jpeg/encoder.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-09-26 03:19:50 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-09-30 10:56:48 +0300
commitfa2dfd55cc9e86589e505f9edc82a94b57405677 (patch)
treedb41ab4e1415d61b0800df96104a0c0a3c001a03 /src/android/jpeg/encoder.h
parent8b378a56060fd4df8cd072d863832d49c34267b9 (diff)
libcamera: Replace usage of lroundf() with std::lround()
As explained in the coding style document, usage of std::lround() is preferred over lroundf() as it picks the correct function based on the argument type. Replace calls to lroundf() with std::lround() through libcamera. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg/encoder.h')
0 files changed, 0 insertions, 0 deletions