LibreOffice Module vcl (master) 1
Macros
BitmapMedianFilter.cxx File Reference
#include <vcl/bitmap.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/BitmapMedianFilter.hxx>
#include <bitmap/BitmapWriteAccess.hxx>
Include dependency graph for BitmapMedianFilter.cxx:

Go to the source code of this file.

Macros

#define S2(a, b)
 
#define MN3(a, b, c)
 
#define MX3(a, b, c)
 
#define MNMX3(a, b, c)
 
#define MNMX4(a, b, c, d)
 
#define MNMX5(a, b, c, d, e)
 
#define MNMX6(a, b, c, d, e, f)
 

Macro Definition Documentation

◆ MN3

#define MN3 (   a,
  b,
 
)
Value:
S2(a, b); \
S2(a, c);
#define S2(a, b)

Definition at line 26 of file BitmapMedianFilter.cxx.

◆ MNMX3

#define MNMX3 (   a,
  b,
 
)
Value:
MX3(a, b, c); \
S2(a, b);
#define MX3(a, b, c)

Definition at line 32 of file BitmapMedianFilter.cxx.

◆ MNMX4

#define MNMX4 (   a,
  b,
  c,
  d 
)
Value:
S2(a, b); \
S2(c, d); \
S2(a, c); \
S2(b, d);

Definition at line 35 of file BitmapMedianFilter.cxx.

◆ MNMX5

#define MNMX5 (   a,
  b,
  c,
  d,
 
)
Value:
S2(a, b); \
S2(c, d); \
MN3(a, c, e); \
MX3(b, d, e);

Definition at line 40 of file BitmapMedianFilter.cxx.

◆ MNMX6

#define MNMX6 (   a,
  b,
  c,
  d,
  e,
 
)
Value:
S2(a, d); \
S2(b, e); \
S2(c, f); \
MN3(a, b, c); \
MX3(d, e, f);

Definition at line 45 of file BitmapMedianFilter.cxx.

◆ MX3

#define MX3 (   a,
  b,
 
)
Value:
S2(b, c); \
S2(a, c);

Definition at line 29 of file BitmapMedianFilter.cxx.

◆ S2

#define S2 (   a,
 
)
Value:
{ \
sal_Int32 t; \
if ((t = b - a) < 0) \
{ \
a += t; \
b -= t; \
} \
}
XPropertyListType t

Definition at line 17 of file BitmapMedianFilter.cxx.