Uses of Class
org.brotli.dec.State
Packages that use State
-
Uses of State in org.brotli.dec
Fields in org.brotli.dec declared as StateMethods in org.brotli.dec with parameters of type StateModifier and TypeMethodDescription(package private) static void
BitReader.assertAccumulatorHealthy
(State s) (package private) static void
Decode.attachDictionaryChunk
(State s, byte[] data) (package private) static void
BitReader.bytesToNibbles
(State s, int byteLen) Translates bytes to halves (int/short).private static void
Decode.calculateDistanceLut
(State s, int alphabetSizeLimit) private static int
Decode.calculateFence
(State s) (package private) static void
BitReader.checkHealth
(State s, int endOfStream) (package private) static void
private static int
Decode.copyFromCompoundDictionary
(State s, int fence) (package private) static void
BitReader.copyRawBytes
(State s, byte[] data, int offset, int length) private static void
Decode.copyUncompressedData
(State s) private static int
Decode.decodeBlockTypeAndLength
(State s, int treeType, int numBlockTypes) private static void
Decode.decodeCommandBlockSwitch
(State s) private static int
Decode.decodeContextMap
(int contextMapSize, byte[] contextMap, State s) private static void
Decode.decodeDistanceBlockSwitch
(State s) private static int[]
Decode.decodeHuffmanTreeGroup
(int alphabetSizeMax, int alphabetSizeLimit, int n, State s) private static void
Decode.decodeLiteralBlockSwitch
(State s) private static void
Decode.decodeMetaBlockLength
(State s) private static int
Decode.decodeVarLenUnsignedByte
(State s) Decodes a number in the range [0..255], by reading 1 - 11 bits.private static int
Decode.decodeWindowBits
(State s) Reads brotli stream header and parses "window bits".(package private) static void
Decode.decompress
(State s) Actual decompress implementation.(package private) static void
BitReader.doFillBitWindow
(State s) (package private) static void
BitReader.doReadMoreInput
(State s) private static void
Decode.doUseDictionary
(State s, int fence) (package private) static void
Decode.enableEagerOutput
(State s) Switch decoder to "eager" mode.(package private) static void
Decode.enableLargeWindow
(State s) (package private) static void
BitReader.fillBitWindow
(State s) (package private) static int
BitReader.halfAvailable
(State s) (package private) static void
BitReader.initBitReader
(State s) private static void
Decode.initializeCompoundDictionary
(State s) private static void
Decode.initializeCompoundDictionaryCopy
(State s, int address, int length) (package private) static void
Decode.initState
(State s, InputStream input) Associate input with decoder state.(package private) static void
BitReader.jumpToByteBoundary
(State s) private static void
Decode.maybeReallocateRingBuffer
(State s) (package private) static int
private static void
(package private) static int
private static int
Decode.readBlockLength
(int[] tableGroup, int tableIdx, State s) private static int
Decode.readComplexHuffmanCode
(int alphabetSizeLimit, int skip, int[] tableGroup, int tableIdx, State s) (package private) static int
BitReader.readFewBits
(State s, int n) Fetches bits from accumulator.private static int
Decode.readHuffmanCode
(int alphabetSizeMax, int alphabetSizeLimit, int[] tableGroup, int tableIdx, State s) Decodes Huffman table from bit-stream.private static void
Decode.readHuffmanCodeLengths
(int[] codeLengthCodeLengths, int numSymbols, int[] codeLengths, State s) private static int
BitReader.readManyBits
(State s, int n) private static void
Decode.readMetablockHuffmanCodesAndContextMaps
(State s) private static int
Decode.readMetablockPartition
(State s, int treeType, int numBlockTypes) (package private) static void
BitReader.readMoreInput
(State s) Fills up the input buffer.private static void
Decode.readNextMetablockHeader
(State s) private static int
Decode.readSimpleHuffmanCode
(int alphabetSizeMax, int alphabetSizeLimit, int[] tableGroup, int tableIdx, State s) Reads up to 4 symbols directly and applies predefined histograms.private static int
Decode.readSymbol
(int[] tableGroup, int tableIdx, State s) Decodes the next Huffman code from bit-stream.(package private) static void
private static int
Decode.writeRingBuffer
(State s)