HomeSort by relevance Sort by last modified time
    Searched full:next_codes (Results 1 - 1 of 1) sorted by null

  /external/webp/src/utils/
huffman.c 76 int next_codes[MAX_ALLOWED_CODE_LENGTH + 1] = { 0 }; local
97 // Calculate the initial values of 'next_codes' for each code length.
98 // next_codes[code_len] denotes the code to be assigned to the next symbol
101 next_codes[0] = -1; // Unused, as code length = 0 implies code doesn't exist.
104 next_codes[code_len] = curr_code;
110 huff_codes[symbol] = next_codes[code_lengths[symbol]]++;

Completed in 150 milliseconds