• Home
  • Raw
  • Download

Lines Matching refs:histo

196   uint32_t* histo;  in AnalyzeEntropy()  local
205 histo = (uint32_t*)WebPSafeCalloc(kHistoTotal, sizeof(*histo) * 256); in AnalyzeEntropy()
206 if (histo != NULL) { in AnalyzeEntropy()
220 &histo[kHistoAlpha * 256], in AnalyzeEntropy()
221 &histo[kHistoRed * 256], in AnalyzeEntropy()
222 &histo[kHistoGreen * 256], in AnalyzeEntropy()
223 &histo[kHistoBlue * 256]); in AnalyzeEntropy()
225 &histo[kHistoAlphaPred * 256], in AnalyzeEntropy()
226 &histo[kHistoRedPred * 256], in AnalyzeEntropy()
227 &histo[kHistoGreenPred * 256], in AnalyzeEntropy()
228 &histo[kHistoBluePred * 256]); in AnalyzeEntropy()
230 &histo[kHistoRedSubGreen * 256], in AnalyzeEntropy()
231 &histo[kHistoBlueSubGreen * 256]); in AnalyzeEntropy()
233 &histo[kHistoRedPredSubGreen * 256], in AnalyzeEntropy()
234 &histo[kHistoBluePredSubGreen * 256]); in AnalyzeEntropy()
238 ++histo[kHistoPalette * 256 + hash]; in AnalyzeEntropy()
253 ++histo[kHistoRedPredSubGreen * 256]; in AnalyzeEntropy()
254 ++histo[kHistoBluePredSubGreen * 256]; in AnalyzeEntropy()
255 ++histo[kHistoRedPred * 256]; in AnalyzeEntropy()
256 ++histo[kHistoGreenPred * 256]; in AnalyzeEntropy()
257 ++histo[kHistoBluePred * 256]; in AnalyzeEntropy()
258 ++histo[kHistoAlphaPred * 256]; in AnalyzeEntropy()
261 entropy_comp[j] = VP8LBitsEntropy(&histo[j * 256], 256); in AnalyzeEntropy()
318 &histo[256 * kHistoPairs[*min_entropy_ix][0]]; in AnalyzeEntropy()
320 &histo[256 * kHistoPairs[*min_entropy_ix][1]]; in AnalyzeEntropy()
329 WebPSafeFree(histo); in AnalyzeEntropy()
485 const VP8LHistogram* const histo = histogram_image->histograms[i]; in GetHuffBitLengthsAndCodes() local
487 assert(histo != NULL); in GetHuffBitLengthsAndCodes()
490 (k == 0) ? VP8LHistogramNumCodes(histo->palette_code_bits_) : in GetHuffBitLengthsAndCodes()
527 VP8LHistogram* const histo = histogram_image->histograms[i]; in GetHuffBitLengthsAndCodes() local
528 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0); in GetHuffBitLengthsAndCodes()
529 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1); in GetHuffBitLengthsAndCodes()
530 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2); in GetHuffBitLengthsAndCodes()
531 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3); in GetHuffBitLengthsAndCodes()
532 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4); in GetHuffBitLengthsAndCodes()