/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | histogram_enc.c | 128 uint8_t* memory = (uint8_t*) (set->histograms); in HistogramSetResetPointers() 129 memory += set->max_size * sizeof(*set->histograms); in HistogramSetResetPointers() 132 set->histograms[i] = (VP8LHistogram*) memory; in HistogramSetResetPointers() 134 set->histograms[i]->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in HistogramSetResetPointers() 155 set->histograms = (VP8LHistogram**)memory; in VP8LAllocateHistogramSet() 160 VP8LHistogramInit(set->histograms[i], cache_bits, /*init_arrays=*/ 0); in VP8LAllocateHistogramSet() 167 const int cache_bits = set->histograms[0]->palette_code_bits_; in VP8LHistogramSetClear() 174 set->histograms = (VP8LHistogram**)memory; in VP8LHistogramSetClear() 179 set->histograms[i]->palette_code_bits_ = cache_bits; in VP8LHistogramSetClear() 186 assert(set->histograms[i] != NULL); in HistogramSetRemoveHistogram() [all …]
|
D | histogram_enc.h | 55 VP8LHistogram** histograms; member
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | histogram_enc.c | 128 uint8_t* memory = (uint8_t*) (set->histograms); in HistogramSetResetPointers() 129 memory += set->max_size * sizeof(*set->histograms); in HistogramSetResetPointers() 132 set->histograms[i] = (VP8LHistogram*) memory; in HistogramSetResetPointers() 134 set->histograms[i]->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in HistogramSetResetPointers() 155 set->histograms = (VP8LHistogram**)memory; in VP8LAllocateHistogramSet() 160 VP8LHistogramInit(set->histograms[i], cache_bits, /*init_arrays=*/ 0); in VP8LAllocateHistogramSet() 167 const int cache_bits = set->histograms[0]->palette_code_bits_; in VP8LHistogramSetClear() 174 set->histograms = (VP8LHistogram**)memory; in VP8LHistogramSetClear() 179 set->histograms[i]->palette_code_bits_ = cache_bits; in VP8LHistogramSetClear() 186 assert(set->histograms[i] != NULL); in HistogramSetRemoveHistogram() [all …]
|
D | histogram_enc.h | 55 VP8LHistogram** histograms; member
|
D | vp8l_enc.c | 463 const VP8LHistogram* const histo = histogram_image->histograms[i]; in GetHuffBitLengthsAndCodes() 505 VP8LHistogram* const histo = histogram_image->histograms[i]; in GetHuffBitLengthsAndCodes() 816 VP8LHistogramStoreRefs(refs, histogram_image->histograms[0]); in EncodeImageNoHuffman()
|
/third_party/node/deps/brotli/c/enc/ |
D | metablock_inc.h | 48 BlockSplit* split, HistogramType** histograms, size_t* histograms_size) { in FN() 70 BROTLI_DCHECK(*histograms == 0); in FN() 72 *histograms = BROTLI_ALLOC(m, HistogramType, *histograms_size); in FN() 73 self->histograms_ = *histograms; in FN() 74 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(*histograms)) return; in FN() 88 HistogramType* histograms = self->histograms_; in FN() local 96 BitsEntropy(histograms[0].data_, self->alphabet_size_); in FN() 102 FN(HistogramClear)(&histograms[self->curr_histogram_ix_]); in FN() 105 double entropy = BitsEntropy(histograms[self->curr_histogram_ix_].data_, in FN() 113 combined_histo[j] = histograms[self->curr_histogram_ix_]; in FN() [all …]
|
D | block_splitter_inc.h | 15 HistogramType* histograms) { in FN() 19 FN(ClearHistograms)(histograms, num_histograms); in FN() 28 FN(HistogramAddVector)(&histograms[i], data + pos, stride); in FN() 49 HistogramType* histograms) { in FN() 59 FN(HistogramAddHistogram)(&histograms[iter % num_histograms], &sample); in FN() 69 const HistogramType* histograms, in FN() 88 insert_cost[i] = FastLog2((uint32_t)histograms[i].total_count_); in FN() 94 insert_cost[j] - BitCost(histograms[j].data_[i]); in FN() 180 HistogramType* histograms) { in FN() 182 FN(ClearHistograms)(histograms, num_histograms); in FN() [all …]
|
D | metablock.c | 338 size_t num_symbols, BlockSplit* split, HistogramLiteral** histograms, in InitContextBlockSplitter() argument 368 BROTLI_DCHECK(*histograms == 0); in InitContextBlockSplitter() 370 *histograms = BROTLI_ALLOC(m, HistogramLiteral, *histograms_size); in InitContextBlockSplitter() 371 self->histograms_ = *histograms; in InitContextBlockSplitter() 372 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(*histograms)) return; in InitContextBlockSplitter() 387 HistogramLiteral* histograms = self->histograms_; in ContextBlockSplitterFinishBlock() local 400 BitsEntropy(histograms[i].data_, self->alphabet_size_); in ContextBlockSplitterFinishBlock() 426 entropy[i] = BitsEntropy(histograms[curr_histo_ix].data_, in ContextBlockSplitterFinishBlock() 431 combined_histo[jx] = histograms[curr_histo_ix]; in ContextBlockSplitterFinishBlock() 433 &histograms[last_histogram_ix]); in ContextBlockSplitterFinishBlock() [all …]
|
D | block_encoder_inc.h | 15 const HistogramType* histograms, const size_t histograms_size, in FN() 27 BuildAndStoreHuffmanTree(&histograms[i].data_[0], self->histogram_length_, in FN()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | metablock_inc.h | 48 BlockSplit* split, HistogramType** histograms, size_t* histograms_size) { in FN() 70 BROTLI_DCHECK(*histograms == 0); in FN() 72 *histograms = BROTLI_ALLOC(m, HistogramType, *histograms_size); in FN() 73 self->histograms_ = *histograms; in FN() 74 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(*histograms)) return; in FN() 88 HistogramType* histograms = self->histograms_; in FN() local 96 BitsEntropy(histograms[0].data_, self->alphabet_size_); in FN() 102 FN(HistogramClear)(&histograms[self->curr_histogram_ix_]); in FN() 105 double entropy = BitsEntropy(histograms[self->curr_histogram_ix_].data_, in FN() 113 combined_histo[j] = histograms[self->curr_histogram_ix_]; in FN() [all …]
|
D | block_splitter_inc.h | 15 HistogramType* histograms) { in FN() 19 FN(ClearHistograms)(histograms, num_histograms); in FN() 28 FN(HistogramAddVector)(&histograms[i], data + pos, stride); in FN() 49 HistogramType* histograms) { in FN() 59 FN(HistogramAddHistogram)(&histograms[iter % num_histograms], &sample); in FN() 69 const HistogramType* histograms, in FN() 88 insert_cost[i] = FastLog2((uint32_t)histograms[i].total_count_); in FN() 94 insert_cost[j] - BitCost(histograms[j].data_[i]); in FN() 180 HistogramType* histograms) { in FN() 182 FN(ClearHistograms)(histograms, num_histograms); in FN() [all …]
|
D | metablock.c | 338 size_t num_symbols, BlockSplit* split, HistogramLiteral** histograms, in InitContextBlockSplitter() argument 368 BROTLI_DCHECK(*histograms == 0); in InitContextBlockSplitter() 370 *histograms = BROTLI_ALLOC(m, HistogramLiteral, *histograms_size); in InitContextBlockSplitter() 371 self->histograms_ = *histograms; in InitContextBlockSplitter() 372 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(*histograms)) return; in InitContextBlockSplitter() 387 HistogramLiteral* histograms = self->histograms_; in ContextBlockSplitterFinishBlock() local 400 BitsEntropy(histograms[i].data_, self->alphabet_size_); in ContextBlockSplitterFinishBlock() 426 entropy[i] = BitsEntropy(histograms[curr_histo_ix].data_, in ContextBlockSplitterFinishBlock() 431 combined_histo[jx] = histograms[curr_histo_ix]; in ContextBlockSplitterFinishBlock() 433 &histograms[last_histogram_ix]); in ContextBlockSplitterFinishBlock() [all …]
|
D | block_encoder_inc.h | 15 const HistogramType* histograms, const size_t histograms_size, in FN() 27 BuildAndStoreHuffmanTree(&histograms[i].data_[0], self->histogram_length_, in FN()
|
/third_party/mesa3d/src/amd/vulkan/radix_sort/shaders/ |
D | prefix.comp | 8 // Prefix sum the coarse histograms. 152 // Define buffer reference to read histograms 156 // Define histograms bufref for single subgroup 173 // Define histograms bufref for workgroup
|
D | histogram.comp | 8 // Produce multiple radix size histograms from the keyvals. 359 // Accumulate and store histograms for passes
|
D | init.comp | 150 // 256-dword partitions directly follow the 256-dword histograms, we
|
/third_party/skia/third_party/externals/angle2/src/tests/ |
D | run_perf_tests.py | 182 def _save_extra_output_files(args, results, histograms): argument 194 out_file.write(json.dumps(histograms.AsDicts(), indent=2)) 345 histograms = histogram_set.HistogramSet() 454 histograms.Merge(merged_histogram) 462 _save_extra_output_files(args, results, histograms) 466 out_file.write(json.dumps(histograms.AsDicts(), indent=2))
|
/third_party/ffmpeg/libavcodec/ |
D | idcinvideo.c | 150 unsigned char *histograms; in idcin_decode_init() local 162 histograms = (unsigned char *)s->avctx->extradata; in idcin_decode_init() 165 s->huff_nodes[i][j].count = histograms[histogram_index++]; in idcin_decode_init()
|
/third_party/skia/third_party/externals/angle2/scripts/ |
D | process_angle_perf_results.py | 337 histograms = histogram_set.HistogramSet() 338 histograms.ImportDicts(data) 339 return histograms 343 histograms = _load_histogram_set_from_dict(results) 361 histograms.AddSharedDiagnosticToAllHistograms(k.name, generic_set.GenericSet([v])) 363 return histograms.AsDicts()
|
/third_party/mesa3d/src/amd/vulkan/radix_sort/ |
D | radix_sort_vk.c | 385 rs->internal.histograms.offset = 0; in radix_sort_vk_create() 386 rs->internal.histograms.range = keyval_bytes * (RS_RADIX_SIZE * sizeof(uint32_t)); in radix_sort_vk_create() 393 rs->internal.partitions.offset = rs->internal.histograms.offset + rs->internal.histograms.range; in radix_sort_vk_create() 649 rs->internal.histograms.offset + fill_base, in radix_sort_vk_sort_devaddr() 668 …VkDeviceAddress const devaddr_histograms = info->internal.devaddr + rs->internal.histograms.offs… in radix_sort_vk_sort_devaddr() 919 VkDeviceAddress const devaddr_histograms = info->internal + rs->internal.histograms.offset; in radix_sort_vk_sort_indirect_devaddr()
|
D | radix_sort_vk.h | 145 } histograms; member
|
/third_party/ffmpeg/libavfilter/ |
D | vf_tmidequalizer.c | 99 static void compute_contrast_function(const float *const histograms[256], in compute_contrast_function() 104 const float *const h1 = histograms[idx]; in compute_contrast_function() 113 const float *const h2 = histograms[nidx < 0 ? nidx + nb_frames: nidx]; in compute_contrast_function() 126 const float *const h2 = histograms[nidx < 0 ? nidx + nb_frames: nidx]; in compute_contrast_function()
|
/third_party/cef/tests/ceftests/ |
D | webui_unittest.cc | 179 WEBUI_TEST(histograms) in WEBUI_TEST()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/ |
D | HistogramWriter.cpp | 95 const proto::Histogram &histogram = histogramSet.histograms(histogramIndex); in getAsJSON()
|
/third_party/mesa3d/docs/relnotes/ |
D | 3.3 | 120 Compute histograms for glDraw/Read/CopyPixels.
|