Lines Matching defs:histo
232 uint32_t* const histo =
233 (uint32_t*)WebPSafeCalloc(kHistoTotal, sizeof(*histo) * 256);
234 if (histo != NULL) {
246 &histo[kHistoAlpha * 256],
247 &histo[kHistoRed * 256],
248 &histo[kHistoGreen * 256],
249 &histo[kHistoBlue * 256]);
251 &histo[kHistoAlphaPred * 256],
252 &histo[kHistoRedPred * 256],
253 &histo[kHistoGreenPred * 256],
254 &histo[kHistoBluePred * 256]);
256 &histo[kHistoRedSubGreen * 256],
257 &histo[kHistoBlueSubGreen * 256]);
259 &histo[kHistoRedPredSubGreen * 256],
260 &histo[kHistoBluePredSubGreen * 256]);
264 ++histo[kHistoPalette * 256 + (hash & 0xff)];
280 ++histo[kHistoRedPredSubGreen * 256];
281 ++histo[kHistoBluePredSubGreen * 256];
282 ++histo[kHistoRedPred * 256];
283 ++histo[kHistoGreenPred * 256];
284 ++histo[kHistoBluePred * 256];
285 ++histo[kHistoAlphaPred * 256];
288 entropy_comp[j] = VP8LBitsEntropy(&histo[j * 256], 256, NULL);
328 &histo[256 * kHistoPairs[*min_entropy_ix][0]];
330 &histo[256 * kHistoPairs[*min_entropy_ix][1]];
339 free(histo);
437 const VP8LHistogram* const histo = histogram_image->histograms[i];
441 (k == 0) ? VP8LHistogramNumCodes(histo->palette_code_bits_) :
478 VP8LHistogram* const histo = histogram_image->histograms[i];
479 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0);
480 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1);
481 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2);
482 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3);
483 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4);