awips2/pythonPackages/pil/libImaging/Bit.h
root 133dc97f67 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 06a8b51d6d [formerly 9f19e3f712 [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]
Former-commit-id: 9f19e3f712
Former-commit-id: a02aeb236c
2012-01-06 08:55:05 -06:00

30 lines
541 B
C

/* Bit.h */
typedef struct {
/* CONFIGURATION */
/* Number of bits per pixel */
int bits;
/* Line padding (0 or 8) */
int pad;
/* Fill order */
/* 0=msb/msb, 1=msbfill/lsbshift, 2=lsbfill/msbshift, 3=lsb/lsb */
int fill;
/* Signed integers (0=unsigned, 1=signed) */
int sign;
/* Lookup table (not implemented) */
unsigned long lutsize;
FLOAT32* lut;
/* INTERNAL */
unsigned long mask;
unsigned long signmask;
unsigned long bitbuffer;
int bitcount;
} BITSTATE;