Searched refs:numBlockTypes (Results 1 – 4 of 4) sorted by relevance
/external/brotli/csharp/org/brotli/dec/ |
D | Decode.cs | 424 if (blockType >= state.numBlockTypes[treeType]) in DecodeBlockTypeAndLength() 426 blockType -= state.numBlockTypes[treeType]; in DecodeBlockTypeAndLength() 551 state.numBlockTypes[i] = DecodeVarLenUnsignedByte(br) + 1; in ReadMetablockHuffmanCodesAndContextMaps() 553 if (state.numBlockTypes[i] > 1) in ReadMetablockHuffmanCodesAndContextMaps() 555 …ReadHuffmanCode(state.numBlockTypes[i] + 2, state.blockTypeTrees, i * Org.Brotli.Dec.Huffman.Huffm… in ReadMetablockHuffmanCodesAndContextMaps() 566 state.contextModes = new byte[state.numBlockTypes[0]]; in ReadMetablockHuffmanCodesAndContextMaps() 567 for (int i = 0; i < state.numBlockTypes[0]; ) in ReadMetablockHuffmanCodesAndContextMaps() 570 int limit = System.Math.Min(i + 96, state.numBlockTypes[0]); in ReadMetablockHuffmanCodesAndContextMaps() 578 state.contextMap = new byte[state.numBlockTypes[0] << LiteralContextBits]; in ReadMetablockHuffmanCodesAndContextMaps() 579 …int numLiteralTrees = DecodeContextMap(state.numBlockTypes[0] << LiteralContextBits, state.context… in ReadMetablockHuffmanCodesAndContextMaps() [all …]
|
D | State.cs | 38 internal readonly int[] numBlockTypes = new int[3]; field in Org.Brotli.Dec.State
|
/external/brotli/java/org/brotli/dec/ |
D | Decode.java | 483 private static int decodeBlockTypeAndLength(State s, int treeType, int numBlockTypes) { in decodeBlockTypeAndLength() argument 497 if (blockType >= numBlockTypes) { in decodeBlockTypeAndLength() 498 blockType -= numBlockTypes; in decodeBlockTypeAndLength() 585 private static int readMetablockPartition(State s, int treeType, int numBlockTypes) { in readMetablockPartition() argument 586 if (numBlockTypes <= 1) { in readMetablockPartition() 589 readHuffmanCode(numBlockTypes + 2, s.blockTrees, treeType * HUFFMAN_TABLE_SIZE, s); in readMetablockPartition()
|
/external/brotli/js/ |
D | decode.js | 495 function decodeBlockTypeAndLength(s, treeType, numBlockTypes) { argument 511 if (blockType >= numBlockTypes) { 512 blockType -= numBlockTypes; 617 function readMetablockPartition(s, treeType, numBlockTypes) { argument 618 if (numBlockTypes <= 1) { 621 readHuffmanCode(numBlockTypes + 2, s.blockTrees, treeType * 1080, s);
|