Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/libavfilter/
H A Dvf_noise.c24 * noise generator
46 {#name"_seed", "set component #"#x" noise seed", OFFSET(param.seed), AV_OPT_TYPE_INT, {.i64=-1}, -1, INT_MAX, FLAGS}, \
51 {"a", "averaged noise", 0, AV_OPT_TYPE_CONST, {.i64=NOISE_AVERAGED}, 0, 0, FLAGS, #name"_flags"}, \
53 {"t", "temporal noise", 0, AV_OPT_TYPE_CONST, {.i64=NOISE_TEMPORAL}, 0, 0, FLAGS, #name"_flags"}, \
54 {"u", "uniform noise", 0, AV_OPT_TYPE_CONST, {.i64=NOISE_UNIFORM}, 0, 0, FLAGS, #name"_flags"},
65 AVFILTER_DEFINE_CLASS(noise); variable
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[ in init_noise()
165 ff_line_noise_c(uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift) ff_line_noise_c() argument
190 static void noise(uint8_t *dst, const uint8_t *src, noise() function
195 int8_t *noise = p->noise; noise() local
[all...]
H A Daf_silencedetect.c37 double noise; ///< noise amplitude ratio member
57 { "n", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_DOUBLE, {.dbl=0.001}, 0, DBL_MAX, FLAGS },
58 { "noise", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_DOUBLE, {.dbl=0.001}, 0, DBL_MAX, FLAGS },
126 const type noise = s->noise; \
130 update(s, insamples, *p < noise
[all...]
H A 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);
H A Dvf_freezedetect.c45 double noise; member
54 { "n", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_DOUBLE, {.dbl=0.001}, 0, 1.0, V|F },
55 { "noise", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_DOUBLE, {.dbl=0.001}, 0, 1.0, V|F },
135 return (mafd <= s->noise); in is_frozen()
/third_party/ffmpeg/libavcodec/
H A Dsbrdsp_template.c47 const AAC_FLOAT *q_filt, int noise, in sbr_hf_apply_noise_0()
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()
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()
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()
73 sbr_hf_apply_noise(Y, s_m, q_filt, noise, (INTFLOAT)0.0, -phi_sign, m_max); in sbr_hf_apply_noise_3()
46 sbr_hf_apply_noise_0(INTFLOAT (Y)[2], const AAC_FLOAT *s_m, const AAC_FLOAT *q_filt, int noise, int kx, int m_max) sbr_hf_apply_noise_0() argument
53 sbr_hf_apply_noise_1(INTFLOAT (Y)[2], const AAC_FLOAT *s_m, const AAC_FLOAT *q_filt, int noise, int kx, int m_max) sbr_hf_apply_noise_1() argument
61 sbr_hf_apply_noise_2(INTFLOAT (Y)[2], const AAC_FLOAT *s_m, const AAC_FLOAT *q_filt, int noise, int kx, int m_max) sbr_hf_apply_noise_2() argument
68 sbr_hf_apply_noise_3(INTFLOAT (Y)[2], const AAC_FLOAT *s_m, const AAC_FLOAT *q_filt, int noise, int kx, int m_max) sbr_hf_apply_noise_3() argument
H A Dsiren.c580 float noise; in decode_vector() local
663 noise = decoder_standard_deviation[region] * noise_category5[i]; in decode_vector()
674 noise = decoder_standard_deviation[region] * noise_category5[i]; in decode_vector()
676 noise = decoder_standard_deviation[region] * noise_category6[i]; in decode_vector()
678 noise = decoder_standard_deviation[region] * 0.70711f; in decode_vector()
680 noise = 0; in decode_vector()
691 *coefs_ptr = dw1 & 1 ? noise : -noise; in decode_vector()
696 *coefs_ptr = dw2 & 1 ? noise : -noise; in decode_vector()
[all...]
H A Dsbrdsp_fixed.c265 int noise, in sbr_hf_apply_noise()
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()
262 sbr_hf_apply_noise(int (*Y)[2], const SoftFloat *s_m, const SoftFloat *q_filt, int noise, int phi_sign0, int phi_sign1, int m_max) sbr_hf_apply_noise() argument
H A Dsbrdsp.c201 int noise, in sbr_hf_apply_noise()
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()
198 sbr_hf_apply_noise(float (*Y)[2], const float *s_m, const float *q_filt, int noise, float phi_sign0, float phi_sign1, int m_max) sbr_hf_apply_noise() argument
H A Ddss_sp.c600 int32_t noise[72]; in dss_sp_sf_synthesis() local
655 noise[0] = av_clip_int16(tmp); in dss_sp_sf_synthesis()
658 tmp = (bias + 32358 * noise[i - 1]) >> 15; in dss_sp_sf_synthesis()
659 noise[i] = av_clip_int16(tmp); in dss_sp_sf_synthesis()
662 p->noise_state = noise[size - 1]; in dss_sp_sf_synthesis()
664 tmp = (p->vector_buf[i] * noise[i]) >> 11; in dss_sp_sf_synthesis()
H A Dnoise_bsf.c126 static int noise(AVBSFContext *ctx, AVPacket *pkt) in noise() function
222 .class_name = "noise",
229 .p.name = "noise",
234 .filter = noise,
/third_party/lame/libmp3lame/
H A Dquantize_pvt.c551 * this adjusts the ATH, keeping the original noise floor
754 FLOAT noise = 0; in calc_noise_core_c() local
763 noise += temp * temp; in calc_noise_core_c()
766 noise += temp * temp; in calc_noise_core_c()
777 noise += temp * temp; in calc_noise_core_c()
780 noise += temp * temp; in calc_noise_core_c()
788 noise += temp * temp; in calc_noise_core_c()
791 noise += temp * temp; in calc_noise_core_c()
796 return noise; in calc_noise_core_c()
838 FLOAT noise in calc_noise() local
947 calc_noise_result noise; set_pinfo() local
[all...]
/third_party/ffmpeg/libavfilter/x86/
H A Dvf_noise.c73 const int8_t *noise, int len, int shift) in line_noise_mmxext()
76 noise += shift; in line_noise_mmxext()
93 :: "r" (src+mmx_len), "r" (noise+mmx_len), "r" (dst+mmx_len), "g" (-mmx_len) in line_noise_mmxext()
97 ff_line_noise_c(dst+mmx_len, src+mmx_len, noise+mmx_len, len-mmx_len, 0); in line_noise_mmxext()
72 line_noise_mmxext(uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift) line_noise_mmxext() argument
/third_party/ffmpeg/libavcodec/mips/
H A Dsbrdsp_mips.c704 const float *q_filt, int noise, in sbr_hf_apply_noise_0_mips()
721 "addiu %[noise], %[noise], 1 \n\t" in sbr_hf_apply_noise_0_mips()
722 "andi %[noise], %[noise], 0x1ff \n\t" in sbr_hf_apply_noise_0_mips()
723 "sll %[temp0], %[noise], 3 \n\t" in sbr_hf_apply_noise_0_mips()
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()
767 "addiu %[noise], in sbr_hf_apply_noise_1_mips()
703 sbr_hf_apply_noise_0_mips(float (*Y)[2], const float *s_m, const float *q_filt, int noise, int kx, int m_max) sbr_hf_apply_noise_0_mips() argument
748 sbr_hf_apply_noise_1_mips(float (*Y)[2], const float *s_m, const float *q_filt, int noise, int kx, int m_max) sbr_hf_apply_noise_1_mips() argument
795 sbr_hf_apply_noise_2_mips(float (*Y)[2], const float *s_m, const float *q_filt, int noise, int kx, int m_max) sbr_hf_apply_noise_2_mips() argument
840 sbr_hf_apply_noise_3_mips(float (*Y)[2], const float *s_m, const float *q_filt, int noise, int kx, int m_max) sbr_hf_apply_noise_3_mips() argument
[all...]
/third_party/ffmpeg/libavcodec/arm/
H A 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/aarch64/
H A 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/x86/
H A Dsbrdsp_init.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,
H A Dsbrdsp.asm334 ; const float *q_filt, int noise,
336 cglobal sbr_hf_apply_noise_0, 5,5+NREGS+UNIX64,8, Y,s_m,q_filt,noise,kx,m_max
341 ; const float *q_filt, int noise,
343 cglobal sbr_hf_apply_noise_1, 5,5+NREGS+UNIX64,8, Y,s_m,q_filt,noise,kx,m_max
350 ; const float *q_filt, int noise,
352 cglobal sbr_hf_apply_noise_2, 5,5+NREGS+UNIX64,8, Y,s_m,q_filt,noise,kx,m_max
357 ; const float *q_filt, int noise,
359 cglobal sbr_hf_apply_noise_3, 5,5+NREGS+UNIX64,8, Y,s_m,q_filt,noise,kx,m_max
367 DEFINE_ARGS Y, s_m, q_filt, noise, count
369 DEFINE_ARGS Y, s_m, q_filt, noise, k
[all...]
H A Dmlpdsp.asm82 movzx noised, byte [blsbs_ptrq] ; load *bypassed_lsbs (reuse tmp noise register)
146 ausp, mask, cnt, noise
153 index2, accum, ausp, mask, cnt, noise
157 index2, accum, ausp, mask, cnt, noise
/third_party/pulseaudio/speex/libspeexdsp/
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
207 spx_word32_t *noise; /**< Noise estimate */ member
217 int *update_prob; /**< Probability of speech presence for noise update */
316 /* Compute the gain floor based on different floors for the background noise and residual echo */
317 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) in compute_gain_floor() argument
327 /* gain_floor = sqrt [ (noise*noise_floor + echo*echo_floor) / (noise+echo) ] */ in compute_gain_floor()
330 spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(PSHR32(noise[i],NOISE_SHIFT) + MULT16_32_Q15(gain_ratio,echo[i]), in compute_gain_floor()
331 (1+PSHR32(noise[ in compute_gain_floor()
376 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) compute_gain_floor() argument
[all...]
/third_party/ffmpeg/tests/checkasm/
H A 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/ffmpeg/libswresample/
H A Dswresample.c160 free_temp(&s->dither.noise); in clear_context()
479 s->dither.noise = s->preout; in swr_init()
482 s->dither.noise.bps = 4; in swr_init()
483 s->dither.noise.fmt = AV_SAMPLE_FMT_FLTP; in swr_init()
770 if((ret=swri_realloc_audio(&s->dither.noise, dither_count))<0) in swr_convert_internal()
773 for(ch=0; ch<s->dither.noise.ch_count; ch++) in swr_convert_internal()
774 if((ret=swri_get_dither(s, s->dither.noise.ch[ch], s->dither.noise.count, (12345678913579ULL*ch + 3141592) % 2718281828U, s->dither.noise.fmt))<0) in swr_convert_internal()
776 av_assert0(s->dither.noise in swr_convert_internal()
[all...]
H A Ddither_template.c54 const float *noise = ((const float *)noises->ch[ch]) + s->dither.noise_pos; in swri_noise_shaping() local
71 d1 = rint(d + noise[i]); in swri_noise_shaping()
/third_party/pulseaudio/speex/tmv/
H A Dpreprocess_tm.h527 float * restrict noise, in compute_gain_floor()
549 noisei = noise[i]; in compute_gain_floor()
567 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);
627 register spx_word32_t * restrict noise = st->noise; in preprocess_update_noise() local
638 { register spx_word32_t ni = noise[i]; in preprocess_update_noise()
642 { noise[i] = MAX32(EXTEND32(0),MULT16_32_Q15(beta_1,ni) + in preprocess_update_noise()
650 filterbank_compute_bank32(st->bank, noise, noise+N); in preprocess_update_noise()
659 register spx_word32_t * restrict noise in preprocess_compute_SNR() local
524 compute_gain_floor( int noise_suppress, int effective_echo_suppress, float * restrict noise, float * restrict echo, float * gain_floor, int len ) compute_gain_floor() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_binascii.py92 noise = fillers
93 ratio = len(line) // len(noise)
95 while line and noise:
96 if len(line) // len(noise) > ratio:
99 c, noise = noise[0], noise[1:]
101 return res + noise + line
/third_party/ffmpeg/tests/fate/
H A Ddvvideo.mak2 fate-bsf-dv-error-marker: CMD = md5 -i $(TARGET_SAMPLES)/dv/dvcprohd_720p50.mov -flags +bitexact -fflags +bitexact -c:v copy -bsf noise=100,dv_error_marker=color=blue -f avi

Completed in 18 milliseconds

123