Data Structures

struct RectPad

struct RectPad {
  int32_t left;
  int32_t top;
  int32_t right;
  int32_t bottom;
  RectPad(int64_t li, int64_t ti, int64_t ri, int64_t bi)
};
struct RectPad

Struct describing the padding configurations.

Public Functions

inline RectPad(int64_t li, int64_t ti, int64_t ri, int64_t bi)

Constructor to initialize the padding values.

Parameters:
  • li -- [in] The left padding value.

  • ti -- [in] The top padding value.

  • ri -- [in] The right padding value.

  • bi -- [in] The bottom padding value.

Public Members

int32_t bottom

The padding to be applied on the bottom side.

int32_t left

The padding to be applied on the left side.

int32_t right

The padding to be applied on the right side.

int32_t top

The padding to be applied on the top side.

struct RectRoi

struct RectRoi {
  int32_t x;
  int32_t y;
  int32_t w;
  int32_t h;
  RectRoi(int64_t xi, int64_t yi, int64_t wi, int64_t hi)
};
struct RectRoi

Struct describing the Region of Interest (ROI) configurations.

Public Functions

inline RectRoi(int64_t xi, int64_t yi, int64_t wi, int64_t hi)

Constructs a RectRoi with the specified top-left corner coordinates and dimensions.

Parameters:
  • xi -- [in] The x-coordinate of the top-left corner of the ROI.

  • yi -- [in] The y-coordinate of the top-left corner of the ROI.

  • wi -- [in] The width of the ROI.

  • hi -- [in] The height of the ROI.

Public Members

int32_t h

The height of the ROI.

int32_t w

The width of the ROI.

int32_t x

The x-coordinate of the top-left corner of the ROI.

int32_t y

The y-coordinate of the top-left corner of the ROI.