Function usb_cam::formats::CLIPVALUE

Function Documentation

inline unsigned char usb_cam::formats::CLIPVALUE(const int &val)

Clip a value to the range 0<val<255. For speed this is done using an array, so can only cope with numbers in the range -128<=val<=383.