Lines Matching defs:histo

194   uint32_t* const histo =
195 (uint32_t*)WebPSafeCalloc(kHistoTotal, sizeof(*histo) * 256);
196 if (histo != NULL) {
208 &histo[kHistoAlpha * 256],
209 &histo[kHistoRed * 256],
210 &histo[kHistoGreen * 256],
211 &histo[kHistoBlue * 256]);
213 &histo[kHistoAlphaPred * 256],
214 &histo[kHistoRedPred * 256],
215 &histo[kHistoGreenPred * 256],
216 &histo[kHistoBluePred * 256]);
218 &histo[kHistoRedSubGreen * 256],
219 &histo[kHistoBlueSubGreen * 256]);
221 &histo[kHistoRedPredSubGreen * 256],
222 &histo[kHistoBluePredSubGreen * 256]);
226 ++histo[kHistoPalette * 256 + hash];
241 ++histo[kHistoRedPredSubGreen * 256];
242 ++histo[kHistoBluePredSubGreen * 256];
243 ++histo[kHistoRedPred * 256];
244 ++histo[kHistoGreenPred * 256];
245 ++histo[kHistoBluePred * 256];
246 ++histo[kHistoAlphaPred * 256];
249 entropy_comp[j] = VP8LBitsEntropy(&histo[j * 256], 256, NULL);
289 &histo[256 * kHistoPairs[*min_entropy_ix][0]];
291 &histo[256 * kHistoPairs[*min_entropy_ix][1]];
300 WebPSafeFree(histo);
401 const VP8LHistogram* const histo = histogram_image->histograms[i];
405 (k == 0) ? VP8LHistogramNumCodes(histo->palette_code_bits_) :
442 VP8LHistogram* const histo = histogram_image->histograms[i];
443 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0);
444 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1);
445 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2);
446 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3);
447 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4);