CLAMP
#define CLAMP BIT(0)
#define CLAMP(x) do { if (x < 0) x = 0; else if (x > 0xff) x = 0xff; } while (0)
#define CLAMP(x) if (x < 0) x = 0; if (x > 0xff) x = 0xff
#define CLAMP(x) (pwc_crop_table[MAX_OUTER_CROP_VALUE+(x)])
#define CLAMP(x) ((x)>255?255:((x)<0?0:x))
# define CLAMP(cParam, val) CLAMP_TYPE(cParam, val, unsigned)