Blender  V3.3
Namespaces | Macros | Functions
COM_DespeckleOperation.cc File Reference
#include "MEM_guardedalloc.h"
#include "COM_DespeckleOperation.h"

Go to the source code of this file.

Namespaces

 blender
 
 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)
 
#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 [1/2]

#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); \
} \
}
BLI_INLINE int color_diff(const float a[3], const float b[3], const float threshold)

◆ COLOR_ADD [2/2]

#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); \
} \
}

◆ TOT_DIV_CNR [1/2]

#define TOT_DIV_CNR   (float)M_SQRT1_2

◆ TOT_DIV_CNR [2/2]

#define TOT_DIV_CNR   (float)M_SQRT1_2

◆ TOT_DIV_ONE [1/2]

#define TOT_DIV_ONE   1.0f

◆ TOT_DIV_ONE [2/2]

#define TOT_DIV_ONE   1.0f

◆ WTOT [1/2]

#define WTOT   (TOT_DIV_ONE * 4 + TOT_DIV_CNR * 4)

◆ WTOT [2/2]

#define WTOT   (TOT_DIV_ONE * 4 + TOT_DIV_CNR * 4)