Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/jbig2/
DJBig2_HuffmanTable.cpp111 std::vector<int> FIRSTCODE(lenmax + 1); in InitCodes() local
115 FIRSTCODE[0] = 0; in InitCodes()
118 FIRSTCODE[i] = (FIRSTCODE[i - 1] + LENCOUNT[i - 1]) << 1; in InitCodes()
119 int CURCODE = FIRSTCODE[i]; in InitCodes()
DJBig2_Context.cpp1328 int* FIRSTCODE; in huffman_assign_code() local
1337 FIRSTCODE = FX_Alloc(int, LENMAX + 1); in huffman_assign_code()
1342 FIRSTCODE[0] = 0; in huffman_assign_code()
1345 FIRSTCODE[CURLEN] = (FIRSTCODE[CURLEN - 1] + LENCOUNT[CURLEN - 1]) << 1; in huffman_assign_code()
1346 CURCODE = FIRSTCODE[CURLEN]; in huffman_assign_code()
1358 FX_Free(FIRSTCODE); in huffman_assign_code()
1365 int* FIRSTCODE; in huffman_assign_code() local
1374 FIRSTCODE = FX_Alloc(int, (LENMAX + 1)); in huffman_assign_code()
1379 FIRSTCODE[0] = 0; in huffman_assign_code()
1382 FIRSTCODE[CURLEN] = (FIRSTCODE[CURLEN - 1] + LENCOUNT[CURLEN - 1]) << 1; in huffman_assign_code()
[all …]