Home
last modified time | relevance | path

Searched refs:NUM_SAMPLES (Results 1 – 25 of 275) sorted by relevance

1234567891011

/dports/multimedia/handbrake/ffmpeg-4.4/tests/checkasm/
H A Dv210dec.c36 #define NUM_SAMPLES 2048 macro
55 uint32_t src0[NUM_SAMPLES/3]; in checkasm_check_v210dec()
56 uint32_t src1[NUM_SAMPLES/3]; in checkasm_check_v210dec()
57 uint16_t y0[NUM_SAMPLES/2]; in checkasm_check_v210dec()
58 uint16_t y1[NUM_SAMPLES/2]; in checkasm_check_v210dec()
59 uint16_t u0[NUM_SAMPLES/4]; in checkasm_check_v210dec()
60 uint16_t u1[NUM_SAMPLES/4]; in checkasm_check_v210dec()
61 uint16_t v0[NUM_SAMPLES/4]; in checkasm_check_v210dec()
62 uint16_t v1[NUM_SAMPLES/4]; in checkasm_check_v210dec()
64 const int pixels = NUM_SAMPLES / 2 / 6 * 6; in checkasm_check_v210dec()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/tests/checkasm/
H A Dv210dec.c36 #define NUM_SAMPLES 2048 macro
55 uint32_t src0[NUM_SAMPLES/3]; in checkasm_check_v210dec()
56 uint32_t src1[NUM_SAMPLES/3]; in checkasm_check_v210dec()
57 uint16_t y0[NUM_SAMPLES/2]; in checkasm_check_v210dec()
58 uint16_t y1[NUM_SAMPLES/2]; in checkasm_check_v210dec()
59 uint16_t u0[NUM_SAMPLES/4]; in checkasm_check_v210dec()
60 uint16_t u1[NUM_SAMPLES/4]; in checkasm_check_v210dec()
61 uint16_t v0[NUM_SAMPLES/4]; in checkasm_check_v210dec()
62 uint16_t v1[NUM_SAMPLES/4]; in checkasm_check_v210dec()
64 const int pixels = NUM_SAMPLES / 2 / 6 * 6; in checkasm_check_v210dec()
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/tests/checkasm/
H A Dv210dec.c36 #define NUM_SAMPLES 2048 macro
55 uint32_t src0[NUM_SAMPLES/3]; in checkasm_check_v210dec()
56 uint32_t src1[NUM_SAMPLES/3]; in checkasm_check_v210dec()
57 uint16_t y0[NUM_SAMPLES/2]; in checkasm_check_v210dec()
58 uint16_t y1[NUM_SAMPLES/2]; in checkasm_check_v210dec()
59 uint16_t u0[NUM_SAMPLES/4]; in checkasm_check_v210dec()
60 uint16_t u1[NUM_SAMPLES/4]; in checkasm_check_v210dec()
61 uint16_t v0[NUM_SAMPLES/4]; in checkasm_check_v210dec()
62 uint16_t v1[NUM_SAMPLES/4]; in checkasm_check_v210dec()
64 const int pixels = NUM_SAMPLES / 2 / 6 * 6; in checkasm_check_v210dec()
[all …]
/dports/multimedia/gavl/gavl-1.4.0/src/
H A Dvolume_test.c41 #define NUM_SAMPLES 1024 macro
53 format->samples_per_frame = NUM_SAMPLES; in create_ref_frame()
59 ret->valid_samples = NUM_SAMPLES; in create_ref_frame()
61 for(i = 0; i < NUM_SAMPLES; i++) in create_ref_frame()
79 for(i = 0; i < NUM_SAMPLES; i++) in write_frames()
148 gavl_audio_frame_copy(&format, frame_1, ref_frame, 0, 0, NUM_SAMPLES, NUM_SAMPLES); in main()
149 frame_1->valid_samples = NUM_SAMPLES; in main()
152 gavl_audio_frame_copy(&format, frame_2, frame_1, 0, 0, NUM_SAMPLES, NUM_SAMPLES); in main()
153 frame_2->valid_samples = NUM_SAMPLES; in main()
161 gavl_audio_frame_copy(&format, out_frame, frame_2, 0, 0, NUM_SAMPLES, NUM_SAMPLES); in main()
[all …]
/dports/mail/nextcloud-mail/mail/vendor/rubix/ml/benchmarks/Kernels/Distance/
H A DCosineBench.php13 protected const NUM_SAMPLES = 10000; define in Rubix\\ML\\Benchmarks\\Kernels\\Distance\\CosineBench
37 $this->aSamples = Matrix::gaussian(self::NUM_SAMPLES, 8)->asArray();
38 $this->bSamples = Matrix::gaussian(self::NUM_SAMPLES, 8)->asArray();
54 $mask = Matrix::rand(self::NUM_SAMPLES, 8)
57 $this->aSamples = Matrix::gaussian(self::NUM_SAMPLES, 8)
61 $mask = Matrix::rand(self::NUM_SAMPLES, 8)
64 $this->bSamples = Matrix::gaussian(self::NUM_SAMPLES, 8)
82 $mask = Matrix::rand(self::NUM_SAMPLES, 8)
85 $this->aSamples = Matrix::gaussian(self::NUM_SAMPLES, 8)
89 $mask = Matrix::rand(self::NUM_SAMPLES, 8)
[all …]
/dports/graphics/photoflow/.build/data/ocio-configs/nuke-default/
H A Dmake.py77 NUM_SAMPLES = 2**12+5 variable
81 x = i/(NUM_SAMPLES-1.0)
99 NUM_SAMPLES = 2**16+25 variable
137 NUM_SAMPLES = 2**12+5 variable
170 NUM_SAMPLES = 2**12+5 variable
232 NUM_SAMPLES = 2**12+5 variable
269 NUM_SAMPLES = 2**12+5 variable
302 NUM_SAMPLES = 2**12+5 variable
352 NUM_SAMPLES = 2**12+5 variable
395 NUM_SAMPLES = 2**12+5 variable
[all …]
/dports/graphics/openimageio/oiio-Release-2.2.16.0/testsuite/common/OpenColorIO/nuke-default/
H A Dmake.py77 NUM_SAMPLES = 2**12+5 variable
81 x = i/(NUM_SAMPLES-1.0)
99 NUM_SAMPLES = 2**16+25 variable
137 NUM_SAMPLES = 2**12+5 variable
170 NUM_SAMPLES = 2**12+5 variable
232 NUM_SAMPLES = 2**12+5 variable
269 NUM_SAMPLES = 2**12+5 variable
302 NUM_SAMPLES = 2**12+5 variable
352 NUM_SAMPLES = 2**12+5 variable
395 NUM_SAMPLES = 2**12+5 variable
[all …]
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/testsuite/common/OpenColorIO/nuke-default/
H A Dmake.py77 NUM_SAMPLES = 2**12+5 variable
81 x = i/(NUM_SAMPLES-1.0)
99 NUM_SAMPLES = 2**16+25 variable
137 NUM_SAMPLES = 2**12+5 variable
170 NUM_SAMPLES = 2**12+5 variable
232 NUM_SAMPLES = 2**12+5 variable
269 NUM_SAMPLES = 2**12+5 variable
302 NUM_SAMPLES = 2**12+5 variable
352 NUM_SAMPLES = 2**12+5 variable
395 NUM_SAMPLES = 2**12+5 variable
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/lib/partition/
H A DTestInputSampler.java192 NUM_SAMPLES, NUM_SPLITS);
200 assertEquals(NUM_SAMPLES, samples.length);
202 for (int i = 0; i < NUM_SAMPLES; ++i) {
228 assertEquals(NUM_SAMPLES, samples.length);
230 for (int i = 0; i < NUM_SAMPLES; ++i) {
250 FREQ, NUM_SAMPLES);
257 NUM_SAMPLES, TOT_SPLITS, inits), ignored);
258 assertEquals(NUM_SAMPLES, samples.length);
260 for (int i = 0; i < NUM_SAMPLES; ++i) {
286 assertEquals(NUM_SAMPLES, samples.length);
[all …]
/dports/biology/gatk/gatk-4.2.0.0/src/test/java/org/broadinstitute/hellbender/utils/mcmc/
H A DAdaptiveMetropolisSamplerUnitTest.java21 private static final int NUM_SAMPLES = 5000; field in AdaptiveMetropolisSamplerUnitTest
36 final double standardDeviationOfMean = Math.sqrt(theoreticalVariance / NUM_SAMPLES); in testBeta()
40 … final List<Double> samples = sampler.sample(rng, logPDF, NUM_SAMPLES, NUM_BURN_IN_STEPS); in testBeta()
44 …l double sampleVariance = (sampleMeanSquare - sampleMean * sampleMean)*NUM_SAMPLES/(NUM_SAMPLES-1); in testBeta()
61 final double standardDeviationOfMean = Math.sqrt(variance / NUM_SAMPLES); in testGaussian()
66 … final List<Double> samples = sampler.sample(rng, logPDF, NUM_SAMPLES, NUM_BURN_IN_STEPS); in testGaussian()
70 …l double sampleVariance = (sampleMeanSquare - sampleMean * sampleMean)*NUM_SAMPLES/(NUM_SAMPLES-1); in testGaussian()
/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/mapreduce/lib/partition/
H A DTestInputSampler.java103 final int NUM_SAMPLES = NUM_SPLITS * STEP_SAMPLE; in testSplitSampler() local
106 NUM_SAMPLES, NUM_SPLITS); in testSplitSampler()
114 assertEquals(NUM_SAMPLES, samples.length); in testSplitSampler()
116 for (int i = 0; i < NUM_SAMPLES; ++i) { in testSplitSampler()
130 final int NUM_SAMPLES = TOT_SPLITS * PER_SPLIT_SAMPLE; in testIntervalSampler() local
134 FREQ, NUM_SAMPLES); in testIntervalSampler()
141 NUM_SAMPLES, TOT_SPLITS, inits), ignored); in testIntervalSampler()
142 assertEquals(NUM_SAMPLES, samples.length); in testIntervalSampler()
144 for (int i = 0; i < NUM_SAMPLES; ++i) { in testIntervalSampler()
/dports/comms/hamlib/hamlib-4.3.1/rotators/ts7400/include/
H A Dtest7400ADC.c14 #define NUM_SAMPLES 5 macro
214 int adc_result_1[NUM_CHANNELS][NUM_SAMPLES], in calc_calibration() argument
215 int adc_result_2[NUM_CHANNELS][NUM_SAMPLES]) in calc_calibration() argument
229 for (j = 0; j < NUM_SAMPLES; j++) in calc_calibration()
245 for (j = 0; j < NUM_SAMPLES; j++) in calc_calibration()
274 calibration[i][j] = (calibration[i][j] / NUM_SAMPLES); in calc_calibration()
294 static void read_7xxx_adc(int adc_result[NUM_CHANNELS][NUM_SAMPLES]) in read_7xxx_adc() argument
329 for (j = 0; j < NUM_SAMPLES; j++) in read_7xxx_adc()
339 int adc_result_1[NUM_CHANNELS][NUM_SAMPLES]; in test_ADC()
340 int adc_result_2[NUM_CHANNELS][NUM_SAMPLES]; in test_ADC()
[all …]
H A DreadADC.c15 #define NUM_SAMPLES 5 macro
216 int adc_result_1[NUM_CHANNELS][NUM_SAMPLES], in calc_calibration() argument
217 int adc_result_2[NUM_CHANNELS][NUM_SAMPLES]) in calc_calibration() argument
231 for (j = 0; j < NUM_SAMPLES; j++) in calc_calibration()
247 for (j = 0; j < NUM_SAMPLES; j++) in calc_calibration()
275 calibration[i][j] = (calibration[i][j] / NUM_SAMPLES); in calc_calibration()
291 static void read_7xxx_adc(int adc_result[NUM_CHANNELS][NUM_SAMPLES]) in read_7xxx_adc() argument
326 for (j = 0; j < NUM_SAMPLES; j++) in read_7xxx_adc()
336 int adc_result_1[NUM_CHANNELS][NUM_SAMPLES]; in test_ADC()
337 int adc_result_2[NUM_CHANNELS][NUM_SAMPLES]; in test_ADC()
[all …]
/dports/x11/alacritty/alacritty-0.9.0/alacritty/src/display/
H A Dmeter.rs23 const NUM_SAMPLES: usize = 10; const
29 times: [f64; NUM_SAMPLES],
93 self.avg -= prev / NUM_SAMPLES as f64; in add_sample()
94 self.avg += usec / NUM_SAMPLES as f64; in add_sample()
95 self.index = (self.index + 1) % NUM_SAMPLES; in add_sample()
/dports/devel/gaul/gaul-devel-0.1849-0/util/
H A Drandom_util.c911 #define NUM_SAMPLES 1000000 macro
939 for (i=0;i<NUM_SAMPLES;i++) in random_test()
953 printf("Mean = %f\n", sum / NUM_SAMPLES); in random_test()
954 printf("Standard deviation = %f\n", (sumsq - sum*sum/NUM_SAMPLES)/NUM_SAMPLES); in random_test()
969 for (i=0;i<NUM_SAMPLES;i++) in random_test()
983 printf("Mean = %f\n", sum / NUM_SAMPLES); in random_test()
984 printf("Standard deviation = %f\n", (sumsq - sum*sum/NUM_SAMPLES)/NUM_SAMPLES); in random_test()
999 for (i=0;i<NUM_SAMPLES;i++) in random_test()
1014 printf("Standard deviation = %f\n", (sumsq - sum*sum/NUM_SAMPLES)/NUM_SAMPLES); in random_test()
1024 for (i=0;i<NUM_SAMPLES;i++) in random_test()
[all …]
/dports/audio/din/din-52/src/
H A Dfft.h25 static const int NUM_SAMPLES = 128; member
26 float in [NUM_SAMPLES];
27 kiss_fft_cpx cx_in [NUM_SAMPLES], cx_out [NUM_SAMPLES];
H A Dfft.cc24 dx = 1. / NUM_SAMPLES ; in fft()
26 cfg = kiss_fft_alloc (NUM_SAMPLES, 0, 0, 0); in fft()
81 s (x, dx, NUM_SAMPLES, in); in go()
83 for (int i = 0; i < NUM_SAMPLES; ++i) { in go()
91 for (int i = 1; i < NUM_SAMPLES; ++i) { in go()
/dports/audio/baresip/baresip-0.5.8/test/
H A Dplay.c12 #define NUM_SAMPLES 320 /* 8000 Hz, 1 channel, 40ms */ macro
26 mb = mbuf_alloc(NUM_SAMPLES * 2); in generate_tone()
30 for (i=0; i<NUM_SAMPLES; i++) in generate_tone()
58 if (err || test->mb_samp->end >= (NUM_SAMPLES*2)) in sample_handler()
89 TEST_MEMCMP(mb_tone->buf, NUM_SAMPLES*2, in test_play()
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/GaryBoone/GoStats/regression_demo/
H A Dregression_demo.go20 const NUM_SAMPLES = 5 const
28 for i := 0; i < NUM_SAMPLES; i++ {
67 xData := make([]float64, NUM_SAMPLES)
68 for i := 0; i < NUM_SAMPLES; i++ {
72 yData := makeArray(NUM_SAMPLES, 100, -25)
/dports/security/spass/spass-3.2-5-gd38d173/
H A Daudio_random.cpp28 const size_t NUM_SAMPLES = 2048 + 512; variable
58 int16_t sample_buffer[NUM_SAMPLES]; in gather_entropy()
63 m_source->getSamples(sample_buffer, NUM_SAMPLES); in gather_entropy()
66 for (int i = 0; i<NUM_SAMPLES && bits_needed; i+=2) { in gather_entropy()
/dports/security/spass-qt5/spass-3.2-5-gd38d173/
H A Daudio_random.cpp28 const size_t NUM_SAMPLES = 2048 + 512; variable
58 int16_t sample_buffer[NUM_SAMPLES]; in gather_entropy()
63 m_source->getSamples(sample_buffer, NUM_SAMPLES); in gather_entropy()
66 for (int i = 0; i<NUM_SAMPLES && bits_needed; i+=2) { in gather_entropy()
/dports/science/yoda/YODA-1.9.1/tests/
H A Dpytest-h1d14 NUM_SAMPLES = 1000
15 for i in range(NUM_SAMPLES):
16 exp = - (i-NUM_SAMPLES/2)**2 / float(NUM_SAMPLES/4)
H A Dpytest-p1d14 NUM_SAMPLES = 1000
15 for i in range(NUM_SAMPLES):
16 exp = - (i-NUM_SAMPLES/2)**2 / float(NUM_SAMPLES/4)
/dports/devel/thrust/thrust-1.9.5/testing/
H A Dfunctional_logical.cu8 const size_t NUM_SAMPLES = 10000; variable
16 thrust::host_vector<InputType> std_input1 = unittest::random_samples<InputType>(NUM_SAMPLES); in TestBinaryFunctional()
17 thrust::host_vector<InputType> std_input2 = unittest::random_samples<InputType>(NUM_SAMPLES); in TestBinaryFunctional()
18 thrust::host_vector<OutputType> std_output(NUM_SAMPLES); in TestBinaryFunctional()
22 OutputVector output(NUM_SAMPLES); in TestBinaryFunctional()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/events/
H A Dmobile_scroller.cc74 for (int i = 0; i < NUM_SAMPLES; i++) { in SplineConstants()
75 const float alpha = static_cast<float>(i) / NUM_SAMPLES; in SplineConstants()
107 spline_position_[NUM_SAMPLES] = spline_time_[NUM_SAMPLES] = 1.0f; in SplineConstants()
115 const int index = static_cast<int>(NUM_SAMPLES * t); in CalculateCoefficients()
116 if (index < NUM_SAMPLES) { in CalculateCoefficients()
117 const float t_inf = static_cast<float>(index) / NUM_SAMPLES; in CalculateCoefficients()
118 const float t_sup = static_cast<float>(index + 1) / NUM_SAMPLES; in CalculateCoefficients()
127 enum { NUM_SAMPLES = 100 }; enumerator
129 float spline_position_[NUM_SAMPLES + 1];
130 float spline_time_[NUM_SAMPLES + 1];

1234567891011