Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/lgif/
Dfx_gif.h24 #define GIF_MAX_LZW_CODE 4096 macro
144 uint8_t stack[GIF_MAX_LZW_CODE];
146 tag_Table code_table[GIF_MAX_LZW_CODE];
201 tag_Table code_table[GIF_MAX_LZW_CODE];
Dfx_gif.cpp55 FXSYS_memset(code_table, 0, sizeof(tag_Table) * GIF_MAX_LZW_CODE); in ClearTable()
56 FXSYS_memset(stack, 0, GIF_MAX_LZW_CODE); in ClearTable()
68 stack[GIF_MAX_LZW_CODE - 1 - stack_size++] = code_table[code].suffix; in DecodeString()
71 stack[GIF_MAX_LZW_CODE - 1 - stack_size++] = (uint8_t)code; in DecodeString()
75 if (code_next == GIF_MAX_LZW_CODE) { in AddCode()
80 if (++code_next < GIF_MAX_LZW_CODE) { in AddCode()
93 FXSYS_memcpy(des_buf, &stack[GIF_MAX_LZW_CODE - stack_size], des_size); in Decode()
97 FXSYS_memcpy(des_buf, &stack[GIF_MAX_LZW_CODE - stack_size], stack_size); in Decode()
143 if (code_next < GIF_MAX_LZW_CODE) { in Decode()
155 uint8_t append_char = stack[GIF_MAX_LZW_CODE - stack_size]; in Decode()
[all …]