/prebuilts/go/darwin-x86/src/compress/flate/ |
huffman_code.go | 12 // hcode is a huffman code with a bit code and bit length. 13 type hcode struct { type 18 codes []hcode 50 // set sets the code and length of an hcode. 51 func (h *hcode) set(code uint16, length uint16) { 59 return &huffmanEncoder{codes: make([]hcode, size)} 91 codes[ch] = hcode{code: reverseBits(bits, byte(size)), len: size} 100 codes[ch] = hcode{code: reverseBits(uint16(ch), 5), len: 5} 262 h.codes[node.literal] = hcode{code: reverseBits(code, uint8(n)), len: uint16(n)}
|
huffman_bit_writer.go | 335 func (w *huffmanBitWriter) writeCode(c hcode) { 585 func (w *huffmanBitWriter) writeTokens(tokens []token, leCodes, oeCodes []hcode) {
|
/prebuilts/go/linux-x86/src/compress/flate/ |
huffman_code.go | 12 // hcode is a huffman code with a bit code and bit length. 13 type hcode struct { type 18 codes []hcode 50 // set sets the code and length of an hcode. 51 func (h *hcode) set(code uint16, length uint16) { 59 return &huffmanEncoder{codes: make([]hcode, size)} 91 codes[ch] = hcode{code: reverseBits(bits, byte(size)), len: size} 100 codes[ch] = hcode{code: reverseBits(uint16(ch), 5), len: 5} 262 h.codes[node.literal] = hcode{code: reverseBits(code, uint8(n)), len: uint16(n)}
|
huffman_bit_writer.go | 335 func (w *huffmanBitWriter) writeCode(c hcode) { 585 func (w *huffmanBitWriter) writeTokens(tokens []token, leCodes, oeCodes []hcode) {
|
/external/webp/src/dec/ |
vp8l_dec.c | 219 static int AccumulateHCode(HuffmanCode hcode, int shift, 221 huff->bits += hcode.bits; 222 huff->value |= (uint32_t)hcode.value << shift; 224 return hcode.bits; 232 HuffmanCode hcode = htree_group->htrees[GREEN][bits]; local 233 if (hcode.value >= NUM_LITERAL_CODES) { 234 huff->bits = hcode.bits + BITS_SPECIAL_MARKER; 235 huff->value = hcode.value; 239 bits >>= AccumulateHCode(hcode, 8, huff); [all...] |
/external/syslinux/com32/lib/jpeg/ |
tinyjpeg.c | 224 int value, hcode; local 228 look_nbits(priv->reservoir, priv->nbits_in_reservoir, priv->stream, HUFFMAN_HASH_NBITS, hcode); 229 value = huffman_table->lookup[hcode]; 242 look_nbits(priv->reservoir, priv->nbits_in_reservoir, priv->stream, nbits, hcode); 246 if (slowtable[0] == hcode) {
|
/external/valgrind/coregrind/ |
m_transtab.c | 716 void* hcode ) 732 key.start = hcode; 751 /* Can only half check that the found TTEntry contains hcode, 752 due to not having a length value for the hcode in the 754 vg_assert((UChar*)sec->tt[tteNo].tcptr <= (UChar*)hcode); 765 /* Figure out whether or not hcode is jitted code present in the main 768 static Bool is_in_the_main_TC ( const void* hcode ) 775 if ((const UChar*)hcode >= (const UChar*)sectors[sno].tc 776 && (const UChar*)hcode <= (const UChar*)sectors[sno].tc_next 2165 Addr hcode; member in struct:__anon35781 [all...] |
/external/valgrind/coregrind/m_scheduler/ |
scheduler.c | 1149 Addr hcode = 0; local [all...] |