diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-06-12 01:07:52 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-06-19 02:23:01 +0200 |
commit | 22e0005fdd4c1431ee412af7f80c2edfb323125e (patch) | |
tree | be93f34c8ecea7456820164d9e6bf95c8e2b40e1 /test/timer.cpp | |
parent | 6bd094ad68fe41c4245863b855d9653a4e636287 (diff) |
libcamera: geometry: SizeRange: Add contains()
Add a method to check if a Size can fit inside a SizeRange. When
determining if a size is containable take step values into account if
they are not set to 0.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/timer.cpp')
0 files changed, 0 insertions, 0 deletions