HomeSort by relevance Sort by last modified time
    Searched defs:histo (Results 1 - 12 of 12) sorted by null

  /external/libdrm/tests/
drmstat.c 372 int histo[HISTOSIZE]; local
381 for (i = 0; i < HISTOSIZE; i++) histo[i] = 0;
391 if (wt <= 2.5) ++histo[8];
392 if (wt < 5.0) ++histo[0];
393 else if (wt < 50.0) ++histo[1];
394 else if (wt < 500.0) ++histo[2];
395 else if (wt < 5000.0) ++histo[3];
396 else if (wt < 50000.0) ++histo[4];
397 else if (wt < 500000.0) ++histo[5];
398 else if (wt < 5000000.0) ++histo[6]
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
HistogramView.java 43 int[] histo = new int[256 * 3]; local
55 histo[r]++;
56 histo[256 + g]++;
57 histo[512 + b]++;
60 return histo;
  /external/webp/src/enc/
analysis.c 113 static int GetAlpha(const VP8Histogram* const histo) {
118 const int value = histo->distribution[k];
154 // 'int' type is ok for histo, and won't overflow
248 VP8Histogram histo = { { 0 } }; local
253 0, 16, &histo);
254 alpha = GetAlpha(&histo);
290 cur_histo ^= 1; // keep track of best histo so far.
314 VP8Histogram histo = { { 0 } }; local
318 16, 16 + 4 + 4, &histo);
319 alpha = GetAlpha(&histo);
    [all...]
backward_references.c 496 VP8LHistogram* histo = NULL; local
511 histo = VP8LAllocateHistogram(cache_bits);
512 if (histo == NULL) goto Error;
514 VP8LHistogramCreate(histo, refs, cache_bits);
517 VP8LHistogramNumCodes(histo->palette_code_bits_),
518 histo->literal_, m->literal_);
520 VALUES_IN_BYTE, histo->red_, m->red_);
522 VALUES_IN_BYTE, histo->blue_, m->blue_);
524 VALUES_IN_BYTE, histo->alpha_, m->alpha_);
526 NUM_DISTANCE_CODES, histo->distance_, m->distance_)
840 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); local
892 VP8LHistogram* histo = VP8LAllocateHistogram(cache_bits); local
    [all...]
histogram.c 57 void VP8LFreeHistogram(VP8LHistogram* const histo) {
58 WebPSafeFree(histo);
61 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) {
62 WebPSafeFree(histo);
66 VP8LHistogram* const histo) {
69 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos);
90 VP8LHistogram* histo = NULL; local
94 histo = (VP8LHistogram*)memory;
96 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram));
97 VP8LHistogramInit(histo, cache_bits)
454 VP8LHistogram* const histo = orig_histograms[i]; local
474 VP8LHistogram* const histo = histograms[i]; local
482 VP8LHistogram* const histo = histograms[i]; local
    [all...]
vp8l.c 199 const VP8LHistogram* const histo = histogram_image->histograms[i]; local
203 (k == 0) ? VP8LHistogramNumCodes(histo->palette_code_bits_) :
240 VP8LHistogram* const histo = histogram_image->histograms[i]; local
241 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0);
242 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1);
243 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2);
244 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3);
245 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4);
709 VP8LHistogram* const histo = VP8LAllocateHistogram(1); local
710 if (histo == NULL) return VP8_ENC_ERROR_OUT_OF_MEMORY
    [all...]
  /external/valgrind/exp-dhat/
dh_main.c 212 UInt* histo; /* [0 .. xsize-1] */ member in struct:__anon20581
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...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageCurves.java 338 int[] histo = new int[256 * 3]; local
350 histo[r]++;
351 histo[256 + g]++;
352 histo[512 + b]++;
355 return histo;
  /external/libvncserver/x11vnc/
8to24.c 1365 int histo[65536]; variable
    [all...]
cursor.c 1013 int n_opaque, n_trans, n_alpha, len, histo[256]; local
1106 histo[i] = 0;
1119 histo[a]++;
1144 n_opaque += histo[i];
    [all...]
screen.c 369 int i, k, *histo; local
389 histo = (int *) calloc(ncolor * sizeof(int), 1);
392 histo[i] = 0;
399 histo[n]++;
407 fprintf(stderr, " %03d: %7d %04x/%04x/%04x", i, histo[i],
413 free(histo);
    [all...]
  /external/webp/src/dsp/
lossless.c 694 int histo[4][256]; local
695 memset(histo, 0, sizeof(histo));
716 (const int (*)[256])histo,
730 UpdateHisto(histo, argb[ix]);
915 int histo[256] = { 0 }; local
982 int histo[256] = { 0 }; local
    [all...]

Completed in 613 milliseconds