ftp.nice.ch/pub/next/developer/resources/libraries/SurfImage.1.0.NIHS.b.tar.gz#/SurfImage/Documentation/Classes/SurfJPEGDecoder.rtf

This is SurfJPEGDecoder.rtf in view mode; [Download] [Up]

paperh18648 margl-907 margr0 margt0 margb0fi0 ri0 ql sb0 f1 fs24 Copyright f3 'e3f1 1995 by Netsurfer, Inc., All Rights Reserved.  

pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 fs28 fs16 
fs28 
fs16 
fs28 pard s5 li2116 fi0 ri1007 ql f0 b fs56 SurfJPEGDecoder 
fs16 





fs56 pard s17 li4888 fi-2771 ri1007 ql tx4888 f1 b0 fs28 fs16 fs28 f0 b fs28 Inherits From:	b0 fs28 f1 SurfDecoder
fs16 s10 fs16 fs28 f0 b fs28 Declared In:	b0 fs28 f1 SurfJPEGSupport.subproj/SurfJPEGDecoder
fs16 
fs28 pard s13 li1360 fi0 ri1007 ql f0 b fs36 fs16 




fs36 Class Description
fs16  pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs28 fs16 fs28 Implements a JPEG/JFIF image decoder.
fs28s13 li1360 fi0 ri1007 ql f0 b fs36 fs16 




fs36 Instance Variables
fs16  pard s18 li2116 fi0 ri1007 ql tx2872 f1 b0 fs28 struct surfjpeg_decompress_struct b jpegDecompInfob0 ;
struct surfjpeg_error_mgr b jpegErrMgrb0 ;
unsigned b rowsReadb0 ;
unsigned b readCountb0 ;
unsigned b totalRowsb0 ;
unsigned char **b rowPtrBufb0 ;
pard s11 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16 


fs28 jpegDecompInfo 	jpeg decoder struct
fs16 
fs28 jpegErrMgr 	jpeg error manager
fs16 
fs28 rowsRead 	rows read so far
fs16 
fs28 readCount 	# of rows to decode per pass (default 5)
fs16 
fs28 totalRows 	total rows in image
fs16 
fs28 rowPtrBuf 	row decoding buffer
pard s13 li1360 fi0 ri1007 ql f0 b fs36 fs16 




fs36 Method Types
fs16  f1 b0 fs28 s35 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16  fs28 Instantiation 	+ sharedInstance
pard s35 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16 
fs28 Class query 	+ imageUnfilteredFileTypes
pard s34 li6652 fi-503 ri1007 ql tx9676 tx10180 + canLoadFromStream:
pard s35 li6148 fi-4031 ri1007 ql tx6148 tx9676 tx10180 fs16 
fs28 JPEG Custom Configuration 	{f3 -} setReadCount:
pard s34 li6652 fi-503 ri1007 ql tx9676 tx10180 {f3 -} readCount
pard s13 li1360 fi0 ri1007 ql f0 b fs36 fs16 




fs36 Class Methods
fs16  fs36 s21 li2493 fi-1132 fi-376 fs28 fs16 fs29 b canLoadFromStream:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 + (BOOL)b canLoadFromStream:b0 (NXStream *)i streami0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Returns YES if an instance of this decoder class can decode the image contained in i streami0 .  This is by no means a definitive answer.  Restores the seek state of i streami0  before returning. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b imageUnfilteredFileTypes
s20 li3249 fi-1132 fi-756 f1 b0 fs28 + (const char *const *)b imageUnfilteredFileTypesb0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Returns a b NULLb0  terminated array of file extensions instances of this decoder class can decode. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b sharedInstance
s20 li3249 fi-1132 fi-756 f1 b0 fs28 + b sharedInstanceb0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Shared instance management.  Just for convenience; not a requirement. 
pard s13 li1360 fi0 ri1007 ql f0 b fs36 fs16 




fs36 Instance Methods
fs16  fs36 s21 li2493 fi-1132 fi-376 fs28 fs16 fs29 b readCount
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (unsigned)b  readCountb0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Returns the number of rows that will be read during each decoding pass. 
fs16 
fs28 pard s19 li2493 fi-376 ri1007 ql f0 fs28 fs16 


fs29 b setReadCount:
s20 li3249 fi-1132 fi-756 f1 b0 fs28 {f3 -} (void)b  setReadCount:b0 (unsigned)i aNumi0 b b0 
pard s0 li2116 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 Sets the readCount to i aNumi0  and reallocates i rowPtrBufi0 , as necessary. 
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.