Lines Matching defs:histo
199 const VP8LHistogram* const histo = histogram_image->histograms[i];
203 (k == 0) ? VP8LHistogramNumCodes(histo->palette_code_bits_) :
240 VP8LHistogram* const histo = histogram_image->histograms[i];
241 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0);
242 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1);
243 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2);
244 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3);
245 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4);
709 VP8LHistogram* const histo = VP8LAllocateHistogram(1);
710 if (histo == NULL) return VP8_ENC_ERROR_OUT_OF_MEMORY;
713 ++histo->red_[(c >> 16) & 0xff];
714 ++histo->blue_[(c >> 0) & 0xff];
716 bit_cost_before = VP8LHistogramEstimateBits(histo);
718 VP8LHistogramInit(histo, 1);
722 ++histo->red_[((c >> 16) - green) & 0xff];
723 ++histo->blue_[((c >> 0) - green) & 0xff];
725 bit_cost_after = VP8LHistogramEstimateBits(histo);
726 VP8LFreeHistogram(histo);