Searched refs:noise (Results 1 - 25 of 83) sorted by relevance

1234

/external/libopus/silk/fixed/
H A Dregularize_correlations_FIX.c34 /* Add noise to matrix diagonal */
38 opus_int32 noise, /* I Noise to add */
44 matrix_ptr( &XX[ 0 ], i, i, D ) = silk_ADD32( matrix_ptr( &XX[ 0 ], i, i, D ), noise );
46 xx[ 0 ] += noise;
35 silk_regularize_correlations_FIX( opus_int32 *XX, opus_int32 *xx, opus_int32 noise, opus_int D ) argument
/external/libopus/silk/float/
H A Dregularize_correlations_FLP.c34 /* Add noise to matrix diagonal */
38 const silk_float noise, /* I Noise energy to add */
45 matrix_ptr( &XX[ 0 ], i, i, D ) += noise;
47 xx[ 0 ] += noise;
35 silk_regularize_correlations_FLP( silk_float *XX, silk_float *xx, const silk_float noise, const opus_int D ) argument
/external/opencv3/samples/cpp/
H A Dimage.cpp85 Mat noise(img.size(), CV_8U); // another Mat constructor; allocates a matrix of the specified size and type
86 randn(noise, Scalar::all(128), Scalar::all(20)); // fills the matrix with normally distributed random values;
88 GaussianBlur(noise, noise, Size(3, 3), 0.5, 0.5); // blur the noise a bit, kernel size is 3x3 and both sigma's are set to 0.5
95 IplImage cv_planes_0 = planes[0], cv_noise = noise;
99 addWeighted(planes[0], contrast_gain, noise, 1, -128 + brightness_gain, planes[0]);
/external/libvpx/libvpx/vp9/common/
H A Dvp9_postproc.h28 char noise[3072]; member in struct:postproc_state
/external/opencv3/modules/photo/test/
H A Dtest_denoise_tvl1.cpp46 cv::Mat noise(img.size(), img.type()), mask(img.size(), CV_8U);
47 rng.fill(noise,cv::RNG::NORMAL,128.0,sigma);
48 cv::addWeighted(img, 1, noise, 1, -128, noisy);
49 cv::randn(noise, cv::Scalar::all(0), cv::Scalar::all(2));
50 noise *= 255;
54 noise.setTo(128, mask);
55 cv::addWeighted(noisy, 1, noise, 1, -128, noisy);
/external/opencv3/modules/calib3d/perf/
H A Dperf_pnp.cpp48 //add noise
49 Mat noise(1, (int)points2d.size(), CV_32FC2);
50 randu(noise, 0, 0.01);
51 add(points2d, noise, points2d);
95 //add noise
96 Mat noise(1, (int)points2d.size(), CV_32FC2);
97 randu(noise, -0.001, 0.001);
98 add(points2d, noise, points2d);
/external/libvpx/libvpx/vp8/common/
H A Dpostproc.h20 char noise[3072]; member in struct:postproc_state
/external/opencv3/samples/python2/
H A Dfitline.py40 def sample_line(p1, p2, n, noise=0.0):
43 return p1 + (p2-p1)*t + np.random.normal(size=(n, 2))*noise
49 noise = cv2.getTrackbarPos('noise', 'fit line')
59 line_points = sample_line(p0, p1, n-outn, noise)
77 cv2.createTrackbar('noise', 'fit line', 3, 50, update)
H A Dvideo.py23 synth:bg=../data/lena.jpg:noise=0.1
24 synth:class=chess:bg=../data/lena.jpg:noise=0.1:size=640x480
44 def __init__(self, size=None, noise=0.0, bg = None, **params):
57 self.noise = float(noise)
72 if self.noise > 0.0:
73 noise = np.zeros((h, w, 3), np.int8)
74 cv2.randn(noise, np.zeros(3), np.ones(3)*255*self.noise)
75 buf = cv2.add(buf, noise, dtyp
[all...]
H A Ddeconvolution.py13 [--snr <signal/noise ratio in db>]
93 noise = 10**(-0.1*cv2.getTrackbarPos('SNR (db)', win))
107 iPSF = PSF / (PSF2 + noise)[...,np.newaxis]
/external/chromium-trace/catapult/third_party/Paste/paste/util/
H A Ddatetimeutil.py84 for noise in "minu:teshour()":
85 val = val.replace(noise, ' ')
125 for noise in ":amp.":
126 val = val.replace(noise, ' ')
243 for noise in ('/', '-', ',', '*'):
244 val = val.replace(noise, ' ')
245 for noise in _wkdy:
246 val = val.replace(noise, ' ')
/external/autotest/client/cros/audio/
H A Daudio_analysis_unittest.py12 """Uses the same seed to generate noise for each test."""
24 noise = numpy.random.standard_normal(samples) * 0.005
27 coeff_2 * numpy.sin(freq_2 * 2.0 * numpy.pi * x)) + noise
32 # with coefficient 0.3, 0Hz is from Gaussian noise with coefficient
64 noise = numpy.random.standard_normal(samples) * noise_amplitude
66 results = audio_analysis.spectral_analysis(noise, rate)
101 """Add noise to the test signal."""
103 noise = numpy.random.standard_normal(len(self.y)) * noise_amplitude
104 self.y = self.y + noise
174 """Sine wave signal with no noise o
[all...]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/voxel/
H A DPerlinNoiseGenerator.java24 /** Adapted from <a href="http://devmag.org.za/2009/04/25/perlin-noise/">http://devmag.org.za/2009/04/25/perlin-noise/</a>
28 float[][] noise = new float[width][height];
31 noise[x][y] = MathUtils.random();
34 return noise;
108 float[][] noise = generatePerlinNoise(baseNoise, octaveCount);
114 bytes[idx++] = (byte)(noise[x][y] * range + min);
/external/webrtc/webrtc/modules/audio_processing/ns/
H A Dns_core.c36 // For spectral_flatness: used when noise is flatter than speech.
114 // For quantile noise estimation.
137 self->priorSpeechProb = 0.5f; // Prior prob for speech/noise.
142 // Current noise-spectrum.
143 memset(self->noise, 0, sizeof(float) * HALF_ANAL_BLOCKL);
144 // Previous noise-spectrum.
146 // Conservative noise spectrum estimate.
196 // Counter for update of conservative noise spectrum.
216 // Estimate noise.
219 float* noise) {
217 NoiseEstimation(NoiseSuppressionC* self, float* magn, float* noise) argument
566 ComputeSnr(const NoiseSuppressionC* self, const float* magn, const float* noise, float* snrLocPrior, float* snrLocPost) argument
801 UpdateNoiseEstimate(NoiseSuppressionC* self, const float* magn, const float* snrLocPrior, const float* snrLocPost, float* noise) argument
1053 float magn[HALF_ANAL_BLOCKL], noise[HALF_ANAL_BLOCKL]; local
[all...]
H A Dns_core.h26 float factor2ModelPars; // For spectral_flatness: used when noise is flatter
65 // Parameters for quantile noise estimation.
85 float noise[HALF_ANAL_BLOCKL]; // Noise spectrum from current frame. member in struct:NoiseSuppressionC_
92 float priorSpeechProb; // Prior speech/noise probability.
94 // Conservative noise spectrum estimate.
98 float whiteNoiseLevel; // Initial noise estimate.
100 float pinkNoiseNumerator; // Pink noise parameter: numerator.
101 float pinkNoiseExp; // Pink noise parameter: power of frequencies.
110 float speechProb[HALF_ANAL_BLOCKL]; // Final speech/noise prob: prior + LRT.
123 * This function initializes a noise suppressio
[all...]
H A Dnsx_core.h61 // Conservative estimate of noise spectrum.
69 uint32_t whiteNoiseLevel; // Initial noise estimate.
72 // Pink noise parameters:
82 // Prior speech/noise probability in Q14.
120 * This function initializes a noise suppression instance
137 * This changes the aggressiveness of the noise suppression method.
154 * Do noise suppression.
177 uint32_t* noise,
186 // For the noise supression process, synthesis, read out fully processed
211 // Compute speech/noise probabilit
[all...]
/external/opencv3/modules/video/test/
H A Dtest_estimaterigid.cpp106 Mat noise(1, n, CV_32FC2);
107 rng.fill(noise, RNG::NORMAL, Scalar::all(0), Scalar::all(0.001*(n<=7 ? 0 : n <= 30 ? 1 : 10)));
108 tpts += noise;
/external/ImageMagick/MagickCore/
H A Dgem.c1458 % GenerateDifferentialNoise() generates differentual noise.
1469 % o pixel: noise is relative to this pixel value.
1471 % o noise_type: the type of noise.
1473 % o attenuate: attenuate the noise.
1491 noise,
1500 noise=(double) (pixel+QuantumRange*SigmaUniform*(alpha-0.5));
1515 noise=(double) (pixel+sqrt((double) pixel)*SigmaGaussian*sigma+
1522 noise=0.0;
1525 noise=(double) QuantumRange;
1527 noise
1470 noise, local
[all...]
/external/speex/libspeex/
H A Dpreprocess.c46 I. Cohen and B. Berdugo, "Speech enhancement for non-stationary noise environments".
50 approach to combined acoustic echo cancellation and noise reduction". IEEE
211 spx_word32_t *noise; /**< Noise estimate */ member in struct:SpeexPreprocessState_
221 int *update_prob; /**< Probability of speech presence for noise update */
320 /* Compute the gain floor based on different floors for the background noise and residual echo */
321 static void compute_gain_floor(int noise_suppress, int effective_echo_suppress, spx_word32_t *noise, spx_word32_t *echo, spx_word16_t *gain_floor, int len) argument
331 /* gain_floor = sqrt [ (noise*noise_floor + echo*echo_floor) / (noise+echo) ] */
334 spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(PSHR32(noise[i],NOISE_SHIFT) + MULT16_32_Q15(gain_ratio,echo[i]),
335 (1+PSHR32(noise[
380 compute_gain_floor(int noise_suppress, int effective_echo_suppress, spx_word32_t *noise, spx_word32_t *echo, spx_word16_t *gain_floor, int len) argument
[all...]
/external/aac/libFDK/include/
H A DFDK_tools_rom.h231 noise, enumerator in enum:__anon316
/external/libvorbis/lib/
H A Dpsy.h135 float *noise,
H A Dmapping0.c371 float *noise = _vorbis_block_alloc(vb,n/2*sizeof(*noise)); local
419 /* first step; noise masking. Not only does 'noise masking'
421 to give noise parts of the spectrum, it also implicitly hands
427 noise); /* noise does not have by-frequency offset
432 _analysis_output("noiseL",seq,noise,n/2,1,0,0);
434 _analysis_output("noiseR",seq,noise,n/2,1,0,0);
436 _analysis_output("noise",se
[all...]
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dwpas-test.py80 noise = props["noise"]
/external/opencv3/modules/superres/test/
H A Dtest_superres.cpp113 cv::Mat noise(_image.size(), CV_32FC(cn));
114 cvtest::TS::ptr()->get_rng().fill(noise, cv::RNG::NORMAL, 0.0, sigma);
116 cv::addWeighted(_image, 1.0, noise, 1.0, 0.0, _image, depth);
/external/libvpx/libvpx/vp8/common/x86/
H A Dpostproc_mmx.asm244 ;void vp8_plane_add_noise_mmx (unsigned char *Start, unsigned char *noise,
261 mov rcx, arg(1) ;noise
279 psubusb mm1, [rdx] ;blackclamp ; clamp both sides so we don't outrange adding noise
283 movq mm2,[rdi+rax] ; get the noise for this line

Completed in 581 milliseconds

1234