Lines Matching refs:VP8LHistogram
34 static void HistogramClear(VP8LHistogram* const p) { in HistogramClear()
44 static void HistogramSwap(VP8LHistogram** const A, VP8LHistogram** const B) { in HistogramSwap()
45 VP8LHistogram* const tmp = *A; in HistogramSwap()
50 static void HistogramCopy(const VP8LHistogram* const src, in HistogramCopy()
51 VP8LHistogram* const dst) { in HistogramCopy()
64 const size_t total_size = sizeof(VP8LHistogram) + sizeof(int) * literal_size; in VP8LGetHistogramSize()
69 void VP8LFreeHistogram(VP8LHistogram* const histo) { in VP8LFreeHistogram()
78 VP8LHistogram* const histo) { in VP8LHistogramStoreRefs()
86 void VP8LHistogramCreate(VP8LHistogram* const p, in VP8LHistogramCreate()
96 void VP8LHistogramInit(VP8LHistogram* const p, int palette_code_bits, in VP8LHistogramInit()
111 VP8LHistogram* VP8LAllocateHistogram(int cache_bits) { in VP8LAllocateHistogram()
112 VP8LHistogram* histo = NULL; in VP8LAllocateHistogram()
116 histo = (VP8LHistogram*)memory; in VP8LAllocateHistogram()
118 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in VP8LAllocateHistogram()
132 set->histograms[i] = (VP8LHistogram*) memory; in HistogramSetResetPointers()
134 set->histograms[i]->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in HistogramSetResetPointers()
142 return (sizeof(VP8LHistogramSet) + size * (sizeof(VP8LHistogram*) + in HistogramSetTotalSize()
155 set->histograms = (VP8LHistogram**)memory; in VP8LAllocateHistogramSet()
174 set->histograms = (VP8LHistogram**)memory; in VP8LHistogramSetClear()
199 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo, in VP8LHistogramAddSinglePixOrCopy()
359 double VP8LHistogramEstimateBits(VP8LHistogram* const p) { in VP8LHistogramEstimateBits()
374 static int GetCombinedHistogramEntropy(const VP8LHistogram* const a, in GetCombinedHistogramEntropy()
375 const VP8LHistogram* const b, in GetCombinedHistogramEntropy()
427 static WEBP_INLINE void HistogramAdd(const VP8LHistogram* const a, in HistogramAdd()
428 const VP8LHistogram* const b, in HistogramAdd()
429 VP8LHistogram* const out) { in HistogramAdd()
442 static double HistogramAddEval(const VP8LHistogram* const a, in HistogramAddEval()
443 const VP8LHistogram* const b, in HistogramAddEval()
444 VP8LHistogram* const out, in HistogramAddEval()
462 static double HistogramAddThresh(const VP8LHistogram* const a, in HistogramAddThresh()
463 const VP8LHistogram* const b, in HistogramAddThresh()
497 const VP8LHistogram* const h, DominantCostRange* const c) { in UpdateDominantCostRange()
506 static void UpdateHistogramCost(VP8LHistogram* const h) { in UpdateHistogramCost()
542 static int GetHistoBinIndex(const VP8LHistogram* const h, in GetHistoBinIndex()
563 VP8LHistogram** const histograms = image_histo->histograms; in HistogramBuild()
588 VP8LHistogram** const orig_histograms = orig_histo->histograms; in HistogramCopyAndAnalyze()
589 VP8LHistogram** const histograms = image_histo->histograms; in HistogramCopyAndAnalyze()
592 VP8LHistogram* const histo = orig_histograms[i]; in HistogramCopyAndAnalyze()
621 VP8LHistogram** const histograms = image_histo->histograms; in HistogramAnalyzeEntropyBin()
648 VP8LHistogram* cur_combo, in HistogramCombineEntropyBin()
653 VP8LHistogram** const histograms = image_histo->histograms; in HistogramCombineEntropyBin()
789 static void HistoQueueUpdatePair(const VP8LHistogram* const h1, in HistoQueueUpdatePair()
790 const VP8LHistogram* const h2, in HistoQueueUpdatePair()
803 VP8LHistogram** const histograms, int idx1, in HistoQueuePush()
805 const VP8LHistogram* h1; in HistoQueuePush()
806 const VP8LHistogram* h2; in HistoQueuePush()
842 VP8LHistogram** const histograms = image_histo->histograms; in HistogramCombineGreedy()
916 VP8LHistogram** const histograms = image_histo->histograms; in HistogramCombineStochastic()
1053 VP8LHistogram** const in_histo = in->histograms; in HistogramRemap()
1054 VP8LHistogram** const out_histo = out->histograms; in HistogramRemap()
1176 VP8LHistogram* const tmp_histo, in VP8LGetHistoImageSymbols()