/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | histogram.cc | 52 int vector_sum = 0; // Sum up the vector elements as they are processed. in Add() local 56 vector_sum += bucket; in Add() 63 vector_sum += (32768 - forget_factor_) << 15; // Add to vector sum. in Add() 67 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in Add() 68 if (vector_sum != 0) { in Add() 70 int flip_sign = vector_sum > 0 ? -1 : 1; in Add() 73 int correction = flip_sign * std::min(std::abs(vector_sum), bucket >> 4); in Add() 75 vector_sum += correction; in Add() 76 if (std::abs(vector_sum) == 0) { in Add() 81 RTC_DCHECK(vector_sum == 0); // Verify that the above is correct. in Add()
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/audio_coding/neteq/ |
H A D | histogram.cc | 52 int vector_sum = 0; // Sum up the vector elements as they are processed. in Add() local 56 vector_sum += bucket; in Add() 63 vector_sum += (32768 - forget_factor_) << 15; // Add to vector sum. in Add() 67 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in Add() 68 if (vector_sum != 0) { in Add() 70 int flip_sign = vector_sum > 0 ? -1 : 1; in Add() 73 int correction = flip_sign * std::min(std::abs(vector_sum), bucket >> 4); in Add() 75 vector_sum += correction; in Add() 76 if (std::abs(vector_sum) == 0) { in Add() 81 RTC_DCHECK(vector_sum == 0); // Verify that the above is correct. in Add()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | histogram.cc | 52 int vector_sum = 0; // Sum up the vector elements as they are processed. in Add() local 56 vector_sum += bucket; in Add() 63 vector_sum += (32768 - forget_factor_) << 15; // Add to vector sum. in Add() 67 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in Add() 68 if (vector_sum != 0) { in Add() 70 int flip_sign = vector_sum > 0 ? -1 : 1; in Add() 73 int correction = flip_sign * std::min(std::abs(vector_sum), bucket >> 4); in Add() 75 vector_sum += correction; in Add() 76 if (std::abs(vector_sum) == 0) { in Add() 81 RTC_DCHECK(vector_sum == 0); // Verify that the above is correct. in Add()
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/audio_coding/neteq/ |
H A D | histogram.cc | 52 int vector_sum = 0; // Sum up the vector elements as they are processed. in Add() local 56 vector_sum += bucket; in Add() 63 vector_sum += (32768 - forget_factor_) << 15; // Add to vector sum. in Add() 67 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in Add() 68 if (vector_sum != 0) { in Add() 70 int flip_sign = vector_sum > 0 ? -1 : 1; in Add() 73 int correction = flip_sign * std::min(std::abs(vector_sum), bucket >> 4); in Add() 75 vector_sum += correction; in Add() 76 if (std::abs(vector_sum) == 0) { in Add() 81 RTC_DCHECK(vector_sum == 0); // Verify that the above is correct. in Add()
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/ |
H A D | delay_manager.cc | 186 int vector_sum = 0; // Sum up the vector elements as they are processed. in UpdateHistogram() local 191 vector_sum += *it; in UpdateHistogram() 198 vector_sum += (32768 - iat_factor_) << 15; // Add to vector sum. in UpdateHistogram() 202 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in UpdateHistogram() 203 if (vector_sum != 0) { in UpdateHistogram() 205 int flip_sign = vector_sum > 0 ? -1 : 1; in UpdateHistogram() 207 while (it != iat_vector_.end() && abs(vector_sum) > 0) { in UpdateHistogram() 209 int correction = flip_sign * std::min(abs(vector_sum), (*it) >> 4); in UpdateHistogram() 211 vector_sum += correction; in UpdateHistogram() 215 assert(vector_sum == 0); // Verify that the above is correct. in UpdateHistogram()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/ |
H A D | delay_manager.cc | 183 int vector_sum = 0; // Sum up the vector elements as they are processed. in DecoderDatabase() 188 vector_sum += *it; in DecoderDatabase() 195 vector_sum += (32768 - iat_factor_) << 15; // Add to vector sum. in DecoderDatabase() 199 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in DecoderDatabase() 200 if (vector_sum != 0) { in DecoderDatabase() 202 int flip_sign = vector_sum > 0 ? -1 : 1; in DecoderDatabase() 204 while (it != iat_vector_.end() && abs(vector_sum) > 0) { in DecoderDatabase() 206 int correction = flip_sign * std::min(abs(vector_sum), (*it) >> 4); in DecoderDatabase() 208 vector_sum += correction; in DecoderDatabase() 212 assert(vector_sum == 0); // Verify that the above is correct. in DecoderDatabase()
|
/dports/multimedia/mswebrtc/mswebrtc-1.1.1/webrtc/webrtc/modules/audio_coding/neteq/ |
H A D | delay_manager.cc | 183 int vector_sum = 0; // Sum up the vector elements as they are processed. in UpdateHistogram() local 188 vector_sum += *it; in UpdateHistogram() 195 vector_sum += (32768 - iat_factor_) << 15; // Add to vector sum. in UpdateHistogram() 199 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in UpdateHistogram() 200 if (vector_sum != 0) { in UpdateHistogram() 202 int flip_sign = vector_sum > 0 ? -1 : 1; in UpdateHistogram() 204 while (it != iat_vector_.end() && abs(vector_sum) > 0) { in UpdateHistogram() 206 int correction = flip_sign * std::min(abs(vector_sum), (*it) >> 4); in UpdateHistogram() 208 vector_sum += correction; in UpdateHistogram() 212 assert(vector_sum == 0); // Verify that the above is correct. in UpdateHistogram()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/audio_coding/neteq/ |
H A D | delay_manager.cc | 190 int vector_sum = 0; // Sum up the vector elements as they are processed. in UpdateHistogram() local 195 vector_sum += *it; in UpdateHistogram() 202 vector_sum += (32768 - iat_factor_) << 15; // Add to vector sum. in UpdateHistogram() 206 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in UpdateHistogram() 207 if (vector_sum != 0) { in UpdateHistogram() 209 int flip_sign = vector_sum > 0 ? -1 : 1; in UpdateHistogram() 211 while (it != iat_vector_.end() && abs(vector_sum) > 0) { in UpdateHistogram() 213 int correction = flip_sign * std::min(abs(vector_sum), (*it) >> 4); in UpdateHistogram() 215 vector_sum += correction; in UpdateHistogram() 219 assert(vector_sum == 0); // Verify that the above is correct. in UpdateHistogram()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/audio_coding/neteq/ |
H A D | delay_manager.cc | 190 int vector_sum = 0; // Sum up the vector elements as they are processed. in UpdateHistogram() local 195 vector_sum += *it; in UpdateHistogram() 202 vector_sum += (32768 - iat_factor_) << 15; // Add to vector sum. in UpdateHistogram() 206 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in UpdateHistogram() 207 if (vector_sum != 0) { in UpdateHistogram() 209 int flip_sign = vector_sum > 0 ? -1 : 1; in UpdateHistogram() 211 while (it != iat_vector_.end() && abs(vector_sum) > 0) { in UpdateHistogram() 213 int correction = flip_sign * std::min(abs(vector_sum), (*it) >> 4); in UpdateHistogram() 215 vector_sum += correction; in UpdateHistogram() 219 assert(vector_sum == 0); // Verify that the above is correct. in UpdateHistogram()
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/ |
H A D | delay_manager.cc | 190 int vector_sum = 0; // Sum up the vector elements as they are processed. in UpdateHistogram() local 195 vector_sum += *it; in UpdateHistogram() 202 vector_sum += (32768 - iat_factor_) << 15; // Add to vector sum. in UpdateHistogram() 206 vector_sum -= 1 << 30; // Should be zero. Compensate if not. in UpdateHistogram() 207 if (vector_sum != 0) { in UpdateHistogram() 209 int flip_sign = vector_sum > 0 ? -1 : 1; in UpdateHistogram() 211 while (it != iat_vector_.end() && abs(vector_sum) > 0) { in UpdateHistogram() 213 int correction = flip_sign * std::min(abs(vector_sum), (*it) >> 4); in UpdateHistogram() 215 vector_sum += correction; in UpdateHistogram() 219 assert(vector_sum == 0); // Verify that the above is correct. in UpdateHistogram()
|
/dports/games/wesnoth/wesnoth-1.14.17/src/tests/ |
H A D | test_map_location.cpp | 41 vt2 = vb.vector_sum(vc); in MLFixture() 42 vt3 = va.vector_sum(vc.vector_negation()); in MLFixture() 104 BOOST_CHECK_EQUAL( a.vector_sum(b), b.vector_sum(a)); in characterization_distance_direction() 114 BOOST_CHECK_EQUAL(a.vector_sum(b.vector_sum(c)) , a.vector_sum(b).vector_sum(c)); in characterization_distance_direction() 115 BOOST_CHECK_EQUAL(a.vector_sum(vector_difference(b,c)) , vector_difference(a.vector_sum(b),c)); in characterization_distance_direction() 116 …BOOST_CHECK_EQUAL(vector_difference(a,b.vector_sum(c)) , vector_difference(vector_difference(a,b),… in characterization_distance_direction() 119 BOOST_CHECK_EQUAL(expected_dir, (a.vector_sum(c)).get_relative_dir(b.vector_sum(c),mode)); in characterization_distance_direction() 299 map_location temp(loc.vector_sum(lz)); in reality_check_get_direction_helper()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bsta/algo/ |
H A D | bsta_von_mises_updater.h | 55 pdist.vector_sum += sample; in operator() 56 this->update(pdist, pdist.vector_sum, math_t(1)/pdist.num_observations); in operator() 61 pdist.vector_sum += sample; in operator() 62 this->update(pdist, pdist.vector_sum, alpha); in operator()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bsta/ |
H A D | bsta_attributes.h | 76 bsta_vsum_num_obs<dist_>() : dist_(), num_observations(T(0)), vector_sum(vect_t(T(0))) {} 80 : dist_(d), num_observations(n_obs), vector_sum(vsum) {} 84 vect_t vector_sum; 93 << "vector_sum:" << vno.vector_sum << '\n'
|
/dports/misc/cheat/cheat-4.2.2/vendor/github.com/alecthomas/chroma/chroma-0.9.1/lexers/testdata/ |
H A D | matlab.actual | 2 function p = vector_sum(x) 10 sum_from_1_to_10 = vector_sum(z)
|
H A D | matlab.expected | 9 {"type":"NameFunction","value":"vector_sum"}, 64 {"type":"Name","value":"vector_sum"},
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/github.com/alecthomas/chroma/lexers/testdata/ |
H A D | matlab.actual | 2 function p = vector_sum(x) 10 sum_from_1_to_10 = vector_sum(z)
|
H A D | matlab.expected | 9 {"type":"NameFunction","value":"vector_sum"}, 64 {"type":"Name","value":"vector_sum"},
|
/dports/devel/gh/cli-2.4.0/vendor/github.com/alecthomas/chroma/lexers/testdata/ |
H A D | matlab.actual | 2 function p = vector_sum(x) 10 sum_from_1_to_10 = vector_sum(z)
|
H A D | matlab.expected | 9 {"type":"NameFunction","value":"vector_sum"}, 64 {"type":"Name","value":"vector_sum"},
|
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/github.com/alecthomas/chroma/lexers/testdata/ |
H A D | matlab.actual | 2 function p = vector_sum(x) 10 sum_from_1_to_10 = vector_sum(z)
|
H A D | matlab.expected | 9 {"type":"NameFunction","value":"vector_sum"}, 64 {"type":"Name","value":"vector_sum"},
|
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/alecthomas/chroma/lexers/testdata/ |
H A D | matlab.actual | 2 function p = vector_sum(x) 10 sum_from_1_to_10 = vector_sum(z)
|
/dports/devel/chroma/chroma-0.9.2/lexers/testdata/ |
H A D | matlab.actual | 2 function p = vector_sum(x) 10 sum_from_1_to_10 = vector_sum(z)
|
/dports/sysutils/glow/glow-0.2.0/vendor/github.com/alecthomas/chroma/lexers/testdata/ |
H A D | matlab.actual | 2 function p = vector_sum(x) 10 sum_from_1_to_10 = vector_sum(z)
|
/dports/sysutils/go-wtf/wtf-0.21.0/vendor/github.com/alecthomas/chroma/chroma-0.6.3/lexers/testdata/ |
H A D | matlab.actual | 2 function p = vector_sum(x) 10 sum_from_1_to_10 = vector_sum(z)
|