/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/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...] |
/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
|
/external/ImageMagick/MagickWand/ |
convert.c | 185 "-blur geometry reduce image noise and reduce detail levels", 231 " reduce image noise and reduce detail levels", 239 "-kuwahara geometry edge preserving noise reduction filter", 261 "-noise geometry add or reduce noise in an image", 265 " add a noise pattern to the image with specific", 329 " removes noise from the image using a wavelet transform", 372 "-attenuate value lessen (or intensify) when adding noise to an image", 2259 noise; local [all...] |
mogrify.c | 2319 noise; local 5549 noise; local [all...] |
/external/aac/libFDK/include/ |
FDK_tools_rom.h | 231 noise, enumerator in enum:__anon13048
|
/external/libvorbis/lib/ |
mapping0.c | 371 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",seq,noise,n/2,1,0,0) [all...] |
/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/wpa_supplicant_8/wpa_supplicant/ |
bss.h | 91 /** Noise level */ 92 int noise; member in struct:wpa_bss 101 /** Signal-to-noise ratio in dB */
|
/external/ImageMagick/MagickCore/ |
gem.c | 1470 noise, local [all...] |
/external/webrtc/webrtc/modules/audio_processing/ns/ |
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...] |
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...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_scan.c | 27 s8 noise[MAX_NL80211_NOISE_FREQS]; member in struct:nl80211_noise_info 69 info->noise[info->count] = 878 res->noise = info->noise[i]; [all...] |
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_core_mips.c | 33 float noise, noiseAvg, tmp, tmpAvg; local 88 // Reject LF noise 99 "lwc1 %[noise], 4(%[noisePow]) \n\t" 103 "sqrt.s %[noise], %[noise] \n\t" 116 "mul.s %[tmp1f], %[tmp1f], %[noise] \n\t" 117 "mul.s %[tmp2f], %[tmp2f], %[noise] \n\t" 139 [noise] "=&f" (noise), [noise2] "=&f" (noise2), 271 // For H band comfort noise [all...] |
aec_core.c | 48 (float)0.4; // scale for comfort noise in H band 288 // because we are making an additive change with comfort noise. 448 float noise, noiseAvg, tmp, tmpAvg; local 460 // Reject LF noise 466 noise = sqrtf(noisePow[i]); 467 u[0][i] = noise * cosf(tmp); 468 u[1][i] = -noise * sinf(tmp); 473 // This is the proper weighting to match the background noise power 480 // For H band comfort noise 481 // TODO: don't compute noise and "tmp" twice. Use the previous results [all...] |
/external/skia/src/shaders/ |
SkPerlinNoiseShader.cpp | 200 // Copy noise data 201 uint16_t noise[4][kBlockSize][2]; 205 noise[channel][i][j] = fNoise[channel][i][j]; 209 // Do permutations on noise data 213 fNoise[channel][i][j] = noise[channel][fLatticeSelector[i]][j]; 222 // Compute gradients from permutated noise data 229 // Put the normalized gradient back into the noise data 291 * About the noise types : the difference between the first 2 is just minor tweaks to the 293 * noise is generated in the [1, -1] range, the output is brought back in the [0, 1] range by 295 * kFractalNoise_Type : noise * 0.5 + 0. 1328 const GrImprovedPerlinNoiseEffect& noise = processor.cast<GrImprovedPerlinNoiseEffect>(); 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/ImageMagick/coders/ |
msl.c | 685 if (LocaleCompare((const char *) tag,"add-noise") == 0) local 691 noise; 694 Add noise image. 702 noise=UniformNoise; 732 if (LocaleCompare(keyword,"noise") == 0) 739 noise=(NoiseType) option; 755 noise_image=AddNoiseImage(msl_info->image[n],noise,1.0, [all...] |
/external/regex-re2/lib/codereview/ |
codereview.py | 1113 noise = [ variable [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
AudioFrequencyUnprocessedActivity.java | 193 //Test Noise 550 double[] noise = new double[points]; local 555 mFreqAverageNoise.getData(noise, false); 569 noiseDb[i] = 20 * Math.log10(noise[i]); 703 "Testing Built in Microphone: Noise"); 744 sendMessage(mTestId, TEST_MESSAGE, "Testing USB Microphone: Noise"); [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
bcmevent.h | 351 int32 noise; member in struct:wl_event_data_rssi
|
/bionic/libc/kernel/uapi/linux/ |
wireless.h | 279 __u8 noise; member in struct:iw_quality
|
/development/ndk/platforms/android-21/include/linux/ |
wireless.h | 349 __u8 noise; member in struct:iw_quality
|
/development/ndk/platforms/android-9/include/linux/ |
wireless.h | 316 __u8 noise; member in struct:iw_quality
|