diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-07-13 20:25:21 +0900 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-07-13 21:27:47 +0900 |
commit | c4b9ccb45a9f9a47e252d1ce4b5d55211a22a389 (patch) | |
tree | f372342a2b6fb809fe912d32786f6fde3d908773 /include | |
parent | 1a7f1610e9f823011de4393af8ec9c10aa6b2097 (diff) |
libcamera: utils: Add clamp()
C++11 does not support std::clamp(), add a custom implementation in
utils.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions