/CCITTHandle.h

https://code.google.com/p/xee/ · C Header · 37 lines · 27 code · 10 blank · 0 comment · 0 complexity · 2f95c3c2ebd4fec05ee14b49097f3f49 MD5 · raw file

  1. #import <XADMaster/CSByteStreamHandle.h>
  2. #import <XADMaster/XADPrefixCode.h>
  3. extern NSString *CCITTCodeException;
  4. @interface CCITTFaxHandle:CSByteStreamHandle
  5. {
  6. int cols,white;
  7. int col,colour,bitsleft;
  8. }
  9. -(id)initWithHandle:(CSHandle *)handle columns:(int)columns white:(int)whitevalue;
  10. -(void)resetByteStream;
  11. -(uint8_t)produceByteAtOffset:(off_t)pos;
  12. -(void)startNewLine;
  13. -(void)findNextSpanLength;
  14. @end
  15. @interface CCITTFaxT6Handle:CCITTFaxHandle
  16. {
  17. int *prevchanges,numprevchanges;
  18. int *currchanges,numcurrchanges;
  19. int prevpos,previndex,currpos,currcol,nexthoriz;
  20. XADPrefixCode *maincode,*whitecode,*blackcode;
  21. }
  22. -(id)initWithHandle:(CSHandle *)handle columns:(int)columns white:(int)whitevalue;
  23. -(void)dealloc;
  24. -(void)resetByteStream;
  25. -(void)startNewLine;
  26. -(void)findNextSpanLength;
  27. @end