Squeak Class Documentation category index | class index  
 
JPEGReaderPlugin
  category: VMConstruction-Plugins
  superclass: InterpreterPlugin
  subclasses:

JPEGReaderPlugin translate.
JPEGReaderPlugin browseAllCallsOn: #halt.

instance methods
  decoding
  cbColorComponentFrom:
colorComponent:from:
colorComponentBlocks:from:
colorConvertGrayscaleMCU
colorConvertMCU
crColorComponentFrom:
decodeBlockInto:component:
idctBlockInt:qt:
nextSampleCb
nextSampleCr
nextSampleFrom:blocks:
nextSampleY
scaleAndSignExtend:inFieldWidth:
yColorComponentFrom:

  initialize
  stInit

  primitives
  primitiveColorConvertGrayscaleMCU
primitiveColorConvertMCU
primitiveDecodeMCU
primitiveIdctInt

  stream support
  fillBuffer
getBits:
jpegDecodeValueFrom:size:
loadJPEGStreamFrom:
storeJPEGStreamOn:

class methods
  class initialization
  initialize

  translation
  declareCVarsIn:

instance methods
  decoding top  
 

cbColorComponentFrom:


 

colorComponent:from:


 

colorComponentBlocks:from:


 

colorConvertGrayscaleMCU


 

colorConvertMCU


 

crColorComponentFrom:


 

decodeBlockInto:component:


 

idctBlockInt:qt:


 

nextSampleCb


 

nextSampleCr


 

nextSampleFrom:blocks:


 

nextSampleY


 

scaleAndSignExtend:inFieldWidth:


 

yColorComponentFrom:


  initialize top  
 

stInit


  primitives top  
 

primitiveColorConvertGrayscaleMCU

Requires:
JPEGColorComponent
bits
WordArray with: 3*Integer (residuals)
ditherMask


 

primitiveColorConvertMCU

Requires:
Array with: 3*JPEGColorComponent
bits
WordArray with: 3*Integer (residuals)
ditherMask


 

primitiveDecodeMCU

In:
anArray WordArray of: DCTSize2
aColorComponent JPEGColorComponent
dcTable WordArray
acTable WordArray
stream JPEGStream


 

primitiveIdctInt

In:
anArray: IntegerArray new: DCTSize2
qt: IntegerArray new: DCTSize2.


  stream support top  
 

fillBuffer


 

getBits:


 

jpegDecodeValueFrom:size:

Decode the next value in the receiver using the given huffman table.


 

loadJPEGStreamFrom:


 

storeJPEGStreamOn:


class methods
  class initialization top  
 

initialize

JPEGReaderPlugin initialize


  translation top  
 

declareCVarsIn:

Note: This method must be implemented by all subclasses to declare variables.