Home
last modified time | relevance | path

Searched refs:histogram_symbols (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/brotli/c/enc/
Dblock_splitter_inc.h193 uint32_t* histogram_symbols = BROTLI_ALLOC(m, uint32_t, num_blocks); in FN() local
222 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(histogram_symbols) || in FN()
273 histogram_symbols[i + j] = (uint32_t)num_clusters + remap[symbols[j]]; in FN()
295 all_histograms, cluster_size, histogram_symbols, clusters, pairs, in FN()
316 best_out = (i == 0) ? histogram_symbols[0] : histogram_symbols[i - 1]; in FN()
327 histogram_symbols[i] = best_out; in FN()
347 histogram_symbols[i] != histogram_symbols[i + 1]) { in FN()
348 const uint8_t id = (uint8_t)new_index[histogram_symbols[i]]; in FN()
361 BROTLI_FREE(m, histogram_symbols); in FN()
Dcluster_inc.h252 uint32_t* histogram_symbols) CODE({
274 histogram_symbols[i] = (uint32_t)i;
287 &histogram_symbols[i],
305 histogram_symbols, clusters,
313 out, histogram_symbols);
316 *out_size = FN(BrotliHistogramReindex)(m, out, histogram_symbols, in_size);
/third_party/node/deps/brotli/c/enc/
Dblock_splitter_inc.h193 uint32_t* histogram_symbols = BROTLI_ALLOC(m, uint32_t, num_blocks); in FN() local
222 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(histogram_symbols) || in FN()
273 histogram_symbols[i + j] = (uint32_t)num_clusters + remap[symbols[j]]; in FN()
295 all_histograms, cluster_size, histogram_symbols, clusters, pairs, in FN()
316 best_out = (i == 0) ? histogram_symbols[0] : histogram_symbols[i - 1]; in FN()
327 histogram_symbols[i] = best_out; in FN()
347 histogram_symbols[i] != histogram_symbols[i + 1]) { in FN()
348 const uint8_t id = (uint8_t)new_index[histogram_symbols[i]]; in FN()
361 BROTLI_FREE(m, histogram_symbols); in FN()
Dcluster_inc.h252 uint32_t* histogram_symbols) CODE({
274 histogram_symbols[i] = (uint32_t)i;
287 &histogram_symbols[i],
305 histogram_symbols, clusters,
313 out, histogram_symbols);
316 *out_size = FN(BrotliHistogramReindex)(m, out, histogram_symbols, in_size);
/third_party/skia/third_party/externals/libwebp/src/enc/
Dhistogram_enc.c585 uint16_t* const histogram_symbols) { in HistogramCopyAndAnalyze() argument
605 histogram_symbols[i] = kInvalidHistogramSymbol; in HistogramCopyAndAnalyze()
609 histogram_symbols[i] = cluster_id++; in HistogramCopyAndAnalyze()
1177 uint16_t* const histogram_symbols) { in VP8LGetHistoImageSymbols() argument
1202 histogram_symbols); in VP8LGetHistoImageSymbols()
1215 HistogramCombineEntropyBin(image_histo, &num_used, histogram_symbols, in VP8LGetHistoImageSymbols()
1220 map_tmp, histogram_symbols); in VP8LGetHistoImageSymbols()
1244 HistogramRemap(orig_histo, image_histo, histogram_symbols); in VP8LGetHistoImageSymbols()
Dvp8l_enc.c955 const uint16_t* histogram_symbols, in StoreImageToBitMask() argument
964 int histogram_ix = histogram_symbols[0]; in StoreImageToBitMask()
972 histogram_ix = histogram_symbols[(y >> histo_bits) * histo_xsize + in StoreImageToBitMask()
1023 const uint16_t histogram_symbols[1] = { 0 }; // only one tree, one symbol in EncodeImageNoHuffman() local
1086 err = StoreImageToBitMask(bw, width, 0, refs, histogram_symbols, in EncodeImageNoHuffman()
1115 uint16_t* const histogram_symbols = in EncodeImageInternal() local
1117 sizeof(*histogram_symbols)); in EncodeImageInternal()
1131 if (huff_tree == NULL || histogram_symbols == NULL || in EncodeImageInternal()
1179 histogram_symbols)) { in EncodeImageInternal()
1221 const int symbol_index = histogram_symbols[i] & 0xffff; in EncodeImageInternal()
[all …]
Dhistogram_enc.h115 uint16_t* const histogram_symbols);
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dhistogram_enc.c584 uint16_t* const histogram_symbols) { in HistogramCopyAndAnalyze() argument
604 histogram_symbols[i] = kInvalidHistogramSymbol; in HistogramCopyAndAnalyze()
608 histogram_symbols[i] = cluster_id++; in HistogramCopyAndAnalyze()
1176 uint16_t* const histogram_symbols) { in VP8LGetHistoImageSymbols() argument
1199 histogram_symbols); in VP8LGetHistoImageSymbols()
1212 HistogramCombineEntropyBin(image_histo, &num_used, histogram_symbols, in VP8LGetHistoImageSymbols()
1217 map_tmp, histogram_symbols); in VP8LGetHistoImageSymbols()
1241 HistogramRemap(orig_histo, image_histo, histogram_symbols); in VP8LGetHistoImageSymbols()
Dvp8l_enc.c714 const uint16_t* histogram_symbols, in StoreImageToBitMask() argument
723 int histogram_ix = histogram_symbols[0]; in StoreImageToBitMask()
731 histogram_ix = histogram_symbols[(y >> histo_bits) * histo_xsize + in StoreImageToBitMask()
785 const uint16_t histogram_symbols[1] = { 0 }; // only one tree, one symbol in EncodeImageNoHuffman() local
850 err = StoreImageToBitMask(bw, width, 0, refs, histogram_symbols, in EncodeImageNoHuffman()
881 uint16_t* const histogram_symbols = in EncodeImageInternal() local
883 sizeof(*histogram_symbols)); in EncodeImageInternal()
892 if (histogram_symbols == NULL) { in EncodeImageInternal()
941 tmp_histo, histogram_symbols)) { in EncodeImageInternal()
988 const int symbol_index = histogram_symbols[i] & 0xffff; in EncodeImageInternal()
[all …]
Dhistogram_enc.h115 uint16_t* const histogram_symbols);