Image Component Library (ICL)
|
#include <stdint.h>
Go to the source code of this file.
Namespaces | |
icl | |
undocument this line if you encounter any issues! | |
icl::filter | |
Macros | |
#define | GET_II(x, y) ii[(x)+(y)*w] |
#define | GET_A(rx, ry, rw, rh) GET_II((rx+rw),(ry+rh)) |
#define | GET_B(rx, ry, rw, rh) GET_II((rx),(ry)) |
#define | GET_C(rx, ry, rw, rh) GET_II((rx+rw),(ry)) |
#define | GET_D(rx, ry, rw, rh) GET_II((rx),(ry+rh)) |
#define | GET_RECT(rx, ry, rw, rh) (GET_B((rx),(ry),(rw),(rh)) - GET_C((rx),(ry),(rw),(rh)) - GET_D((rx),(ry),(rw),(rh)) + GET_A((rx),(ry),(rw),(rh)) + t) |
#define | COMPLEX_STEP(rx, ry, rw, rh) |
#define | STEP |
#define | FAST_LT_DEFINITION |
#define | INST_FAST_LT(TS, TI, TD, WITH_GAMMA) |
#define | INST_FAST_LT_FOR_SRC_TYPE(SRC, WITH_GAMMA) |
Functions | |
template<class TS , class TI , class TD , class TT , bool WITH_GAMMA> | |
void | icl::filter::fast_lt (const TS *psrc, const TI *ii, TD *pdst, int w, int h, int r, TT t, float gs, int channel) |
Internally used helper function. More... | |
template<class TS , class TI , class TD , class TT , bool WITH_GAMMA> | |
void | icl::filter::fast_lt_impl (const TS *psrc, const TI *ii, TD *pdst, int w, int h, int r, TT t, float gs, int channel) |
Internally used helper function. More... | |
#define COMPLEX_STEP | ( | rx, | |
ry, | |||
rw, | |||
rh | |||
) |
#define FAST_LT_DEFINITION |
#define GET_A | ( | rx, | |
ry, | |||
rw, | |||
rh | |||
) | GET_II((rx+rw),(ry+rh)) |
#define GET_B | ( | rx, | |
ry, | |||
rw, | |||
rh | |||
) | GET_II((rx),(ry)) |
#define GET_C | ( | rx, | |
ry, | |||
rw, | |||
rh | |||
) | GET_II((rx+rw),(ry)) |
#define GET_D | ( | rx, | |
ry, | |||
rw, | |||
rh | |||
) | GET_II((rx),(ry+rh)) |
#define GET_II | ( | x, | |
y | |||
) | ii[(x)+(y)*w] |
#define GET_RECT | ( | rx, | |
ry, | |||
rw, | |||
rh | |||
) | (GET_B((rx),(ry),(rw),(rh)) - GET_C((rx),(ry),(rw),(rh)) - GET_D((rx),(ry),(rw),(rh)) + GET_A((rx),(ry),(rw),(rh)) + t) |
#define INST_FAST_LT | ( | TS, | |
TI, | |||
TD, | |||
WITH_GAMMA | |||
) |
#define INST_FAST_LT_FOR_SRC_TYPE | ( | SRC, | |
WITH_GAMMA | |||
) |
#define STEP |