Instrument Neutral Distributed Interface INDI  2.0.2
Classes | Macros
ccvt_types.h File Reference

Go to the source code of this file.

Classes

struct  PIXTYPE_bgr32
 
struct  PIXTYPE_bgr24
 
struct  PIXTYPE_rgb32
 
struct  PIXTYPE_rgb24
 

Macros

#define SAT(c)
 

Macro Definition Documentation

◆ SAT

#define SAT (   c)
Value:
if (c & (~255)) \
{ \
if (c < 0) \
c = 0; \
else \
c = 255; \
}

Definition at line 55 of file ccvt_types.h.