/external/brotli/research/ |
D | draw_histogram.cc | 67 void BuildHistogram(FILE* fin, int** histo) { in BuildHistogram() argument 77 histo[i][j] = 0; in BuildHistogram() 113 histo[x][y] += copy; in BuildHistogram() 116 histo[x][y] += pos2 - pos; in BuildHistogram() 118 histo[x][i] += max_pos / width; // Sometimes 1 more, but who cares. in BuildHistogram() 123 histo[x][right] += pos + copy - 1 - pos2 + 1; in BuildHistogram() 127 histo[x][y]++; in BuildHistogram() 133 void ConvertToPixels(int** histo, uint8_t** pixel) { in ConvertToPixels() argument 140 if (maxs < histo[i][j]) maxs = histo[i][j]; in ConvertToPixels() 149 pixel[i][j] = histo[i][j] > 0 ? 0 : 255; in ConvertToPixels() [all …]
|
/external/brotli/c/enc/ |
D | bit_cost_inc.h | 48 uint32_t histo[4]; in FN() local 52 histo[i] = histogram->data_[s[i]]; in FN() 58 if (histo[j] > histo[i]) { in FN() 59 BROTLI_SWAP(uint32_t, histo, j, i); in FN() 63 h23 = histo[2] + histo[3]; in FN() 64 histomax = BROTLI_MAX(uint32_t, h23, histo[0]); in FN() 66 3 * h23 + 2 * (histo[0] + histo[1]) - histomax); in FN()
|
D | literal_cost.c | 104 size_t histo = histogram[utf8_pos][data[masked_pos]]; in EstimateBitCostsForLiteralsUTF8() local 106 if (histo == 0) { in EstimateBitCostsForLiteralsUTF8() 107 histo = 1; in EstimateBitCostsForLiteralsUTF8() 109 lit_cost = FastLog2(in_window_utf8[utf8_pos]) - FastLog2(histo); in EstimateBitCostsForLiteralsUTF8() 145 size_t histo; in BrotliEstimateBitCostsForLiterals() local 156 histo = histogram[data[(pos + i) & mask]]; in BrotliEstimateBitCostsForLiterals() 157 if (histo == 0) { in BrotliEstimateBitCostsForLiterals() 158 histo = 1; in BrotliEstimateBitCostsForLiterals() 161 double lit_cost = FastLog2(in_window) - FastLog2(histo); in BrotliEstimateBitCostsForLiterals()
|
D | compress_fragment.c | 180 uint32_t histo[128], in EmitInsertLen() 186 ++histo[code]; in EmitInsertLen() 194 ++histo[inscode]; in EmitInsertLen() 201 ++histo[code]; in EmitInsertLen() 205 ++histo[61]; in EmitInsertLen() 212 uint32_t histo[128], in EmitLongInsertLen() 218 ++histo[62]; in EmitLongInsertLen() 222 ++histo[63]; in EmitLongInsertLen() 229 uint32_t histo[128], in EmitCopyLen() 235 ++histo[copylen + 14]; in EmitCopyLen() [all …]
|
D | block_splitter_inc.h | 308 HistogramType histo; in FN() local 312 FN(HistogramClear)(&histo); in FN() 314 FN(HistogramAdd)(&histo, data[pos++]); in FN() 318 FN(BrotliHistogramBitCostDistance)(&histo, &all_histograms[best_out]); in FN() 321 &histo, &all_histograms[clusters[j]]); in FN()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | summary_op_test.cc | 78 histogram::Histogram histo; in TEST_F() local 79 EXPECT_TRUE(histo.DecodeFromProto(summary.value(0).histo())); in TEST_F() 88 histo.ToString()); in TEST_F() 106 histogram::Histogram histo; in TEST_F() local 107 EXPECT_TRUE(histo.DecodeFromProto(summary.value(0).histo())); in TEST_F() 116 histo.ToString()); in TEST_F() 135 histogram::Histogram histo; in TEST_F() local 136 EXPECT_TRUE(histo.DecodeFromProto(summary.value(0).histo())); in TEST_F() 145 histo.ToString()); in TEST_F()
|
/external/webp/src/dsp/ |
D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
D | lossless_enc_sse41.c | 51 int histo[]) { in CollectColorBlueTransforms_SSE41() argument 82 for (i = 0; i < SPAN; ++i) ++histo[values[i]]; in CollectColorBlueTransforms_SSE41() 90 green_to_blue, red_to_blue, histo); in CollectColorBlueTransforms_SSE41() 97 int green_to_red, int histo[]) { in CollectColorRedTransforms_SSE41() argument 120 for (i = 0; i < SPAN; ++i) ++histo[values[i]]; in CollectColorRedTransforms_SSE41() 128 histo); in CollectColorRedTransforms_SSE41()
|
D | lossless.h | 143 int green_to_blue, int red_to_blue, int histo[]); 149 int green_to_red, int histo[]); 158 int green_to_red, int histo[]); 162 int histo[]);
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | stats_dataset_test_base.py | 140 self.assertGreaterEqual(value.histo.num, expected_value) 142 self.assertEqual(expected_value, value.histo.num) 151 self.assertLessEqual(min_value, value.histo.min) 152 self.assertGreaterEqual(max_value, value.histo.max) 161 self.assertEqual(expected_value, value.histo.sum) 196 self.assertGreaterEqual(event.summary.value[0].histo.num, count) 198 self.assertEqual(count, event.summary.value[0].histo.num) 207 events[num_events - offset - 1].summary.value[0].histo.num, count) 210 events[num_events - offset - 1].summary.value[0].histo.num, count) 218 self.assertEqual(expected_value, event.summary.value[0].histo.sum) [all …]
|
/external/webp/src/enc/ |
D | analysis_enc.c | 113 static int GetAlpha(const VP8Histogram* const histo) { in GetAlpha() argument 117 const int max_value = histo->max_value; in GetAlpha() 118 const int last_non_zero = histo->last_non_zero; in GetAlpha() 124 static void InitHistogram(VP8Histogram* const histo) { in InitHistogram() argument 125 histo->max_value = 0; in InitHistogram() 126 histo->last_non_zero = 1; in InitHistogram() 238 VP8Histogram histo; in MBAnalyzeBestIntra16Mode() local 241 InitHistogram(&histo); in MBAnalyzeBestIntra16Mode() 244 0, 16, &histo); in MBAnalyzeBestIntra16Mode() 245 alpha = GetAlpha(&histo); in MBAnalyzeBestIntra16Mode() [all …]
|
D | histogram_enc.c | 69 void VP8LFreeHistogram(VP8LHistogram* const histo) { in VP8LFreeHistogram() argument 70 WebPSafeFree(histo); in VP8LFreeHistogram() 73 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) { in VP8LFreeHistogramSet() argument 74 WebPSafeFree(histo); in VP8LFreeHistogramSet() 78 VP8LHistogram* const histo) { in VP8LHistogramStoreRefs() argument 81 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos, NULL, 0); in VP8LHistogramStoreRefs() 112 VP8LHistogram* histo = NULL; in VP8LAllocateHistogram() local 116 histo = (VP8LHistogram*)memory; in VP8LAllocateHistogram() 118 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in VP8LAllocateHistogram() 119 VP8LHistogramInit(histo, cache_bits, /*init_arrays=*/ 0); in VP8LAllocateHistogram() [all …]
|
D | histogram_enc.h | 77 VP8LHistogram* const histo); 80 void VP8LFreeHistogram(VP8LHistogram* const histo); 83 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo); 98 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo,
|
D | vp8l_enc.c | 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() [all …]
|
D | backward_references_cost_enc.c | 65 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); in CostModelBuild() local 66 if (histo == NULL) goto Error; in CostModelBuild() 70 VP8LHistogramInit(histo, cache_bits, /*init_arrays=*/ 1); in CostModelBuild() 72 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos, VP8LDistanceToPlaneCode, in CostModelBuild() 78 VP8LHistogramNumCodes(histo->palette_code_bits_), in CostModelBuild() 79 histo->literal_, m->literal_); in CostModelBuild() 81 VALUES_IN_BYTE, histo->red_, m->red_); in CostModelBuild() 83 VALUES_IN_BYTE, histo->blue_, m->blue_); in CostModelBuild() 85 VALUES_IN_BYTE, histo->alpha_, m->alpha_); in CostModelBuild() 87 NUM_DISTANCE_CODES, histo->distance_, m->distance_); in CostModelBuild() [all …]
|
D | predictor_enc.c | 482 int histo[4][256]; in VP8LResidualImage() local 490 memset(histo, 0, sizeof(histo)); in VP8LResidualImage() 495 bits, histo, argb_scratch, argb, max_quantization, exact, in VP8LResidualImage() 544 int histo[256] = { 0 }; in GetPredictionCostCrossColorRed() local 548 green_to_red, histo); in GetPredictionCostCrossColorRed() 550 cur_diff = PredictionCostCrossColor(accumulated_red_histo, histo); in GetPredictionCostCrossColorRed() 597 int histo[256] = { 0 }; in GetPredictionCostCrossColorBlue() local 601 green_to_blue, red_to_blue, histo); in GetPredictionCostCrossColorBlue() 603 cur_diff = PredictionCostCrossColor(accumulated_blue_histo, histo); in GetPredictionCostCrossColorBlue()
|
D | backward_references_enc.c | 889 VP8LHistogram* histo = NULL; in GetBackwardReferences() local 899 histo = VP8LAllocateHistogram(MAX_COLOR_CACHE_BITS); in GetBackwardReferences() 900 if (histo == NULL) goto Error; in GetBackwardReferences() 948 VP8LHistogramCreate(histo, refs_tmp, cache_bits); in GetBackwardReferences() 949 bit_cost = VP8LHistogramEstimateBits(histo); in GetBackwardReferences() 983 VP8LHistogramCreate(histo, refs_tmp, cache_bits); in GetBackwardReferences() 984 bit_cost_trace = VP8LHistogramEstimateBits(histo); in GetBackwardReferences() 1005 VP8LFreeHistogram(histo); in GetBackwardReferences()
|
/external/libcap/libcap/ |
D | cap_text.c | 357 int histo[8]; in cap_to_text() local 371 memset(histo, 0, sizeof(histo)); in cap_to_text() 376 histo[getstateflags(caps, n)]++; in cap_to_text() 383 if (histo[t] >= histo[m]) in cap_to_text() 394 if (t == m || !histo[t]) { in cap_to_text() 441 memset(histo, 0, sizeof(histo)); in cap_to_text() 443 histo[getstateflags(caps, n)]++; in cap_to_text() 446 if (!histo[t]) { in cap_to_text()
|
/external/tensorflow/tensorflow/c/kernels/ |
D | histogram_summary_op.cc | 89 tensorflow::histogram::Histogram histo; in HistogramSummaryOp_Compute() local 105 histo.Add(double_val); in HistogramSummaryOp_Compute() 112 histo.EncodeToProto(v->mutable_histo(), false /* Drop zero buckets */); in HistogramSummaryOp_Compute()
|
/external/libcap/cap/ |
D | text.go | 51 func (c *Set) histo(bins []int, patterns []uint, from, limit Value) uint { func 98 m := c.histo(bins, patterns, 0, Value(maxValues)) 136 c.histo(uBins, uPatterns, Value(maxValues), 32*Value(words))
|
/external/llvm/utils/lit/lit/ |
D | util.py | 132 histo = [set() for i in range(N)] 135 histo[bin].add(name) 154 for i,row in enumerate(histo):
|
/external/llvm-project/llvm/utils/lit/lit/ |
D | util.py | 278 histo = [set() for i in range(N)] 281 histo[bin].add(name) 300 for i, row in reversed(list(enumerate(histo))):
|
/external/toolchain-utils/heatmaps/ |
D | perf-to-inst-page.sh | 48 awk '{print $3}' out.txt | sort -n | uniq -c > inst-histo.txt
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_converter.cc | 220 histogram::Histogram histo; in AddTensorAsHistogramToSummary() local 230 histo.Add(double_val); in AddTensorAsHistogramToSummary() 232 histo.EncodeToProto(v->mutable_histo(), false /* Drop zero buckets */); in AddTensorAsHistogramToSummary()
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.summary.-summary.-value.pbtxt | 47 name: "histo"
|