summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-11 18:50:16 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-18 18:13:07 +0300
commit66337b96b142684cfb471bc7055781e1b9f116f3 (patch)
tree3b84ec4c29f8569a52af0558745f93182e940d44 /include/linux
parent72afcbb0873215dd31de098e0461586ba913dcfb (diff)
libcamera: geometry: Add comparison operators to geometry classes
Add equality and inequality comparison operators for the Rectangle, Size and SizeRange classes. For the Size class, also add ordering operators. Sizes are first compared on combined width and height, then on area, and finally on width only to achieve a stable ordering. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions