Home
last modified time | relevance | path

Searched refs:LENCOUNT (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_HuffmanTable.cpp107 std::vector<int> LENCOUNT(lenmax + 1); in InitCodes() local
110 ++LENCOUNT[len]; in InitCodes()
113 LENCOUNT[0] = 0; in InitCodes()
115 FIRSTCODE[i] = (FIRSTCODE[i - 1] + LENCOUNT[i - 1]) << 1; in InitCodes()
DJBig2_Context.cpp1367 int* LENCOUNT; in huffman_assign_code() local
1375 LENCOUNT = FX_Alloc(int, LENMAX + 1); in huffman_assign_code()
1376 JBIG2_memset(LENCOUNT, 0, sizeof(int) * (LENMAX + 1)); in huffman_assign_code()
1379 ++LENCOUNT[PREFLEN[i]]; in huffman_assign_code()
1383 LENCOUNT[0] = 0; in huffman_assign_code()
1385 FIRSTCODE[CURLEN] = (FIRSTCODE[CURLEN - 1] + LENCOUNT[CURLEN - 1]) << 1; in huffman_assign_code()
1397 FX_Free(LENCOUNT); in huffman_assign_code()
1403 int* LENCOUNT; in huffman_assign_code() local
1411 LENCOUNT = FX_Alloc(int, (LENMAX + 1)); in huffman_assign_code()
1412 JBIG2_memset(LENCOUNT, 0, sizeof(int) * (LENMAX + 1)); in huffman_assign_code()
[all …]