Home
last modified time | relevance | path

Searched refs:histograms (Results 1 – 25 of 41) sorted by relevance

12

/third_party/skia/third_party/externals/libwebp/src/enc/
Dhistogram_enc.c128 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 …]
Dhistogram_enc.h55 VP8LHistogram** histograms; member
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dhistogram_enc.c128 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 …]
Dhistogram_enc.h55 VP8LHistogram** histograms; member
Dvp8l_enc.c463 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/
Dmetablock_inc.h48 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 …]
Dblock_splitter_inc.h15 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 …]
Dmetablock.c338 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 …]
Dblock_encoder_inc.h15 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/
Dmetablock_inc.h48 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 …]
Dblock_splitter_inc.h15 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 …]
Dmetablock.c338 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 …]
Dblock_encoder_inc.h15 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/
Dprefix.comp8 // 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
Dhistogram.comp8 // Produce multiple radix size histograms from the keyvals.
359 // Accumulate and store histograms for passes
Dinit.comp150 // 256-dword partitions directly follow the 256-dword histograms, we
/third_party/skia/third_party/externals/angle2/src/tests/
Drun_perf_tests.py182 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/
Didcinvideo.c150 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/
Dprocess_angle_perf_results.py337 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/
Dradix_sort_vk.c385 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()
Dradix_sort_vk.h145 } histograms; member
/third_party/ffmpeg/libavfilter/
Dvf_tmidequalizer.c99 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/
Dwebui_unittest.cc179 WEBUI_TEST(histograms) in WEBUI_TEST()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
DHistogramWriter.cpp95 const proto::Histogram &histogram = histogramSet.histograms(histogramIndex); in getAsJSON()
/third_party/mesa3d/docs/relnotes/
D3.3120 Compute histograms for glDraw/Read/CopyPixels.

12