Home
last modified time | relevance | path

Searched refs:noise (Results 1 – 25 of 216) sorted by relevance

123456789

/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/
Dgeometricmath.c75 GstGMNoise *noise = g_new0 (GstGMNoise, 1); in gst_gm_noise_new() local
79 noise->p[i] = i; in gst_gm_noise_new()
81 noise->g2[i][j] = ((g_random_int () % (2 * B)) in gst_gm_noise_new()
84 normalize_2 (noise->g2[i]); in gst_gm_noise_new()
88 k = noise->p[i]; in gst_gm_noise_new()
90 noise->p[i] = noise->p[j]; in gst_gm_noise_new()
91 noise->p[j] = k; in gst_gm_noise_new()
95 noise->p[B + i] = noise->p[i]; in gst_gm_noise_new()
97 noise->g2[B + i][j] = noise->g2[i][j]; in gst_gm_noise_new()
101 return noise; in gst_gm_noise_new()
[all …]
Dgstmarble.c177 gst_gm_noise_free (marble->noise); in gst_marble_finalize()
190 if (!marble->noise) { in marble_prepare()
191 marble->noise = gst_gm_noise_new (); in marble_prepare()
216 displacement = 127 * (1 + gst_gm_noise_2 (marble->noise, x / marble->xscale, in marble_map()
Dgeometricmath.h60 void gst_gm_noise_free (GstGMNoise * noise);
61 gdouble gst_gm_noise_2 (GstGMNoise * noise, gdouble x, gdouble y);
/third_party/ffmpeg/libavfilter/
Dvf_noise.c65 AVFILTER_DEFINE_CLASS(noise);
72 int8_t *noise = av_malloc(MAX_NOISE * sizeof(int8_t)); in init_noise() local
79 if (!noise) in init_noise()
88 noise[i] = (RAND_N(strength) - strength / 2) / 6 in init_noise()
91 noise[i] = (RAND_N(strength) - strength / 2) / 3; in init_noise()
95 noise[i] = (RAND_N(strength) - strength / 2) / 2 in init_noise()
98 noise[i] = RAND_N(strength) - strength / 2; in init_noise()
119 noise[i] = (int)y1; in init_noise()
127 fp->prev_shift[i][j] = noise + (av_lfg_get(lfg) & (MAX_SHIFT - 1)); in init_noise()
129 fp->noise = noise; in init_noise()
[all …]
Daf_silencedetect.c37 double noise; ///< noise amplitude ratio member
57 …{ "n", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_DOUBLE, {.dbl=0.…
58 …{ "noise", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_DOUBLE, {.dbl=0.…
126 const type noise = s->noise; \
130 update(s, insamples, *p < noise && *p > -noise, i, \
161 s->noise *= INT32_MAX; in SILENCE_DETECT()
165 s->noise *= INT16_MAX; in SILENCE_DETECT()
Dvf_noise.h42 int8_t *noise; member
55 void (*line_noise)(uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift);
59 void ff_line_noise_c(uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift);
Dvf_freezedetect.c46 double noise; member
55 …{ "n", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_…
56 …{ "noise", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_…
144 return (mafd <= s->noise); in is_frozen()
/third_party/ffmpeg/libavfilter/x86/
Dvf_noise.c29 const int8_t *noise, int len, int shift) in line_noise_mmx() argument
32 noise += shift; in line_noise_mmx()
49 :: "r" (src+mmx_len), "r" (noise+mmx_len), "r" (dst+mmx_len), "g" (-mmx_len) in line_noise_mmx()
53 ff_line_noise_c(dst+mmx_len, src+mmx_len, noise+mmx_len, len-mmx_len, 0); in line_noise_mmx()
101 const int8_t *noise, int len, int shift) in line_noise_mmxext() argument
104 noise += shift; in line_noise_mmxext()
121 :: "r" (src+mmx_len), "r" (noise+mmx_len), "r" (dst+mmx_len), "g" (-mmx_len) in line_noise_mmxext()
125 ff_line_noise_c(dst+mmx_len, src+mmx_len, noise+mmx_len, len-mmx_len, 0); in line_noise_mmxext()
/third_party/ffmpeg/libavcodec/
Dsbrdsp_template.c47 const AAC_FLOAT *q_filt, int noise, in sbr_hf_apply_noise_0() argument
50 sbr_hf_apply_noise(Y, s_m, q_filt, noise, (INTFLOAT)1.0, (INTFLOAT)0.0, m_max); in sbr_hf_apply_noise_0()
54 const AAC_FLOAT *q_filt, int noise, in sbr_hf_apply_noise_1() argument
58 sbr_hf_apply_noise(Y, s_m, q_filt, noise, (INTFLOAT)0.0, phi_sign, m_max); in sbr_hf_apply_noise_1()
62 const AAC_FLOAT *q_filt, int noise, in sbr_hf_apply_noise_2() argument
65 sbr_hf_apply_noise(Y, s_m, q_filt, noise, (INTFLOAT)-1.0, (INTFLOAT)0.0, m_max); in sbr_hf_apply_noise_2()
69 const AAC_FLOAT *q_filt, int noise, in sbr_hf_apply_noise_3() argument
73 sbr_hf_apply_noise(Y, s_m, q_filt, noise, (INTFLOAT)0.0, -phi_sign, m_max); in sbr_hf_apply_noise_3()
Dsiren.c565 float noise; in decode_vector() local
637 noise = decoder_standard_deviation[region] * noise_category5[i]; in decode_vector()
639 noise = decoder_standard_deviation[region] * noise_category6[i]; in decode_vector()
641 noise = decoder_standard_deviation[region] * 0.70711f; in decode_vector()
643 noise = 0; in decode_vector()
654 *coefs_ptr = dw1 & 1 ? noise : -noise; in decode_vector()
659 *coefs_ptr = dw2 & 1 ? noise : -noise; in decode_vector()
Dsbrdsp.c201 int noise, in sbr_hf_apply_noise() argument
211 noise = (noise + 1) & 0x1ff; in sbr_hf_apply_noise()
216 y0 += q_filt[m] * ff_sbr_noise_table[noise][0]; in sbr_hf_apply_noise()
217 y1 += q_filt[m] * ff_sbr_noise_table[noise][1]; in sbr_hf_apply_noise()
Dsbrdsp_fixed.c265 int noise, in sbr_hf_apply_noise() argument
275 noise = (noise + 1) & 0x1ff; in sbr_hf_apply_noise()
299 accu = (int64_t)q_filt[m].mant * ff_sbr_noise_table_fixed[noise][0]; in sbr_hf_apply_noise()
303 accu = (int64_t)q_filt[m].mant * ff_sbr_noise_table_fixed[noise][1]; in sbr_hf_apply_noise()
/third_party/ffmpeg/libavcodec/mips/
Dsbrdsp_mips.c704 const float *q_filt, int noise, in sbr_hf_apply_noise_0_mips() argument
741 : [ff_sbr_noise_table]"r"(ff_sbr_noise_table), [noise]"r"(noise), in sbr_hf_apply_noise_0_mips()
749 const float *q_filt, int noise, in sbr_hf_apply_noise_1_mips() argument
786 : [ff_sbr_noise_table] "r" (ff_sbr_noise_table), [noise] "r" (noise), in sbr_hf_apply_noise_1_mips()
796 const float *q_filt, int noise, in sbr_hf_apply_noise_2_mips() argument
833 : [ff_sbr_noise_table]"r"(ff_sbr_noise_table), [noise]"r"(noise), in sbr_hf_apply_noise_2_mips()
841 const float *q_filt, int noise, in sbr_hf_apply_noise_3_mips() argument
879 : [ff_sbr_noise_table]"r"(ff_sbr_noise_table), [noise]"r"(noise), in sbr_hf_apply_noise_3_mips()
/third_party/gstreamer/gstplugins_bad/gst/siren/
Dhuffman.c312 float noise; in decode_vector() local
389 noise = decoder_standard_deviation[region] * noise_category5[i]; in decode_vector()
397 noise = decoder_standard_deviation[region] * noise_category6[i]; in decode_vector()
399 noise = decoder_standard_deviation[region] * noise_category7; in decode_vector()
401 noise = 0; in decode_vector()
413 *coefs_ptr = noise; in decode_vector()
415 *coefs_ptr = -noise; in decode_vector()
422 *coefs_ptr = noise; in decode_vector()
424 *coefs_ptr = -noise; in decode_vector()
/third_party/typescript/tests/baselines/reference/
DpropertyOverridesAccessors3.types5 _sound = 'rustling noise in the bushes'
7 >'rustling noise in the bushes' : "rustling noise in the bushes"
48 a.makeSound() // 'rustling noise in the bushes'
68 lion.makeSound() // with [[Define]]: Expected "RAWR!" but got "rustling noise in the bushes"
DpropertyOverridesAccessors3.errors.txt6 _sound = 'rustling noise in the bushes'
20 a.makeSound() // 'rustling noise in the bushes'
29 lion.makeSound() // with [[Define]]: Expected "RAWR!" but got "rustling noise in the bushes"
DpropertyOverridesAccessors3.symbols5 _sound = 'rustling noise in the bushes'
44 a.makeSound() // 'rustling noise in the bushes'
61 lion.makeSound() // with [[Define]]: Expected "RAWR!" but got "rustling noise in the bushes"
/third_party/ffmpeg/libavcodec/aarch64/
Dsbrdsp_init_aarch64.c38 const float *q_filt, int noise,
41 const float *q_filt, int noise,
44 const float *q_filt, int noise,
47 const float *q_filt, int noise,
/third_party/ffmpeg/libavcodec/arm/
Dsbrdsp_init_arm.c41 const float *q_filt, int noise,
44 const float *q_filt, int noise,
47 const float *q_filt, int noise,
50 const float *q_filt, int noise,
/third_party/ffmpeg/libavcodec/x86/
Dsbrdsp_init.c42 const float *q_filt, int noise,
45 const float *q_filt, int noise,
48 const float *q_filt, int noise,
51 const float *q_filt, int noise,
Dsbrdsp.asm348 ; const float *q_filt, int noise,
350 cglobal sbr_hf_apply_noise_0, 5,5+NREGS+UNIX64,8, Y,s_m,q_filt,noise,kx,m_max
355 ; const float *q_filt, int noise,
357 cglobal sbr_hf_apply_noise_1, 5,5+NREGS+UNIX64,8, Y,s_m,q_filt,noise,kx,m_max
364 ; const float *q_filt, int noise,
366 cglobal sbr_hf_apply_noise_2, 5,5+NREGS+UNIX64,8, Y,s_m,q_filt,noise,kx,m_max
371 ; const float *q_filt, int noise,
373 cglobal sbr_hf_apply_noise_3, 5,5+NREGS+UNIX64,8, Y,s_m,q_filt,noise,kx,m_max
381 DEFINE_ARGS Y, s_m, q_filt, noise, count
383 DEFINE_ARGS Y, s_m, q_filt, noise, kx, count
[all …]
/third_party/ffmpeg/libswresample/
Dswresample.c126 free_temp(&s->dither.noise); in clear_context()
379 s->dither.noise = s->preout; in swr_init()
382 s->dither.noise.bps = 4; in swr_init()
383 s->dither.noise.fmt = AV_SAMPLE_FMT_FLTP; in swr_init()
668 if((ret=swri_realloc_audio(&s->dither.noise, dither_count))<0) in swr_convert_internal()
671 for(ch=0; ch<s->dither.noise.ch_count; ch++) in swr_convert_internal()
672 …i_get_dither(s, s->dither.noise.ch[ch], s->dither.noise.count, (12345678913579ULL*ch + 3141592) % … in swr_convert_internal()
674 av_assert0(s->dither.noise.ch_count == preout->ch_count); in swr_convert_internal()
676 if(s->dither.noise_pos + out_count > s->dither.noise.count) in swr_convert_internal()
686 …s->mix_2_1_simd(conv_src->ch[ch], preout->ch[ch], s->dither.noise.ch[ch] + s->dither.noise.bps * s… in swr_convert_internal()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dlibimagequant.c84 unsigned char *noise, *edges, *dither_map; member
867 if (input_image->noise) { in liq_image_destroy()
868 input_image->free (input_image->noise); in liq_image_destroy()
1453 if (!input_image->noise && options->use_contrast_maps) { in get_histogram()
1485 input_image->noise); in get_histogram()
1493 input_image->noise ? &input_image->noise[row * cols] : NULL); in get_histogram()
1507 if (input_image->noise) { in get_histogram()
1508 input_image->free (input_image->noise); in get_histogram()
1509 input_image->noise = NULL; in get_histogram()
1566 unsigned char *restrict noise, *restrict edges, *restrict tmp; in contrast_maps() local
[all …]
/third_party/ffmpeg/tests/checkasm/
Dsbrdsp.c228 int noise = 0x2a; in test_hf_apply_noise() local
232 const AAC_FLOAT *q_filt, int noise, in test_hf_apply_noise()
244 call_ref(dst0, s_m, q_filt, noise, j, 128); in test_hf_apply_noise()
245 call_new(dst1, s_m, q_filt, noise, j, 128); in test_hf_apply_noise()
248 bench_new(dst1, s_m, q_filt, noise, j, 128); in test_hf_apply_noise()
/third_party/python/Lib/test/
Dtest_binascii.py96 noise = fillers
97 ratio = len(line) // len(noise)
99 while line and noise:
100 if len(line) // len(noise) > ratio:
103 c, noise = noise[0], noise[1:]
105 return res + noise + line

123456789