/external/chromium_org/third_party/brotli/src/brotli/enc/ |
H A D | block_splitter.cc | 105 HistogramType histo; local 106 histo.Add(data + pos, stride); 107 vec->push_back(histo);
|
/external/chromium_org/third_party/libwebp/enc/ |
H A D | analysis.c | 113 static int GetAlpha(const VP8Histogram* const histo) { argument 118 const int value = histo->distribution[k]; 150 // 'int' type is ok for histo, and won't overflow 244 VP8Histogram histo = { { 0 } }; local 249 0, 16, &histo); 250 alpha = GetAlpha(&histo); 286 cur_histo ^= 1; // keep track of best histo so far. 310 VP8Histogram histo = { { 0 } }; local 314 16, 16 + 4 + 4, &histo); 315 alpha = GetAlpha(&histo); [all...] |
H A D | histogram.c | 57 void VP8LFreeHistogram(VP8LHistogram* const histo) { argument 58 WebPSafeFree(histo); 61 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) { argument 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_bit 65 VP8LHistogramStoreRefs(const VP8LBackwardRefs* const refs, VP8LHistogram* const histo) argument 129 VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo, const PixOrCopy* const v) argument 454 VP8LHistogram* const histo = orig_histograms[i]; local 474 VP8LHistogram* const histo = histograms[i]; local 482 VP8LHistogram* const histo = histograms[i]; local [all...] |
H A D | 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 840 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); local 892 VP8LHistogram* histo = VP8LAllocateHistogram(cache_bits); local [all...] |
H A D | 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 [all...] |
/external/webp/src/enc/ |
H A D | analysis.c | 113 static int GetAlpha(const VP8Histogram* const histo) { argument 118 const int value = histo->distribution[k]; 150 // 'int' type is ok for histo, and won't overflow 244 VP8Histogram histo = { { 0 } }; local 249 0, 16, &histo); 250 alpha = GetAlpha(&histo); 286 cur_histo ^= 1; // keep track of best histo so far. 310 VP8Histogram histo = { { 0 } }; local 314 16, 16 + 4 + 4, &histo); 315 alpha = GetAlpha(&histo); [all...] |
H A D | histogram.c | 57 void VP8LFreeHistogram(VP8LHistogram* const histo) { argument 58 WebPSafeFree(histo); 61 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) { argument 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_bit 65 VP8LHistogramStoreRefs(const VP8LBackwardRefs* const refs, VP8LHistogram* const histo) argument 129 VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo, const PixOrCopy* const v) argument 454 VP8LHistogram* const histo = orig_histograms[i]; local 474 VP8LHistogram* const histo = histograms[i]; local 482 VP8LHistogram* const histo = histograms[i]; local [all...] |
H A D | 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 840 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); local 892 VP8LHistogram* histo = VP8LAllocateHistogram(cache_bits); local [all...] |
H A D | 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 [all...] |
/external/chromium_org/third_party/libwebp/dsp/ |
H A D | enc.c | 45 VP8Histogram* const histo) { 57 histo->distribution[clipped_value]++; 43 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 | 885 VP8Histogram* const histo) { 905 histo->distribution[out[k]]++; 883 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
H A D | enc_sse2.c | 59 VP8Histogram* const histo) { 94 histo->distribution[out[k]]++; 57 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
H A D | lossless.c | 685 int histo[4][256]; local 686 memset(histo, 0, sizeof(histo)); 707 (const int (*)[256])histo, 721 UpdateHisto(histo, argb[ix]); 906 int histo[256] = { 0 }; local 912 ++histo[TransformColorRed(green_to_red, argb[ix])]; // red. 915 cur_diff = PredictionCostCrossColor(accumulated_red_histo, histo); 973 int histo[256] = { 0 }; local 979 ++histo[TransformColorBlu [all...] |
/external/webp/src/dsp/ |
H A D | enc.c | 45 VP8Histogram* const histo) { 57 histo->distribution[clipped_value]++; 43 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 | 885 VP8Histogram* const histo) { 905 histo->distribution[out[k]]++; 883 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
H A D | enc_sse2.c | 59 VP8Histogram* const histo) { 94 histo->distribution[out[k]]++; 57 CollectHistogram(const uint8_t* ref, const uint8_t* pred, int start_block, int end_block, VP8Histogram* const histo) argument
|
H A D | lossless.c | 685 int histo[4][256]; local 686 memset(histo, 0, sizeof(histo)); 707 (const int (*)[256])histo, 721 UpdateHisto(histo, argb[ix]); 906 int histo[256] = { 0 }; local 912 ++histo[TransformColorRed(green_to_red, argb[ix])]; // red. 915 cur_diff = PredictionCostCrossColor(accumulated_red_histo, histo); 973 int histo[256] = { 0 }; local 979 ++histo[TransformColorBlu [all...] |
/external/valgrind/main/exp-dhat/ |
H A D | dh_main.c | 212 UInt* histo; /* [0 .. xsize-1] */ member in struct:__anon31906 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...] |