17#ifdef WITH_CXX_GUARDEDALLOC
83 void SetMaskSize(
int size)
93#ifdef WITH_CXX_GUARDEDALLOC
94 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:GaussianFilter")
114 int w = (
int)map->width();
115 int h = (
int)map->height();
120 if ((y + i < 0) || (y + i >= h)) {
124 if ((x + j < 0) || (x + j >=
w)) {
128 float tmpL = map->pixel(x + j, y + i);
Configuration definitions.
Read Guarded memory(de)allocation.
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
virtual ~GaussianFilter()
GaussianFilter(float iSigma=1.0f)
static int computeMaskSize(float sigma)
GaussianFilter & operator=(const GaussianFilter &)
float getSmoothedPixel(Map *map, int x, int y)
void setSigma(float sigma)
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int
ccl_device_inline int abs(int x)