Lines Matching refs:VP8LHistogram
31 static void HistogramClear(VP8LHistogram* const p) { in HistogramClear()
40 static void HistogramCopy(const VP8LHistogram* const src, in HistogramCopy()
41 VP8LHistogram* const dst) { in HistogramCopy()
52 const size_t total_size = sizeof(VP8LHistogram) + sizeof(int) * literal_size; in VP8LGetHistogramSize()
57 void VP8LFreeHistogram(VP8LHistogram* const histo) { in VP8LFreeHistogram()
66 VP8LHistogram* const histo) { in VP8LHistogramStoreRefs()
74 void VP8LHistogramCreate(VP8LHistogram* const p, in VP8LHistogramCreate()
84 void VP8LHistogramInit(VP8LHistogram* const p, int palette_code_bits) { in VP8LHistogramInit()
89 VP8LHistogram* VP8LAllocateHistogram(int cache_bits) { in VP8LAllocateHistogram()
90 VP8LHistogram* histo = NULL; in VP8LAllocateHistogram()
94 histo = (VP8LHistogram*)memory; in VP8LAllocateHistogram()
96 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in VP8LAllocateHistogram()
112 set->histograms = (VP8LHistogram**)memory; in VP8LAllocateHistogramSet()
117 set->histograms[i] = (VP8LHistogram*)memory; in VP8LAllocateHistogramSet()
119 set->histograms[i]->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in VP8LAllocateHistogramSet()
129 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo, in VP8LHistogramAddSinglePixOrCopy()
265 double VP8LHistogramEstimateBits(const VP8LHistogram* const p) { in VP8LHistogramEstimateBits()
276 double VP8LHistogramEstimateBitsBulk(const VP8LHistogram* const p) { in VP8LHistogramEstimateBitsBulk()
290 static int GetCombinedHistogramEntropy(const VP8LHistogram* const a, in GetCombinedHistogramEntropy()
291 const VP8LHistogram* const b, in GetCombinedHistogramEntropy()
326 static double HistogramAddEval(const VP8LHistogram* const a, in HistogramAddEval()
327 const VP8LHistogram* const b, in HistogramAddEval()
328 VP8LHistogram* const out, in HistogramAddEval()
346 static double HistogramAddThresh(const VP8LHistogram* const a, in HistogramAddThresh()
347 const VP8LHistogram* const b, in HistogramAddThresh()
379 const VP8LHistogram* const h, DominantCostRange* const c) { in UpdateDominantCostRange()
388 static void UpdateHistogramCost(VP8LHistogram* const h) { in UpdateHistogramCost()
411 const VP8LHistogram* const h, const DominantCostRange* const c) { in GetHistoBinIndex()
429 VP8LHistogram** const histograms = image_histo->histograms; in HistogramBuild()
451 VP8LHistogram** const orig_histograms = orig_histo->histograms; in HistogramCopyAndAnalyze()
452 VP8LHistogram** const histograms = image_histo->histograms; in HistogramCopyAndAnalyze()
454 VP8LHistogram* const histo = orig_histograms[i]; in HistogramCopyAndAnalyze()
466 VP8LHistogram** const histograms = image_histo->histograms; in HistogramAnalyzeEntropyBin()
474 VP8LHistogram* const histo = histograms[i]; in HistogramAnalyzeEntropyBin()
482 VP8LHistogram* const histo = histograms[i]; in HistogramAnalyzeEntropyBin()
503 VP8LHistogram** const histograms = image_histo->histograms; in HistogramCompactBins()
525 VP8LHistogram* const histos, in HistogramCombineEntropyBin()
529 VP8LHistogram* cur_combo = histos; in HistogramCombineEntropyBin()
530 VP8LHistogram** const histograms = image_histo->histograms; in HistogramCombineEntropyBin()
574 VP8LHistogram** const histograms = image_histo->histograms; in HistogramCombine()
575 VP8LHistogram* cur_combo = histos->histograms[0]; // trial histogram in HistogramCombine()
576 VP8LHistogram* best_combo = histos->histograms[1]; // best histogram so far in HistogramCombine()
605 VP8LHistogram* const tmp_histo = cur_combo; in HistogramCombine()
641 VP8LHistogram** const orig_histograms = orig_histo->histograms; in HistogramRemap()
642 VP8LHistogram** const histograms = image_histo->histograms; in HistogramRemap()