summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2020-09-24 10:19:27 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-09-29 12:49:54 +0100
commit4c2bfc317a062bb84d7221acda8b67ec70bd2ffd (patch)
tree01b9251405612a45a0b2083c8c00b8c298f1ac3f /include
parent0e2c71402400aa74bd5d1b2c786e52ae93fed835 (diff)
ipa: raspberrypi: Tidy up variable names to be consistent
Change variable names to camel case to be consistent with the rest of the source files. Remove #define consts and replace with constexpr. Add some newlines to make the code more readable. There are no functional changes in this commit. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [Kieran: Rebase merge conflicts resolved] [Kieran: Fix checkstyle line under 80 chars] Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/ipa/raspberrypi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/ipa/raspberrypi.h b/include/libcamera/ipa/raspberrypi.h
index c9d4aa81..b3041591 100644
--- a/include/libcamera/ipa/raspberrypi.h
+++ b/include/libcamera/ipa/raspberrypi.h
@@ -41,7 +41,7 @@ enum BufferMask {
};
/* Size of the LS grid allocation. */
-#define MAX_LS_GRID_SIZE (32 << 10)
+static constexpr unsigned int MaxLsGridSize = 32 << 10;
/* List of controls handled by the Raspberry Pi IPA */
static const ControlInfoMap Controls = {