/external/webp/src/enc/ |
histogram.h | 65 VP8LHistogram* const histo); 72 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo,
|
backward_references.c | 392 VP8LHistogram histo; local 409 VP8LHistogramCreate(&histo, &refs, cache_bits); 411 VP8LHistogramNumCodes(&histo), histo.literal_, m->literal_); 413 VALUES_IN_BYTE, histo.red_, m->red_); 415 VALUES_IN_BYTE, histo.blue_, m->blue_); 417 VALUES_IN_BYTE, histo.alpha_, m->alpha_); 419 NUM_DISTANCE_CODES, histo.distance_, m->distance_); 750 VP8LHistogram* const histo = (VP8LHistogram*)malloc(sizeof(*histo)); local 860 VP8LHistogram histo; local [all...] |
histogram.c | 32 VP8LHistogram* const histo) { 35 VP8LHistogramAddSinglePixOrCopy(histo, &refs->refs[i]); 80 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo, 83 ++histo->alpha_[PixOrCopyLiteral(v, 3)]; 84 ++histo->red_[PixOrCopyLiteral(v, 2)]; 85 ++histo->literal_[PixOrCopyLiteral(v, 1)]; 86 ++histo->blue_[PixOrCopyLiteral(v, 0)]; 89 ++histo->literal_[literal_ix]; 94 ++histo->literal_[256 + code]; 97 ++histo->distance_[code] [all...] |
vp8l.c | 190 const VP8LHistogram* const histo = histogram_image->histograms[i]; local 193 const int num_symbols = (k == 0) ? VP8LHistogramNumCodes(histo) 225 VP8LHistogram* const histo = histogram_image->histograms[i]; local 226 ok = ok && VP8LCreateHuffmanTree(histo->literal_, 15, codes + 0); 227 ok = ok && VP8LCreateHuffmanTree(histo->red_, 15, codes + 1); 228 ok = ok && VP8LCreateHuffmanTree(histo->blue_, 15, codes + 2); 229 ok = ok && VP8LCreateHuffmanTree(histo->alpha_, 15, codes + 3); 230 ok = ok && VP8LCreateHuffmanTree(histo->distance_, 15, codes + 4); 634 VP8LHistogram* const histo = (VP8LHistogram*)malloc(sizeof(*histo)); local [all...] |
/external/llvm/utils/lit/lit/ |
Util.py | 111 histo = [set() for i in range(N)] 114 histo[bin].add(name) 133 for i,row in enumerate(histo):
|
/external/webp/src/dsp/ |
lossless.c | 390 int histo[4][256]; local 400 memset(&histo[0][0], 0, sizeof(histo)); 418 ++histo[0][predict_diff >> 24]; 419 ++histo[1][((predict_diff >> 16) & 0xff)]; 420 ++histo[2][((predict_diff >> 8) & 0xff)]; 421 ++histo[3][(predict_diff & 0xff)]; 424 cur_diff = PredictionCostSpatialHistogram(accumulated, histo); 479 int histo[4][256]; local 480 memset(histo, 0, sizeof(histo)) 718 int histo[256] = { 0 }; local 756 int histo[256] = { 0 }; local [all...] |
dsp.h | 52 int VP8GetAlpha(const int histo[]);
|
enc.c | 28 int VP8GetAlpha(const int histo[MAX_COEFF_THRESH + 1]) { 34 if (histo[k + 1]) { 35 val += histo[k + 1]; 58 int histo[MAX_COEFF_THRESH + 1] = { 0 }; local 72 histo[out[k]]++; 76 return VP8GetAlpha(histo);
|
enc_sse2.c | 30 int histo[MAX_COEFF_THRESH + 1] = { 0 }; local 63 histo[out[k]]++; 67 return VP8GetAlpha(histo); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
ImageCurves.java | 242 int[] histo = new int[256 * 3]; local 254 histo[r]++; 255 histo[256 + g]++; 256 histo[512 + b]++; 259 return histo;
|
/external/valgrind/main/exp-dhat/ |
dh_main.c | 212 UInt* histo; /* [0 .. xsize-1] */ member in struct:__anon15425 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...] |