/external/libcap/libcap/ |
H A D | cap_text.c | 330 int histo[8]; local 362 memset(histo, 0, sizeof(histo)); 366 histo[getstateflags(caps, n)]++; 373 if (histo[t] >= histo[m]) 380 histo[getstateflags(caps, n)]++; 389 if (t != m && histo[t]) {
|
/external/libdrm/tests/ |
H A D | drmstat.c | 361 int histo[HISTOSIZE]; local 370 for (i = 0; i < HISTOSIZE; i++) histo[i] = 0; 380 if (wt <= 2.5) ++histo[8]; 381 if (wt < 5.0) ++histo[0]; 382 else if (wt < 50.0) ++histo[1]; 383 else if (wt < 500.0) ++histo[2]; 384 else if (wt < 5000.0) ++histo[3]; 385 else if (wt < 50000.0) ++histo[4]; 386 else if (wt < 500000.0) ++histo[5]; 387 else if (wt < 5000000.0) ++histo[ [all...] |
/external/webp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 177 int histo[]) { 208 ++histo[(uint8_t)(temp2 >> 16)]; 209 ++histo[(uint8_t)temp2]; 212 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; 227 int green_to_red, int histo[]) { 250 ++histo[(uint8_t)(temp2 >> 16)]; 251 ++histo[(uint8_t)temp2]; 254 ++histo[TransformColorRed(green_to_red, *p_argb)]; 174 CollectColorBlueTransforms(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_blue, int red_to_blue, int histo[]) argument 225 CollectColorRedTransforms(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_red, int histo[]) argument
|
H A D | enc_sse41.c | 28 VP8Histogram* const histo) { 61 VP8SetHistogramData(distribution, histo); 26 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
H A D | enc_mips_dsp_r2.c | 1455 VP8Histogram* const histo) { 1476 VP8SetHistogramData(distribution, histo); 1453 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
H A D | lossless_enc.c | 555 int green_to_red, int histo[]) { 559 ++histo[TransformColorRed(green_to_red, argb[x])]; 568 int histo[]) { 572 ++histo[TransformColorBlue(green_to_blue, red_to_blue, argb[x])]; 553 VP8LCollectColorRedTransforms_C(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_red, int histo[]) argument 565 VP8LCollectColorBlueTransforms_C(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_blue, int red_to_blue, int histo[]) argument
|
H A D | enc.c | 45 VP8Histogram* const histo) { 55 histo->max_value = max_value; 56 histo->last_non_zero = last_non_zero; 61 VP8Histogram* const histo) { 77 VP8SetHistogramData(distribution, histo); 44 VP8SetHistogramData(const int distribution[MAX_COEFF_THRESH + 1], VP8Histogram* const histo) argument 59 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
H A D | enc_msa.c | 226 VP8Histogram* const histo) { 249 VP8SetHistogramData(distribution, histo); 224 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
H A D | enc_neon.c | 713 VP8Histogram* const histo) { 738 VP8SetHistogramData(distribution, histo); 711 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
H A D | lossless_enc_sse2.c | 86 int histo[]) { 121 for (i = 0; i < SPAN; ++i) ++histo[values[i]]; 129 green_to_blue, red_to_blue, histo); 136 int green_to_red, int histo[]) { 163 for (i = 0; i < SPAN; ++i) ++histo[values[i]]; 171 green_to_red, histo); 83 CollectColorBlueTransforms(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_blue, int red_to_blue, int histo[]) argument 134 CollectColorRedTransforms(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_red, int histo[]) argument
|
H A D | enc_sse2.c | 436 VP8Histogram* const histo) { 472 VP8SetHistogramData(distribution, histo); 434 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
/external/webp/src/enc/ |
H A D | analysis_enc.c | 113 static int GetAlpha(const VP8Histogram* const histo) { argument 117 const int max_value = histo->max_value; 118 const int last_non_zero = histo->last_non_zero; 124 static void InitHistogram(VP8Histogram* const histo) { argument 125 histo->max_value = 0; 126 histo->last_non_zero = 1; 154 // 'int' type is ok for histo, and won't overflow 248 VP8Histogram histo; local 251 InitHistogram(&histo); 254 0, 16, &histo); 340 VP8Histogram histo; local [all...] |
H A D | histogram_enc.c | 67 void VP8LFreeHistogram(VP8LHistogram* const histo) { argument 68 WebPSafeFree(histo); 71 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) { argument 72 WebPSafeFree(histo); 76 VP8LHistogram* const histo) { 79 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos); 100 VP8LHistogram* histo = NULL; local 104 histo = (VP8LHistogram*)memory; 106 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); 107 VP8LHistogramInit(histo, cache_bit 75 VP8LHistogramStoreRefs(const VP8LBackwardRefs* const refs, VP8LHistogram* const histo) argument 140 VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo, const PixOrCopy* const v) argument 494 VP8LHistogram* const histo = orig_histograms[i]; local [all...] |
H A D | predictor_enc.c | 460 int histo[4][256]; local 468 memset(histo, 0, sizeof(histo)); 473 bits, histo, argb_scratch, argb, max_quantization, exact, 522 int histo[256] = { 0 }; local 526 green_to_red, histo); 528 cur_diff = PredictionCostCrossColor(accumulated_red_histo, histo); 575 int histo[256] = { 0 }; local 579 green_to_blue, red_to_blue, histo); 581 cur_diff = PredictionCostCrossColor(accumulated_blue_histo, histo); [all...] |
H A D | backward_references_enc.c | 598 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); local 599 if (histo == NULL) goto Error; 601 VP8LHistogramCreate(histo, refs, cache_bits); 604 VP8LHistogramNumCodes(histo->palette_code_bits_), 605 histo->literal_, m->literal_); 607 VALUES_IN_BYTE, histo->red_, m->red_); 609 VALUES_IN_BYTE, histo->blue_, m->blue_); 611 VALUES_IN_BYTE, histo->alpha_, m->alpha_); 613 NUM_DISTANCE_CODES, histo->distance_, m->distance_); 617 VP8LFreeHistogram(histo); 1716 VP8LHistogram* histo = NULL; local [all...] |
H A D | vp8l_enc.c | 194 uint32_t* const histo = local 195 (uint32_t*)WebPSafeCalloc(kHistoTotal, sizeof(*histo) * 256); 196 if (histo != NULL) { 208 &histo[kHistoAlpha * 256], 209 &histo[kHistoRed * 256], 210 &histo[kHistoGreen * 256], 211 &histo[kHistoBlue * 256]); 213 &histo[kHistoAlphaPred * 256], 214 &histo[kHistoRedPred * 256], 215 &histo[kHistoGreenPre 401 const VP8LHistogram* const histo = histogram_image->histograms[i]; local 442 VP8LHistogram* const histo = histogram_image->histograms[i]; local [all...] |
/external/valgrind/exp-dhat/ |
H A D | dh_main.c | 212 UInt* histo; /* [0 .. xsize-1] */ member in struct:__anon23287 245 // histo stuff 289 the access counts and histo data that have so far accumulated for 334 // histo stuff. First, do state transitions for xsize/xsize_tag. 340 tl_assert(!api->histo); 344 // and allocate the histo 346 api->histo = VG_(malloc)("dh.main.retire_Block.1", 348 VG_(memset)(api->histo, 0, api->xsize * sizeof(UInt)); 359 // deallocate the histo, if any 360 if (api->histo) { [all...] |