Attempt to speed-up and/or sanitize MAX/MIN/CLAMP macro usage throughout
* app/appenv.h app/brightness_contrast.c app/color_balance.c app/curves.c app/gdisplay.h app/gdisplay_ops.c app/hue_saturation.c app/paint_core.c app/paint_funcs.c app/undo.c: Attempt to speed-up and/or sanitize MAX/MIN/CLAMP macro usage throughout gimp-core.
This commit is contained in:
@ -35,7 +35,7 @@
|
||||
#define UNSCALE(g,x) ((x * SCALESRC(g)) / SCALEDEST(g))
|
||||
|
||||
#define LOWPASS(x) ((x>0) ? x : 0)
|
||||
#define HIGHPASS(x,y) ((x>y) ? y : x)
|
||||
/* #define HIGHPASS(x,y) ((x>y) ? y : x) */ /* unused - == MIN */
|
||||
|
||||
|
||||
typedef enum
|
||||
|
Reference in New Issue
Block a user