libcamera: geometry: Turn Size and Rectangle into classes

SizeRange is defined as a class while Size and Rectangle are defined as
struct. This is confusing for users in forward declarations. Simplify it
by turning both structures into classes.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart
2020-07-15 01:49:32 +03:00
parent 4f509caa8e
commit 945eedaf2f
4 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -21,8 +21,8 @@ class CameraSensor;
class FrameBuffer;
class MediaDevice;
class Request;
class Size;
class V4L2Subdevice;
struct Size;
struct StreamConfiguration;
class CIO2Device
+1 -1
View File
@@ -17,7 +17,7 @@ namespace libcamera {
class FrameBuffer;
class MediaDevice;
struct Size;
class Size;
struct StreamConfiguration;
class ImgUDevice
+1 -1
View File
@@ -20,7 +20,7 @@ namespace libcamera {
class FrameBuffer;
class MediaDevice;
struct Size;
class Size;
class SizeRange;
struct StreamConfiguration;
class V4L2M2MDevice;