| Package | Description |
|---|---|
| org.apache.pdfbox.jbig2.decoder | |
| org.apache.pdfbox.jbig2.decoder.arithmetic | |
| org.apache.pdfbox.jbig2.segments |
| Modifier and Type | Method and Description |
|---|---|
static Bitmap |
GenericRefinementRegionDecodingProcedure.decode(ArithmeticDecoder arithDecoder,
CX cx,
int width,
int height,
short grTemplate,
boolean isTPGROn,
Bitmap referenceBitmap,
int referenceDX,
int referenceDY,
short[] grAtX,
short[] grAtY)
Executes the Generic Refinement Region decoding procedure (ยง6.3.5.6) and
returns the decoded bitmap.
|
| Constructor and Description |
|---|
ArithmeticIntegerDecoder(ArithmeticDecoder decoder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TextRegion.setParameters(ArithmeticDecoder arithmeticDecoder,
ArithmeticIntegerDecoder iDecoder,
boolean isHuffmanEncoded,
boolean sbRefine,
int sbw,
int sbh,
long sbNumInstances,
int sbStrips,
int sbNumSyms,
short sbDefaultPixel,
short sbCombinationOperator,
short transposed,
short refCorner,
short sbdsOffset,
short sbHuffFS,
short sbHuffDS,
short sbHuffDT,
short sbHuffRDWidth,
short sbHuffRDHeight,
short sbHuffRDX,
short sbHuffRDY,
short sbHuffRSize,
short sbrTemplate,
short[] sbrATX,
short[] sbrATY,
ArrayList<Bitmap> sbSyms,
int sbSymCodeLen) |
protected void |
GenericRegion.setParameters(boolean isMMREncoded,
byte sdTemplate,
boolean isTPGDon,
boolean useSkip,
short[] sdATX,
short[] sdATY,
int symWidth,
int hcHeight,
CX cx,
ArithmeticDecoder arithmeticDecoder) |
protected void |
GenericRefinementRegion.setParameters(CX cx,
ArithmeticDecoder arithmeticDecoder,
short grTemplate,
int regionWidth,
int regionHeight,
Bitmap grReference,
int grReferenceDX,
int grReferenceDY,
boolean isTPGRon,
short[] grAtX,
short[] grAtY)
Deprecated.
Use
GenericRefinementRegionDecodingProcedure.decode(
ArithmeticDecoder, CX, int, int, short, boolean, Bitmap, int, int, short[], short[])
directly, supplying the shared ArithmeticDecoder and CX as arguments.
This method will be removed in the next major release. |
Copyright © 2026 The Apache Software Foundation. All rights reserved.