Blender V4.3
COM_DespeckleOperation.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::compositor
 

Macros

#define TOT_DIV_ONE   1.0f
 
#define TOT_DIV_CNR   float(M_SQRT1_2)
 
#define WTOT   (TOT_DIV_ONE * 4 + TOT_DIV_CNR * 4)
 
#define COLOR_ADD(fac)
 

Functions

BLI_INLINE int blender::compositor::color_diff (const float a[3], const float b[3], const float threshold)
 

Macro Definition Documentation

◆ COLOR_ADD

#define COLOR_ADD ( fac)
Value:
{ \
madd_v4_v4fl(color_mid, in1, fac); \
if (color_diff(in1, color_org, threshold_)) { \
w += fac; \
madd_v4_v4fl(color_mid_ok, in1, fac); \
} \
}
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
Definition btQuadWord.h:119

Referenced by blender::compositor::DespeckleOperation::update_memory_buffer_partial().

◆ TOT_DIV_CNR

◆ TOT_DIV_ONE

◆ WTOT