digiKam
colorfxfilter.cpp File Reference

Namespaces

 Digikam
 

Macros

#define Lut3DSetPixel(table, w, x, y, p)
 

Macro Definition Documentation

◆ Lut3DSetPixel

#define Lut3DSetPixel (   table,
  w,
  x,
  y,
 
)
Value:
table[((y) * (w) + (x)) * 4 + 0] = qRed(p) * 65535 / 255; \
table[((y) * (w) + (x)) * 4 + 1] = qGreen(p) * 65535 / 255; \
table[((y) * (w) + (x)) * 4 + 2] = qBlue(p) * 65535 / 255;