1 unsigned char TIFFFax2DMode
[20][256];
2 unsigned char TIFFFax2DNextState
[20][256];
3 unsigned char TIFFFaxUncompAction
[20][256];
4 unsigned char TIFFFaxUncompNextState
[20][256];
5 unsigned char TIFFFax1DAction
[230][256];
6 unsigned char TIFFFax1DNextState
[230][256];
8 typedef struct tableentry
{
14 extern tableentry TIFFFaxWhiteCodes
[];
15 extern tableentry TIFFFaxBlackCodes
[];
17 static short sp_data
, sp_bit
;
22 unsigned char **inbuf
;
25 unsigned char byte
= **inbuf
;
31 decode_white_run (inbuf
)
33 unsigned char **inbuf
;
45 sp_data
= fetchByte (inbuf
);
48 action
= TIFFFax1DAction
[state
][sp_data
];
49 state
= TIFFFax1DNextState
[state
][sp_data
];
57 action
= (TIFFFaxWhiteCodes
[ action
- 2 ].runlen
) ;