forked from CocoaBob/xee
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCCITTHandle.h
37 lines (27 loc) · 807 Bytes
/
CCITTHandle.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#import <XADMaster/CSByteStreamHandle.h>
#import <XADMaster/XADPrefixCode.h>
extern NSString *CCITTCodeException;
@interface CCITTFaxHandle:CSByteStreamHandle
{
int cols,white;
int col,colour,bitsleft;
}
-(id)initWithHandle:(CSHandle *)handle columns:(int)columns white:(int)whitevalue;
-(void)resetByteStream;
-(uint8_t)produceByteAtOffset:(off_t)pos;
-(void)startNewLine;
-(void)findNextSpanLength;
@end
@interface CCITTFaxT6Handle:CCITTFaxHandle
{
int *prevchanges,numprevchanges;
int *currchanges,numcurrchanges;
int prevpos,previndex,currpos,currcol,nexthoriz;
XADPrefixCode *maincode,*whitecode,*blackcode;
}
-(id)initWithHandle:(CSHandle *)handle columns:(int)columns white:(int)whitevalue;
-(void)dealloc;
-(void)resetByteStream;
-(void)startNewLine;
-(void)findNextSpanLength;
@end