Class ArithmeticDecoder
- java.lang.Object
-
- org.apache.pdfbox.jbig2.decoder.arithmetic.ArithmeticDecoder
-
public class ArithmeticDecoder extends java.lang.ObjectThis class represents the arithmetic decoder, described in ISO/IEC 14492:2001 in E.3
-
-
Constructor Summary
Constructors Constructor Description ArithmeticDecoder(javax.imageio.stream.ImageInputStream iis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidbyteIn()intdecode(CX cx)(package private) intgetA()(package private) longgetC()private voidinit()private intlpsExchange(CX cx, int icx, int qeValue)private intmpsExchange(CX cx, int icx)private voidrenormalize()
-
-
-
Method Detail
-
init
private void init() throws java.io.IOException- Throws:
java.io.IOException
-
decode
public int decode(CX cx) throws java.io.IOException
- Throws:
java.io.IOException
-
byteIn
private void byteIn() throws java.io.IOException- Throws:
java.io.IOException
-
renormalize
private void renormalize() throws java.io.IOException- Throws:
java.io.IOException
-
mpsExchange
private int mpsExchange(CX cx, int icx)
-
lpsExchange
private int lpsExchange(CX cx, int icx, int qeValue)
-
getA
int getA()
-
getC
long getC()
-
-