Template Class CLAHETile

Class Documentation

template<int IN_TYPE, int HEIGHT, int WIDTH, int NPC, int CLIPLIMIT, int TILES_Y_MAX, int TILES_X_MAX, int TILES_Y_MIN = 4, int TILES_X_MIN = 4>
class CLAHETile

Public Functions

inline CLAHETile(int height, int width, int clip, int tilesY, int tilesX)

Public Members

int mRows
int mCols
int mColsNPCAlligned
int mTilesY
int mTilesX
int mTileHeight
int mTileWidth
int mTileWidthNPCAlligned
ap_uint<CLIP_COUNTER_BITS> mClipValue

Public Static Attributes

static constexpr int TILE_HEIGHT_MAX = (HEIGHT % TILES_Y_MIN == 0) ? HEIGHT / TILES_Y_MIN : (HEIGHT + TILES_Y_MIN) / TILES_Y_MIN
static constexpr int TILE_WIDTH_MAX = (WIDTH % TILES_X_MIN == 0) ? WIDTH / TILES_X_MIN : (WIDTH + TILES_X_MIN) / TILES_X_MIN
static constexpr int CLIP_COUNTER_BITS = xf::cv::log2<TILE_HEIGHT_MAX * TILE_WIDTH_MAX>::cvalue