libcamera: geometry: Sort classes alphabetically
Move the Size class before the SizeRange class. No functional change. 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>
This commit is contained in:
@@ -21,6 +21,21 @@ struct Rectangle {
|
||||
const std::string toString() const;
|
||||
};
|
||||
|
||||
struct Size {
|
||||
Size()
|
||||
: Size(0, 0)
|
||||
{
|
||||
}
|
||||
|
||||
Size(unsigned int w, unsigned int h)
|
||||
: width(w), height(h)
|
||||
{
|
||||
}
|
||||
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
};
|
||||
|
||||
struct SizeRange {
|
||||
SizeRange()
|
||||
: SizeRange(0, 0, 0, 0)
|
||||
@@ -40,21 +55,6 @@ struct SizeRange {
|
||||
unsigned int maxHeight;
|
||||
};
|
||||
|
||||
struct Size {
|
||||
Size()
|
||||
: Size(0, 0)
|
||||
{
|
||||
}
|
||||
|
||||
Size(unsigned int w, unsigned int h)
|
||||
: width(w), height(h)
|
||||
{
|
||||
}
|
||||
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
};
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_GEOMETRY_H__ */
|
||||
|
||||
Reference in New Issue
Block a user