/external/libvpx/libvpx/vpx_dsp/ |
postproc.h | 18 // Fills a noise buffer with gaussian noise strength determined by sigma. 19 int vpx_setup_noise(double sigma, int8_t *noise, int size);
|
add_noise.c | 20 void vpx_plane_add_noise_c(uint8_t *start, const int8_t *noise, int blackclamp, 26 const int8_t *ref = (const int8_t *)(noise + (rand() & 0xff)); // NOLINT 45 int vpx_setup_noise(double sigma, int8_t *noise, int size) { 66 noise[i] = char_dist[rand() & 0xff]; // NOLINT
|
/external/libopus/silk/fixed/ |
regularize_correlations_FIX.c | 34 /* 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;
|
/external/libopus/silk/float/ |
regularize_correlations_FLP.c | 34 /* 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;
|
/external/libvpx/libvpx/test/ |
add_noise_test.cc | 24 typedef void (*AddNoiseFunc)(uint8_t *start, const int8_t *noise, 46 int8_t noise[kNoiseSize]; local 47 const int clamp = vpx_setup_noise(4.4, noise, kNoiseSize); 54 GetParam()(s, noise, clamp, clamp, width, height, width)); 57 // noise either vertically or horizontally. 73 GetParam()(s, noise, clamp, clamp, width, height, width)); 84 GetParam()(s, noise, clamp, clamp, width, height, width)); 98 int8_t noise[kNoiseSize]; local 99 const int clamp = vpx_setup_noise(4.4, noise, kNoiseSize); 111 GetParam()(s, noise, clamp, clamp, width, height, width)) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
ImageCompare.java | 38 * Compute peak signal-to-noise ration (PSNR) between two images 64 double noise = 0; local 72 noise += (Y1 - Y2) * (Y1 - Y2); 77 final double mse = noise / numPixels;
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
add_noise_msa.c | 14 void vpx_plane_add_noise_msa(uint8_t *start_ptr, const int8_t *noise, 28 const int8_t *ref0_ptr = noise + (rand() & 0xff); 30 const int8_t *ref1_ptr = noise + (rand() & 0xff);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
ImageCompare.java | 38 * Compute peak signal-to-noise ration (PSNR) between two images 64 double noise = 0; local 72 noise += (Y1 - Y2) * (Y1 - Y2); 77 final double mse = noise / numPixels;
|
/external/python/cpython2/Mac/Demo/sound/ |
morselib.py | 84 def noise(self, duration): member in class:BaseMorse 94 self.noise(self.dots) 98 self.noise(self.dahs) 160 def noise(self, duration): member in class:MacMorse
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_binascii.py | 94 noise = fillers
95 ratio = len(line) // len(noise)
97 while line and noise:
98 if len(line) // len(noise) > ratio:
101 c, noise = noise[0], noise[1:]
103 return res + noise + line
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_binascii.py | 94 noise = fillers 95 ratio = len(line) // len(noise) 97 while line and noise: 98 if len(line) // len(noise) > ratio: 101 c, noise = noise[0], noise[1:] 103 return res + noise + line
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_binascii.py | 94 noise = fillers 95 ratio = len(line) // len(noise) 97 while line and noise: 98 if len(line) // len(noise) > ratio: 101 c, noise = noise[0], noise[1:] 103 return res + noise + line
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_binascii.py | 94 noise = fillers 95 ratio = len(line) // len(noise) 97 while line and noise: 98 if len(line) // len(noise) > ratio: 101 c, noise = noise[0], noise[1:] 103 return res + noise + line
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_binascii.py | 94 noise = fillers 95 ratio = len(line) // len(noise) 97 while line and noise: 98 if len(line) // len(noise) > ratio: 101 c, noise = noise[0], noise[1:] 103 return res + noise + line
|
/external/valgrind/memcheck/tests/ |
leak-autofreepool.c | 60 static unsigned char *noise[3 * N]; variable 203 // blocks may be deleted from the list, making access to these noise-blocks 206 noise[NoiseCounter] = malloc(NOISE_SIZE); 207 assert(noise[NoiseCounter] != NULL); 208 memset(noise[NoiseCounter],(unsigned char) (NoiseCounter % 256), NOISE_SIZE); 221 assert(noise[i][j] == Check); 292 // Try to trigger an error in the bookkeeping by freeing the noise bits. 298 free(noise[i]);
|
/external/webrtc/webrtc/modules/audio_processing/ns/ |
ns_core.c | 36 // 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) { 1053 float magn[HALF_ANAL_BLOCKL], noise[HALF_ANAL_BLOCKL]; local [all...] |
ns_core.h | 26 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_ 86 float noisePrev[HALF_ANAL_BLOCKL]; // Noise spectrum from previous frame. 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 [all...] |
nsx_core.h | 61 // Conservative estimate of noise spectrum. 69 uint32_t whiteNoiseLevel; // Initial noise estimate. 72 // Pink noise parameters: 78 // Noise spectrum from previous frame. 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. 174 // Noise Estimation. 177 uint32_t* noise, [all...] |
/external/autotest/client/cros/audio/ |
audio_analysis_unittest.py | 13 """Uses the same seed to generate noise for each test.""" 93 noise = numpy.random.standard_normal(samples) * 0.005 96 coeff_2 * numpy.sin(freq_2 * 2.0 * numpy.pi * x)) + noise 101 # with coefficient 0.3, 0Hz is from Gaussian noise with coefficient 135 noise = numpy.random.standard_normal(samples) * noise_amplitude 136 results = audio_analysis.spectral_analysis(noise, rate) 172 """Add noise to the test signal.""" 174 noise = numpy.random.standard_normal(len(self.y)) * noise_amplitude 175 self.y = self.y + noise 245 """Sine wave signal with no noise or anomaly."" [all...] |
audio_quality_measurement_unittest.py | 17 """Uses the same seed to generate noise for each test.""" 22 # Generates the standard sin wave with standard_noise portion of noise. 33 noise = standard_noise * numpy.random.standard_normal() 34 wave.append(float(amplitude) * (sine_wave + noise)) 44 noise = audio_quality_measurement.noise_level(amplitude, frequency, 48 self.assertTrue(abs(noise - standard_noise) < 0.01) 79 """Adds noise to the test signal.""" 82 noise = noise_amplitude * numpy.random.standard_normal() 83 self.y[index] += noise 148 """Sine wave signal with no noise or artifacts."" [all...] |
/external/libvpx/libvpx/vpx_dsp/x86/ |
add_noise_sse2.asm | 14 ;void vpx_plane_add_noise_sse2(uint8_t *start, const int8_t *noise, 43 mov rcx, arg(1) ;noise 59 movdqu xmm2,[rdi+rax] ; get the noise for this line
|
/external/ImageMagick/MagickCore/ |
gem.c | 1470 noise, local [all...] |
/external/speex/libspeex/ |
preprocess.c | 46 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) 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]) [all...] |
/external/python/cpython2/Lib/test/ |
test_binascii.py | 94 noise = fillers 95 ratio = len(line) // len(noise) 97 while line and noise: 98 if len(line) // len(noise) > ratio: 101 c, noise = noise[0], noise[1:] 103 return res + noise + line
|
/external/aac/libFDK/include/ |
FDK_tools_rom.h | 231 noise, enumerator in enum:__anon13048
|