Searched refs:codeLengths (Results 1 – 6 of 6) sorted by relevance
| /third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
| D | Decode.java | 433 int[] codeLengthCodeLengths, int numSymbols, int[] codeLengths, State s) { in readHuffmanCodeLengths() argument 451 codeLengths[symbol++] = codeLen; in readHuffmanCodeLengths() 478 codeLengths[symbol++] = repeatCodeLen; in readHuffmanCodeLengths() 489 Utils.fillIntsWithZeroes(codeLengths, symbol, numSymbols); in readHuffmanCodeLengths() 508 int[] codeLengths = new int[alphabetSizeLimit]; in readSimpleHuffmanCode() local 531 codeLengths[symbols[0]] = 1; in readSimpleHuffmanCode() 535 codeLengths[symbols[0]] = 1; in readSimpleHuffmanCode() 536 codeLengths[symbols[1]] = 1; in readSimpleHuffmanCode() 540 codeLengths[symbols[0]] = 1; in readSimpleHuffmanCode() 541 codeLengths[symbols[1]] = 2; in readSimpleHuffmanCode() [all …]
|
| D | Huffman.java | 64 static int buildHuffmanTable(int[] tableGroup, int tableIdx, int rootBits, int[] codeLengths, in buildHuffmanTable() argument 76 count[codeLengths[symbol]]++; in buildHuffmanTable() 87 if (codeLengths[symbol] != 0) { in buildHuffmanTable() 88 sorted[offset[codeLengths[symbol]]++] = symbol; in buildHuffmanTable()
|
| /third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
| D | Huffman.cs | 72 …uildHuffmanTable(int[] rootTable, int tableOffset, int rootBits, int[] codeLengths, int codeLength… in BuildHuffmanTable() argument 87 count[codeLengths[symbol]]++; in BuildHuffmanTable() 98 if (codeLengths[symbol] != 0) in BuildHuffmanTable() 100 sorted[offset[codeLengths[symbol]]++] = symbol; in BuildHuffmanTable()
|
| D | Decode.cs | 180 …dHuffmanCodeLengths(int[] codeLengthCodeLengths, int numSymbols, int[] codeLengths, Org.Brotli.Dec… in ReadHuffmanCodeLengths() argument 199 codeLengths[symbol++] = codeLen; in ReadHuffmanCodeLengths() 234 codeLengths[symbol++] = repeatCodeLen; in ReadHuffmanCodeLengths() 248 Org.Brotli.Dec.Utils.FillWithZeroes(codeLengths, symbol, numSymbols - symbol); in ReadHuffmanCodeLengths() 258 int[] codeLengths = new int[alphabetSize]; in ReadHuffmanCode() 277 codeLengths[symbols[i]] = 2; in ReadHuffmanCode() 279 codeLengths[symbols[0]] = 1; in ReadHuffmanCode() 290 codeLengths[symbols[1]] = 1; in ReadHuffmanCode() 306 codeLengths[symbols[2]] = 3; in ReadHuffmanCode() 307 codeLengths[symbols[3]] = 3; in ReadHuffmanCode() [all …]
|
| /third_party/skia/third_party/externals/brotli/js/ |
| D | decode.js | 357 function readHuffmanCodeLengths(codeLengthCodeLengths, numSymbols, codeLengths, s) { argument 379 codeLengths[symbol++] = codeLen; 409 codeLengths[symbol++] = repeatCodeLen; 419 codeLengths.fill(0, symbol, numSymbols); 444 var /** !Int32Array */ codeLengths = new Int32Array(alphabetSizeLimit); 466 codeLengths[symbols[0]] = 1; 469 codeLengths[symbols[0]] = 1; 470 codeLengths[symbols[1]] = 1; 473 codeLengths[symbols[0]] = 1; 474 codeLengths[symbols[1]] = 2; [all …]
|
| /third_party/skia/third_party/externals/brotli/research/ |
| D | brotlidump.py | 1463 codeLengths = {} 1477 codeLengths[newSymbol] = length 1480 if len(codeLengths)==1: codeLengths[list(codeLengths.keys())[0]] = 0 1482 lengthCode.setLength(codeLengths)
|