Home
last modified time | relevance | path

Searched refs:hist (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/pixelstats/
DBatteryEEPROMReporter.cpp65 struct BatteryHistory hist; in checkAndReport() local
111 hist.tempco = histv2.tempco; in checkAndReport()
112 hist.rcomp0 = histv2.rcomp0; in checkAndReport()
113 hist.timer_h = (uint8_t)histv2.timer_h * 5; in checkAndReport()
114 hist.max_temp = (int8_t)histv2.maxtemp * 3 + 22; in checkAndReport()
115 hist.min_temp = (int8_t)histv2.mintemp * 3 - 20; in checkAndReport()
116 hist.min_ibatt = (int16_t)histv2.maxchgcurr * 500 * (-1); in checkAndReport()
117 hist.max_ibatt = (int16_t)histv2.maxdischgcurr * 500; in checkAndReport()
118 hist.min_vbatt = (uint16_t)histv2.minvolt * 10 + 2500; in checkAndReport()
119 hist.max_vbatt = (uint16_t)histv2.maxvolt * 20 + 4200; in checkAndReport()
[all …]
/hardware/google/pixel/pixelstats/include/pixelstats/
DBatteryEEPROMReporter.h151 bool checkLogEvent(struct BatteryHistory hist);
153 const struct BatteryHistory &hist);
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_fxt1.c250 } hist[N_TEXELS]; in fxt1_choose() local
253 memset(hist, 0, sizeof(hist)); in fxt1_choose()
265 if (!hist[l].flag) { in fxt1_choose()
267 hist[l].flag = !0; in fxt1_choose()
268 hist[l].key = key; in fxt1_choose()
269 hist[l].freq = 1; in fxt1_choose()
270 hist[l].idx = k; in fxt1_choose()
273 } else if (hist[l].key == key) { in fxt1_choose()
274 hist[l].freq++; in fxt1_choose()
291 vec[j][i] = (float)input[hist[j].idx][i]; in fxt1_choose()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dtinyexr.h3190 mz_uint32 total_passes = 2, pass_shift, pass, i, hist[256 * 2]; in tdefl_radix_sort_syms() local
3192 MZ_CLEAR_OBJ(hist); in tdefl_radix_sort_syms()
3195 hist[freq & 0xFF]++; in tdefl_radix_sort_syms()
3196 hist[256 + ((freq >> 8) & 0xFF)]++; in tdefl_radix_sort_syms()
3198 while ((total_passes > 1) && (num_syms == hist[(total_passes - 1) * 256])) in tdefl_radix_sort_syms()
3201 const mz_uint32 *pHist = &hist[pass << 8]; in tdefl_radix_sort_syms()