Lines Matching refs:htrees
231 HuffmanCode hcode = htree_group->htrees[GREEN][bits]; in BuildPackedTable()
239 bits >>= AccumulateHCode(htree_group->htrees[RED][bits], 16, huff); in BuildPackedTable()
240 bits >>= AccumulateHCode(htree_group->htrees[BLUE][bits], 0, huff); in BuildPackedTable()
241 bits >>= AccumulateHCode(htree_group->htrees[ALPHA][bits], 24, huff); in BuildPackedTable()
419 HuffmanCode** const htrees = htree_group->htrees; in ReadHuffmanCodes() local
426 htrees[j] = next; in ReadHuffmanCodes()
453 const int red = htrees[RED][0].value; in ReadHuffmanCodes()
454 const int blue = htrees[BLUE][0].value; in ReadHuffmanCodes()
455 const int alpha = htrees[ALPHA][0].value; in ReadHuffmanCodes()
458 if (total_size == 0 && htrees[GREEN][0].value < NUM_LITERAL_CODES) { in ReadHuffmanCodes()
460 htree_group->literal_arb |= htrees[GREEN][0].value << 8; in ReadHuffmanCodes()
781 HuffmanCode** const htrees = hdr->htree_groups_[i].htrees; in Is8bOptimizable() local
782 if (htrees[RED][0].bits > 0) return 0; in Is8bOptimizable()
783 if (htrees[BLUE][0].bits > 0) return 0; in Is8bOptimizable()
784 if (htrees[ALPHA][0].bits > 0) return 0; in Is8bOptimizable()
943 code = ReadSymbol(htree_group->htrees[GREEN], br); in DecodeAlphaData()
959 const int dist_symbol = ReadSymbol(htree_group->htrees[DIST], br); in DecodeAlphaData()
1062 code = ReadSymbol(htree_group->htrees[GREEN], br); in DecodeImageData()
1070 red = ReadSymbol(htree_group->htrees[RED], br); in DecodeImageData()
1072 blue = ReadSymbol(htree_group->htrees[BLUE], br); in DecodeImageData()
1073 alpha = ReadSymbol(htree_group->htrees[ALPHA], br); in DecodeImageData()
1096 const int dist_symbol = ReadSymbol(htree_group->htrees[DIST], br); in DecodeImageData()