/dports/science/sparta/sparta-20Oct2021/src/ |
H A D | finish.cpp | 50 int histo[10]; in end() local 367 stats(1,&tmp,&ave,&max,&min,10,histo); in end() 384 stats(1,&tmp,&ave,&max,&min,10,histo); in end() 401 stats(1,&tmp,&ave,&max,&min,10,histo); in end() 418 stats(1,&tmp,&ave,&max,&min,10,histo); in end() 436 stats(1,&tmp,&ave,&max,&min,10,histo); in end() 453 stats(1,&tmp,&ave,&max,&min,10,histo); in end() 478 int nhisto, int *histo) in stats() argument 502 for (i = 0; i < nhisto; i++) histo[i] = 0; in stats() 509 histo[m]++; in stats() [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/brotli-3.3.2/src/enc/ |
H A D | bit_cost.rs | 283 let mut histo: [u32; 4] = [0; 4]; in BrotliPopulationCost() localVariable 289 histo[i] = (*histogram).slice()[s[i]]; in BrotliPopulationCost() 300 if histo[j] > histo[i] { in BrotliPopulationCost() 301 let mut __brotli_swap_tmp: u32 = histo[j]; in BrotliPopulationCost() 302 histo[j] = histo[i]; in BrotliPopulationCost() 303 histo[i] = __brotli_swap_tmp; in BrotliPopulationCost() 311 h23 = histo[2usize].wrapping_add(histo[3usize]); in BrotliPopulationCost() 312 histomax = brotli_max_uint32_t(h23, histo[0usize]); in BrotliPopulationCost() 314 (2u32).wrapping_mul(histo[0usize].wrapping_add(histo[1usize])) as super::util::floatX - in BrotliPopulationCost() 364 for histo in histogram.slice()[..data_size].iter() { in BrotliPopulationCost() [all …]
|
/dports/security/suricata/suricata-6.0.4/rust/vendor/brotli/src/enc/ |
H A D | bit_cost.rs | 283 let mut histo: [u32; 4] = [0; 4]; in BrotliPopulationCost() localVariable 289 histo[i] = (*histogram).slice()[s[i]]; in BrotliPopulationCost() 300 if histo[j] > histo[i] { in BrotliPopulationCost() 301 let mut __brotli_swap_tmp: u32 = histo[j]; in BrotliPopulationCost() 302 histo[j] = histo[i]; in BrotliPopulationCost() 303 histo[i] = __brotli_swap_tmp; in BrotliPopulationCost() 311 h23 = histo[2usize].wrapping_add(histo[3usize]); in BrotliPopulationCost() 312 histomax = brotli_max_uint32_t(h23, histo[0usize]); in BrotliPopulationCost() 314 (2u32).wrapping_mul(histo[0usize].wrapping_add(histo[1usize])) as super::util::floatX - in BrotliPopulationCost() 364 for histo in histogram.slice()[..data_size].iter() { in BrotliPopulationCost() [all …]
|
/dports/www/xh/xh-0.14.1/cargo-crates/brotli-3.3.2/src/enc/ |
H A D | bit_cost.rs | 283 let mut histo: [u32; 4] = [0; 4]; in BrotliPopulationCost() localVariable 289 histo[i] = (*histogram).slice()[s[i]]; in BrotliPopulationCost() 300 if histo[j] > histo[i] { in BrotliPopulationCost() 301 let mut __brotli_swap_tmp: u32 = histo[j]; in BrotliPopulationCost() 302 histo[j] = histo[i]; in BrotliPopulationCost() 303 histo[i] = __brotli_swap_tmp; in BrotliPopulationCost() 311 h23 = histo[2usize].wrapping_add(histo[3usize]); in BrotliPopulationCost() 312 histomax = brotli_max_uint32_t(h23, histo[0usize]); in BrotliPopulationCost() 314 (2u32).wrapping_mul(histo[0usize].wrapping_add(histo[1usize])) as super::util::floatX - in BrotliPopulationCost() 364 for histo in histogram.slice()[..data_size].iter() { in BrotliPopulationCost() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/algo/ |
H A D | vil3d_histogram.cxx | 11 std::vector<double>& histo) in vil3d_histogram_byte() argument 13 histo.resize(256); in vil3d_histogram_byte() 14 std::fill(histo.begin(),histo.end(),0.0); in vil3d_histogram_byte() 28 for (unsigned i=0;i<ni;++i,pixel+=istep) histo[*pixel]+=1; in vil3d_histogram_byte()
|
/dports/graphics/leptonica/leptonica-1.76.0/src/ |
H A D | rank.c | 273 l_int32 *histo, *histo16; in pixRankFilterGray() local 335 histo[n] = 0; in pixRankFilterGray() 347 histo[val]++; in pixRankFilterGray() 355 histo[val]--; in pixRankFilterGray() 361 histo[val]++; in pixRankFilterGray() 382 sum += histo[k]; in pixRankFilterGray() 395 histo[n] = 0; in pixRankFilterGray() 414 histo[val]--; in pixRankFilterGray() 417 histo[val]++; in pixRankFilterGray() 438 sum += histo[k]; in pixRankFilterGray() [all …]
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/media/jai/mlib/ |
H A D | MlibHistogramOpImage.java | 197 int[][] histo; in accumulateStatistics() local 200 histo = histJAI; in accumulateStatistics() 203 histo = new int[numBands][]; in accumulateStatistics() 205 histo[i] = new int[histogram.getNumBins(i)]; in accumulateStatistics() 219 if(histo == histJAI) { in accumulateStatistics() 222 Image.Histogram2(histo, img[0], lowValue, highValue, in accumulateStatistics() 227 Image.Histogram2(histo, img[0], lowValue, highValue, in accumulateStatistics() 233 int numBins = histo[i].length; in accumulateStatistics() 236 int[] binsBand = histo[i]; in accumulateStatistics()
|
/dports/textproc/irstlm/irstlm-5.80.03/src/ |
H A D | normcache.cpp | 102 ngram histo(dict,2); in put() local 103 *histo.wordp(1)=*ng.wordp(2); in put() 104 *histo.wordp(2)=*ng.wordp(3); in put() 105 histo.freq=cachesize[1]++; in put() 107 ngt->put(histo); in put() 108 return cache[1][histo.freq]=value; in put()
|
/dports/graphics/luminance-qt5/luminance-hdr-2.6.1.1/src/Libpfs/ |
H A D | rt_algo.cpp | 92 std::vector<uint32_t> histo(histoSize, 0); in findMinMaxPercentile() local 98 histo[static_cast<uint16_t>(scale * (data[i] - minVal))]++; in findMinMaxPercentile() 126 histo[i] += histothr[i]; in findMinMaxPercentile() 138 count += histo[k++]; in findMinMaxPercentile() 142 const size_t count_ = count - histo[k - 1]; in findMinMaxPercentile() 157 count += histo[k++]; in findMinMaxPercentile() 161 const size_t count_ = count - histo[k - 1]; in findMinMaxPercentile()
|
/dports/math/pdal/PDAL-2.3.0/plugins/i3s/lepcc/src/ |
H A D | Huffman.cpp | 39 if (!ComputeCodes(histo) || !ComputeCompressedSize(histo, nBytes, avgBpp)) in ComputeNumBytesNeededToEncode() 132 bool Huffman::ComputeCodes(const vector<int>& histo) in ComputeCodes() argument 134 if (histo.empty() || histo.size() >= m_maxHistoSize) in ComputeCodes() 141 int size = (int)histo.size(); in ComputeCodes() 143 if (histo[i] > 0) in ComputeCodes() 144 pq.push(Node((short)i, histo[i])); in ComputeCodes() 181 if (histo.empty() || histo.size() >= m_maxHistoSize) in ComputeCompressedSize() 189 int size = (int)histo.size(); in ComputeCompressedSize() 191 if (histo[i] > 0) in ComputeCompressedSize() 193 numBits += histo[i] * m_codeTable[i].first; in ComputeCompressedSize() [all …]
|
/dports/graphics/freeimage/FreeImage/Source/LibWebP/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libwebp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libwebp-sys2-0.1.2/c_src/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/libwebp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/libwebp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libwebp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/libwebp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/www/firefox/firefox-99.0/media/libwebp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/graphics/webp/libwebp-1.2.1/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/bep/gowebp/libwebp_src/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/devel/godot2/godot-2.1.6-stable/thirdparty/libwebp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/devel/godot2-tools/godot-2.1.6-stable/thirdparty/libwebp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/libwebp/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/www/zola/zola-0.15.2/cargo-crates/libwebp-sys-0.2.0/vendor/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/WebP/src/dsp/ |
H A D | lossless_enc_mips_dsp_r2.c | 177 int histo[]) { in CollectColorBlueTransforms() argument 208 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms() 209 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms() 212 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms() 227 int green_to_red, int histo[]) { in CollectColorRedTransforms() argument 250 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms() 251 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms() 254 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms()
|