Class ArithmeticDecoder
java.lang.Object
org.apache.pdfbox.jbig2.decoder.arithmetic.ArithmeticDecoder
This class represents the arithmetic decoder, described in ISO/IEC 14492:2001 in E.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate longprivate intprivate final ImageInputStreamprivate static final int[][]private long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbyteIn()int(package private) intgetA()(package private) longgetC()private voidinit()private intlpsExchange(CX cx, int icx, int qeValue) private intmpsExchange(CX cx, int icx) private void
-
Field Details
-
QE
private static final int[][] QE -
a
private int a -
c
private long c -
ct
private int ct -
b
private int b -
streamPos0
private long streamPos0 -
iis
-
-
Constructor Details
-
ArithmeticDecoder
- Throws:
IOException
-
-
Method Details
-
init
- Throws:
IOException
-
decode
- Throws:
IOException
-
byteIn
- Throws:
IOException
-
renormalize
- Throws:
IOException
-
mpsExchange
-
lpsExchange
-
getA
int getA() -
getC
long getC()
-