3.3.2.7. Struct StreamBlock

3.3.2.7.1. Struct Documentation

struct StreamBlock

Stream block.

Public Functions

StreamBlock()
StreamBlock(Image &&i_block_image, int i_row_idx, int i_col_idx, const Padding &i_padding)

Instanciate a stream block from its block image and its position in the input image.

Parameters
  • block_image: image buffer of this block
  • row_idx: row index of the top left corner in the input image
  • col_idx: col index of the top left corner in the input image
  • padding: required filter padding

~StreamBlock()
StreamBlock(const StreamBlock&)
StreamBlock &operator=(const StreamBlock&)
StreamBlock(StreamBlock&&)
StreamBlock &operator=(StreamBlock&&)

Public Members

Image buffer = {}
int row_idx = 0
int col_idx = 0
Padding padding = {}
bool is_initialized = false