/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/client/audio/ |
H A D | audio_player_unittest.cc | 157 int total_samples = 0; in TEST_F() local 162 total_samples += packet1_samples; in TEST_F() 178 ASSERT_EQ(75, total_samples); in TEST_F() 185 int total_samples = 0; in TEST_F() local 190 total_samples += packet1_samples; in TEST_F() 196 total_samples += packet2_samples; in TEST_F() 221 ASSERT_EQ(40, total_samples); in TEST_F() 228 int total_samples = 0; in TEST_F() local 233 total_samples += packet1_samples; in TEST_F() 276 ASSERT_EQ(5, total_samples); in TEST_F() [all …]
|
/dports/science/qiskit-aer/qiskit-aer-0.5.2/test/terra/backends/ |
H A D | test_pulse_simulator.py | 87 total_samples = 100 123 total_samples = 100 173 total_samples = 100 219 total_samples = 100 257 total_samples=total_samples, 270 total_samples = 100 327 total_samples = 100 339 total_samples / 6, total_samples / 3, total_samples 375 total_samples = 100 481 total_samples = 100 [all …]
|
/dports/net/iaxmodem/iaxmodem-1.2.0/lib/spandsp/tests/ |
H A D | noise_tests.c | 58 int total_samples; in main() local 100 total_samples = 1000000; in main() 101 for (i = 0; i < total_samples; i++) in main() 111 log10(sqrt(total/total_samples)/32768.0)*20.0, in main() 130 total_samples = 1000000; in main() 131 for (i = 0; i < total_samples; i++) in main() 162 total_samples = 10000000; in main() 163 for (i = 0; i < total_samples; i++) in main() 185 x /= total_samples; in main() 220 total_samples = 1000000; in main() [all …]
|
H A D | awgn_tests.c | 56 int total_samples; in main() local 79 total_samples = 1000000; in main() 80 for (i = 0; i < total_samples; i++) in main() 89 error = 100.0*(1.0 - sqrt(total/total_samples)/noise_source.rms); in main() 91 log10(sqrt(total/total_samples)/32768.0)*20.0 + DBM0_MAX_POWER, in main() 111 total_samples = 10000000; in main() 112 for (i = 0; i < total_samples; i++) in main() 133 x /= total_samples; in main()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/spandsp/tests/ |
H A D | noise_tests.c | 58 int total_samples; in main() local 92 total_samples = 1000000; in main() 93 for (i = 0; i < total_samples; i++) in main() 103 10.0*log10((total/total_samples)/(32768.0*32768.0) + 1.0e-10), in main() 127 total_samples = 10000000; in main() 128 for (i = 0; i < total_samples; i++) in main() 150 x /= total_samples; in main() 183 total_samples = 1000000; in main() 184 for (i = 0; i < total_samples; i++) in main() 194 10.0*log10((total/total_samples)/(32768.0*32768.0) + 1.0e-10), in main() [all …]
|
H A D | awgn_tests.c | 56 int total_samples; in main() local 83 total_samples = 1000000; in main() 84 for (i = 0; i < total_samples; i++) in main() 93 error = 100.0*(1.0 - sqrt(total/total_samples)/noise_source->rms); in main() 95 10.0*log10((total/total_samples)/(32768.0*32768.0) + 1.0e-10) + DBM0_MAX_POWER, in main() 120 total_samples = 10000000; in main() 121 for (i = 0; i < total_samples; i++) in main() 142 x /= total_samples; in main()
|
/dports/comms/spandsp/spandsp-284fe91/tests/ |
H A D | noise_tests.c | 58 int total_samples; in main() local 92 total_samples = 1000000; in main() 93 for (i = 0; i < total_samples; i++) in main() 103 10.0*log10((total/total_samples)/(32768.0*32768.0) + 1.0e-10), in main() 127 total_samples = 10000000; in main() 128 for (i = 0; i < total_samples; i++) in main() 150 x /= total_samples; in main() 183 total_samples = 1000000; in main() 184 for (i = 0; i < total_samples; i++) in main() 194 10.0*log10((total/total_samples)/(32768.0*32768.0) + 1.0e-10), in main() [all …]
|
H A D | awgn_tests.c | 56 int total_samples; in main() local 83 total_samples = 1000000; in main() 84 for (i = 0; i < total_samples; i++) in main() 93 error = 100.0*(1.0 - sqrt(total/total_samples)/noise_source->rms); in main() 95 10.0*log10((total/total_samples)/(32768.0*32768.0) + 1.0e-10) + DBM0_MAX_POWER, in main() 120 total_samples = 10000000; in main() 121 for (i = 0; i < total_samples; i++) in main() 142 x /= total_samples; in main()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/include/2geom/numeric/ |
H A D | fitting-tool.h | 79 if (total_samples() == 0) return; in update() 89 size_t total_samples() const in total_samples() function 144 using base_type::total_samples; 174 Vector diff(total_samples()); in result() 220 using base_type::total_samples; 233 Matrix svm(total_samples(), 2); in result() 253 Matrix diff(total_samples(), 2); in result() 314 using base_type::total_samples; 338 assert(sample_index < total_samples()); in append_copy() 360 using base_type::total_samples; [all …]
|
/dports/math/lib2geom/lib2geom-1.1/include/2geom/numeric/ |
H A D | fitting-tool.h | 79 if (total_samples() == 0) return; in update() 89 size_t total_samples() const in total_samples() function 144 using base_type::total_samples; 174 Vector diff(total_samples()); in result() 220 using base_type::total_samples; 233 Matrix svm(total_samples(), 2); in result() 253 Matrix diff(total_samples(), 2); in result() 314 using base_type::total_samples; 338 assert(sample_index < total_samples()); in append_copy() 360 using base_type::total_samples; [all …]
|
/dports/audio/ardour6/Ardour-6.8.0/libs/audiographer/tests/general/ |
H A D | deinterleaver_test.cc | 22 total_samples = channels * samples_per_channel; in setUp() 23 random_data = TestUtils::init_random_data (total_samples, 1.0); in setUp() 52 ProcessContext<float> c (random_data, 2 * total_samples, channels); in testInvalidInputSize() 55 CPPUNIT_ASSERT_THROW (deinterleaver->process (c.beginning (total_samples + channels)), Exception); in testInvalidInputSize() 58 CPPUNIT_ASSERT_THROW (deinterleaver->process (c.beginning (total_samples + 1)), Exception); in testInvalidInputSize() 61 CPPUNIT_ASSERT_THROW (deinterleaver->process (c.beginning (total_samples - 1)), Exception); in testInvalidInputSize() 87 ProcessContext<float> c (random_data, total_samples, channels); in testOutputSize() 106 ProcessContext<float> c (random_data, total_samples, channels); in testZeroInput() 124 samplecnt_t total_samples; member in DeInterleaverTest
|
/dports/devel/sdl20/SDL2-2.0.18/test/ |
H A D | testsurround.c | 98 static int total_samples = 0; in fill_buffer() local 110 float time = (float)total_samples++ / SAMPLE_RATE_HZ; in fill_buffer() 115 if (total_samples < SAMPLE_RATE_HZ) { in fill_buffer() 116 amplitude = total_samples * MAX_AMPLITUDE / SAMPLE_RATE_HZ; in fill_buffer() 117 } else if (total_samples > (CHANNEL_TEST_TIME_SEC - 1) * SAMPLE_RATE_HZ) { in fill_buffer() 118 …amplitude = (CHANNEL_TEST_TIME_SEC * SAMPLE_RATE_HZ - total_samples) * MAX_AMPLITUDE / SAMPLE_RATE… in fill_buffer() 126 if (total_samples == CHANNEL_TEST_TIME_SEC * SAMPLE_RATE_HZ) { in fill_buffer() 127 total_samples = 0; in fill_buffer()
|
/dports/x11/controllermap/SDL2-2.0.18/test/ |
H A D | testsurround.c | 98 static int total_samples = 0; in fill_buffer() local 110 float time = (float)total_samples++ / SAMPLE_RATE_HZ; in fill_buffer() 115 if (total_samples < SAMPLE_RATE_HZ) { in fill_buffer() 116 amplitude = total_samples * MAX_AMPLITUDE / SAMPLE_RATE_HZ; in fill_buffer() 117 } else if (total_samples > (CHANNEL_TEST_TIME_SEC - 1) * SAMPLE_RATE_HZ) { in fill_buffer() 118 …amplitude = (CHANNEL_TEST_TIME_SEC * SAMPLE_RATE_HZ - total_samples) * MAX_AMPLITUDE / SAMPLE_RATE… in fill_buffer() 126 if (total_samples == CHANNEL_TEST_TIME_SEC * SAMPLE_RATE_HZ) { in fill_buffer() 127 total_samples = 0; in fill_buffer()
|
/dports/misc/openmvg/openMVG-2.0/src/openMVG/robust_estimation/ |
H A D | robust_estimator_LMeds.hpp | 39 const size_t total_samples = kernel.NumSamples(); in LeastMedianOfSquares() local 41 std::vector<double> residuals(total_samples); // Array for storing residuals in LeastMedianOfSquares() 47 const uint32_t N = (min_samples<total_samples)? in LeastMedianOfSquares() 51 std::vector<uint32_t> all_samples(total_samples); in LeastMedianOfSquares() 71 for (uint32_t l = 0; l < total_samples; ++l) in LeastMedianOfSquares() 78 uint32_t( total_samples*(1.-outlierRatio) ); in LeastMedianOfSquares() 109 (1. + 5. / double(total_samples - min_samples)); in LeastMedianOfSquares()
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_mixer/ |
H A D | audio_frame_manipulator_unittest.cc | 41 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 42 const int16_t expected_result[total_samples] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}; in TEST() 44 std::equal(frame.data_, frame.data_ + total_samples, expected_result)); in TEST() 57 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 58 const int16_t expected_result[total_samples] = {5, 4, 3, 2, 1}; in TEST() 60 std::equal(frame.data_, frame.data_ + total_samples, expected_result)); in TEST()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/audio_mixer/ |
H A D | audio_frame_manipulator_unittest.cc | 42 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 43 const int16_t expected_result[total_samples] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}; in TEST() 46 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST() 59 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 60 const int16_t expected_result[total_samples] = {5, 4, 3, 2, 1}; in TEST() 63 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST()
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/audio_mixer/ |
H A D | audio_frame_manipulator_unittest.cc | 42 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 43 const int16_t expected_result[total_samples] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}; in TEST() 46 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST() 59 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 60 const int16_t expected_result[total_samples] = {5, 4, 3, 2, 1}; in TEST() 63 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST()
|
/dports/audio/gmusicbrowser/gmusicbrowser-1.1.15/ |
H A D | wvheader.pm | 46 my ($block_size,$ver,$total_samples,$block_index,$block_samples,$flags)=unpack 'x4Vvx2VVVV',$buf; 47 $total_samples=0 if $total_samples==0xffff; #unknown length 51 $info{frames}=$total_samples; 54 if ($total_samples==0) {$info{seconds}=$info{bitrate}=0} 56 { $info{seconds}=( $total_samples/$info{rate} );
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/audio_mixer/ |
H A D | audio_frame_manipulator_unittest.cc | 42 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 43 const int16_t expected_result[total_samples] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}; in TEST() 46 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST() 59 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 60 const int16_t expected_result[total_samples] = {5, 4, 3, 2, 1}; in TEST() 63 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST()
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/audio_mixer/ |
H A D | audio_frame_manipulator_unittest.cc | 42 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 43 const int16_t expected_result[total_samples] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}; in TEST() 46 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST() 59 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 60 const int16_t expected_result[total_samples] = {5, 4, 3, 2, 1}; in TEST() 63 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/audio_mixer/ |
H A D | audio_frame_manipulator_unittest.cc | 42 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 43 const int16_t expected_result[total_samples] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}; in TEST() 46 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST() 59 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 60 const int16_t expected_result[total_samples] = {5, 4, 3, 2, 1}; in TEST() 63 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/audio_mixer/ |
H A D | audio_frame_manipulator_unittest.cc | 42 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 43 const int16_t expected_result[total_samples] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}; in TEST() 46 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST() 59 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 60 const int16_t expected_result[total_samples] = {5, 4, 3, 2, 1}; in TEST() 63 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST()
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/audio_mixer/ |
H A D | audio_frame_manipulator_unittest.cc | 42 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 43 const int16_t expected_result[total_samples] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4}; in TEST() 46 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST() 59 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() local 60 const int16_t expected_result[total_samples] = {5, 4, 3, 2, 1}; in TEST() 63 std::equal(frame_data, frame_data + total_samples, expected_result)); in TEST()
|
/dports/audio/p5-Audio-Scan/Audio-Scan-1.01/t/ |
H A D | wavpack.t | 27 is( $info->{total_samples}, 162496, 'total_samples ok' ); 64 is( $info->{total_samples}, 12974320, '24-bit total_samples ok' ); 76 is( $info->{total_samples}, 1609944, 'Zero first block total_samples ok' ); 92 is( $info->{total_samples}, 14521248, 'v3 total_samples ok' ); 108 is( $info->{total_samples}, 1609944, 'v2 total_samples ok' ); 124 is( $info->{total_samples}, 1200001, 'custom-samplerate total_samples ok' ); 140 is( $info->{total_samples}, 1362998, '6channel total_samples ok' ); 157 is( $info->{total_samples}, 2947973120, 'v5-dsd total_samples ok' );
|
/dports/audio/py-fmoo-audiotools/audiotools-3.0/docs/reference/dvda/algorithms/ |
H A D | decode_frame.pfl | 19 VAR total_samples "total samples"; 43 output[0],total_samples[0], 59 total_samples[0], 68 shifted <- apply_output_shifts(total_samples[0], 73 output[1],total_samples[1], 82 total_samples[0], 85 total_samples[1]); 95 total_samples[1], 104 shifted <- apply_output_shifts(total_samples[1],
|