HomeSort by relevance Sort by last modified time
    Searched refs:histo (Results 1 - 25 of 30) sorted by null

1 2

  /external/webp/src/enc/
histogram.h 74 VP8LHistogram* const histo);
77 void VP8LFreeHistogram(VP8LHistogram* const histo);
80 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo);
92 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo,
histogram.c 66 void VP8LFreeHistogram(VP8LHistogram* const histo) {
67 WebPSafeFree(histo);
70 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) {
71 WebPSafeFree(histo);
75 VP8LHistogram* const histo) {
78 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos);
99 VP8LHistogram* histo = NULL; local
103 histo = (VP8LHistogram*)memory;
105 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram));
106 VP8LHistogramInit(histo, cache_bits)
445 VP8LHistogram* const histo = orig_histograms[i]; local
465 VP8LHistogram* const histo = histograms[i]; local
473 VP8LHistogram* const histo = histograms[i]; local
    [all...]
backward_references.c 512 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); local
513 if (histo == NULL) goto Error;
515 VP8LHistogramCreate(histo, refs, cache_bits);
518 VP8LHistogramNumCodes(histo->palette_code_bits_),
519 histo->literal_, m->literal_);
521 VALUES_IN_BYTE, histo->red_, m->red_);
523 VALUES_IN_BYTE, histo->blue_, m->blue_);
525 VALUES_IN_BYTE, histo->alpha_, m->alpha_);
527 NUM_DISTANCE_CODES, histo->distance_, m->distance_);
531 VP8LFreeHistogram(histo);
844 VP8LHistogram* histo = VP8LAllocateHistogram(cache_bits); local
1009 VP8LHistogram* histo = NULL; local
    [all...]
analysis.c 113 static int GetAlpha(const VP8Histogram* const histo) {
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) {
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);
316 VP8Histogram histo; local
    [all...]
vp8l.c 232 uint32_t* const histo = local
233 (uint32_t*)WebPSafeCalloc(kHistoTotal, sizeof(*histo) * 256);
234 if (histo != NULL) {
246 &histo[kHistoAlpha * 256],
247 &histo[kHistoRed * 256],
248 &histo[kHistoGreen * 256],
249 &histo[kHistoBlue * 256]);
251 &histo[kHistoAlphaPred * 256],
252 &histo[kHistoRedPred * 256],
253 &histo[kHistoGreenPred * 256]
437 const VP8LHistogram* const histo = histogram_image->histograms[i]; local
478 VP8LHistogram* const histo = histogram_image->histograms[i]; local
    [all...]
  /external/libdrm/tests/
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[6]
    [all...]
  /external/opencv3/3rdparty/libwebp/enc/
histogram.h 67 VP8LHistogram* const histo);
74 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo,
backward_references.c 414 VP8LHistogram histo; local
430 VP8LHistogramCreate(&histo, &refs, cache_bits);
432 VP8LHistogramNumCodes(&histo), histo.literal_, m->literal_);
434 VALUES_IN_BYTE, histo.red_, m->red_);
436 VALUES_IN_BYTE, histo.blue_, m->blue_);
438 VALUES_IN_BYTE, histo.alpha_, m->alpha_);
440 NUM_DISTANCE_CODES, histo.distance_, m->distance_);
768 VP8LHistogram* const histo = (VP8LHistogram*)malloc(sizeof(*histo)); local
880 VP8LHistogram histo; local
    [all...]
analysis.c 116 static int GetAlpha(const VP8Histogram* const histo) {
121 const int value = histo->distribution[k];
153 // 'int' type is ok for histo, and won't overflow
246 VP8Histogram histo = { { 0 } }; local
251 0, 16, &histo);
252 alpha = GetAlpha(&histo);
290 cur_histo ^= 1; // keep track of best histo so far.
315 VP8Histogram histo = { { 0 } }; local
319 16, 16 + 4 + 4, &histo);
320 alpha = GetAlpha(&histo);
    [all...]
histogram.c 34 VP8LHistogram* const histo) {
37 VP8LHistogramAddSinglePixOrCopy(histo, &refs->refs[i]);
82 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo,
85 ++histo->alpha_[PixOrCopyLiteral(v, 3)];
86 ++histo->red_[PixOrCopyLiteral(v, 2)];
87 ++histo->literal_[PixOrCopyLiteral(v, 1)];
88 ++histo->blue_[PixOrCopyLiteral(v, 0)];
91 ++histo->literal_[literal_ix];
96 ++histo->literal_[256 + code];
99 ++histo->distance_[code]
    [all...]
vp8l.c 193 const VP8LHistogram* const histo = histogram_image->histograms[i]; local
196 const int num_symbols = (k == 0) ? VP8LHistogramNumCodes(histo)
228 VP8LHistogram* const histo = histogram_image->histograms[i]; local
229 ok = ok && VP8LCreateHuffmanTree(histo->literal_, 15, codes + 0);
230 ok = ok && VP8LCreateHuffmanTree(histo->red_, 15, codes + 1);
231 ok = ok && VP8LCreateHuffmanTree(histo->blue_, 15, codes + 2);
232 ok = ok && VP8LCreateHuffmanTree(histo->alpha_, 15, codes + 3);
233 ok = ok && VP8LCreateHuffmanTree(histo->distance_, 15, codes + 4);
647 VP8LHistogram* const histo = (VP8LHistogram*)malloc(sizeof(*histo)); local
    [all...]
  /external/webp/src/dsp/
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)];
lossless.h 135 int green_to_blue, int red_to_blue, int histo[]);
141 int green_to_red, int histo[]);
150 int green_to_red, int histo[]);
154 int histo[]);
lossless_enc.c 682 int histo[4][256]; local
689 memset(histo, 0, sizeof(histo));
703 bits, (int (*)[256])histo, argb_scratch, exact);
812 int histo[256] = { 0 }; local
878 int histo[256] = { 0 }; local
    [all...]
lossless_enc_sse2.c 80 int histo[]) {
115 for (i = 0; i < SPAN; ++i) ++histo[values[i]];
123 green_to_blue, red_to_blue, histo);
130 int green_to_red, int histo[]) {
157 for (i = 0; i < SPAN; ++i) ++histo[values[i]];
165 green_to_red, histo);
dsp.h 186 VP8Histogram* const histo);
190 VP8Histogram* const histo);
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);
enc_sse41.c 27 VP8Histogram* const histo) {
60 VP8SetHistogramData(distribution, histo);
  /external/libcap/libcap/
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]) {
  /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/opencv3/3rdparty/libwebp/dsp/
lossless.c 533 int histo[4][256]; local
543 memset(&histo[0][0], 0, sizeof(histo));
561 ++histo[0][predict_diff >> 24];
562 ++histo[1][((predict_diff >> 16) & 0xff)];
563 ++histo[2][((predict_diff >> 8) & 0xff)];
564 ++histo[3][(predict_diff & 0xff)];
567 cur_diff = PredictionCostSpatialHistogram(accumulated, histo);
622 int histo[4][256]; local
623 memset(histo, 0, sizeof(histo))
902 int histo[256] = { 0 }; local
934 int histo[256] = { 0 }; local
    [all...]
dsp.h 88 // Collect histogram for susceptibility calculation and accumulate in histo[].
92 struct VP8Histogram* const histo);
  /external/llvm/utils/lit/lit/
util.py 129 histo = [set() for i in range(N)]
132 histo[bin].add(name)
151 for i,row in enumerate(histo):
  /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/valgrind/exp-dhat/
dh_main.c 212 UInt* histo; /* [0 .. xsize-1] */ member in struct:__anon25398
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...]

Completed in 327 milliseconds

1 2