|
Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Go to the documentation of this file.
20 ROI(int32_t anStartRow,
21 int32_t anStartColumn,
86 (
mnWidth % anWidthMultiple) == 0;
103 return (
mnStartRow % anStartRowMultiple) == 0 &&
int32_t getEndRow() const
getEndRow Get the end row coordinate. Related to the y-axis (vertical)
Definition: ROI.h:44
bool validateHeightIsCentered(int32_t anMaxHeight) const
validateHeightIsCentered Validate if ROI is vertically centered
Definition: ROI.h:126
int32_t int32
Definition: Types.h:8
ROI()
ROI Make an invalid ROI.
Definition: ROI.cpp:18
bool validateNonZero() const
validateNonZero Validate that all the parameters are positive and width/height are non-zero
Definition: ROI.h:64
int32_t getEndColumn() const
getEndColumn Get the end column coordinate. Related to the x-axis (horizontal)
Definition: ROI.h:50
bool validateHeightIsMultiple(int32_t anMultiple) const
validateHeightIsMultiple Validate if height and start row is a multiple of anMultiple
Definition: ROI.h:112
bool validateWidthIsCentered(int32_t anMaxWidth) const
validateWidthIsCentered Validate if ROI is horizontally centered
Definition: ROI.h:119
int32 mnStartColumn
Definition: ROI.h:36
bool validateBounds(int32_t anMaxWidth, int32_t anMaxHeight) const
validateBounds Validate that selected ROI is within sensor width/height
Definition: ROI.h:72
int32_t height() const
Definition: ROI.h:33
std::string toString() const
toString Create printable string to describe this ROI for debug
Definition: ROI.cpp:26
bool validateWidthIsMultiple(int32_t anStartColumnMultiple, int32_t anWidthMultiple) const
validateWidthIsMultiple Validate if width and start column is a multiple of provided parameters
Definition: ROI.h:84
Definition: CameraTypes.h:7
int32_t width() const
Definition: ROI.h:32
int32_t y() const
Definition: ROI.h:31
bool validateWidthIsMultiple(int32_t anMultiple) const
validateWidthIsMultiple Validate if width and start column is a multiple of anMultiple
Definition: ROI.h:94
int32 mnHeight
Definition: ROI.h:38
int32 mnWidth
Definition: ROI.h:37
int32 mnStartRow
Definition: ROI.h:35
bool validateHeightIsMultiple(int32_t anStartRowMultiple, int32_t anHeightMultiple) const
validateHeightIsMultiple Validate if height and start row is a multiple of provided parameters
Definition: ROI.h:102
int32_t x() const
Definition: ROI.h:30