/third_party/ffmpeg/libavfilter/ |
H A D | vf_noise.c | 24 * 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 D | af_silencedetect.c | 37 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 D | vf_noise.h | 42 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 D | vf_freezedetect.c | 45 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 D | sbrdsp_template.c | 47 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 D | siren.c | 580 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 D | sbrdsp_fixed.c | 265 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 D | sbrdsp.c | 201 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
|
/third_party/ffmpeg/libavfilter/x86/ |
H A D | vf_noise.c | 73 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
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
H A D | odm_NoiseMonitor.c | 10 /* This function is for inband noise test utility only */ 11 /* To obtain the inband noise level(dbm), do the following. */ 58 /* Step 3. Get noise power level */ in odm_InbandNoise_Monitor_NSeries() 124 pDM_Odm->noise_level.noise[ODM_RF_PATH_A] = -110 + reg_c50 + noise_data.sum[ODM_RF_PATH_A]; in odm_InbandNoise_Monitor_NSeries() 125 pDM_Odm->noise_level.noise_all += pDM_Odm->noise_level.noise[ODM_RF_PATH_A]; in odm_InbandNoise_Monitor_NSeries() 131 pDM_Odm->noise_level.noise[ODM_RF_PATH_B] = -110 + reg_c58 + noise_data.sum[ODM_RF_PATH_B]; in odm_InbandNoise_Monitor_NSeries() 132 pDM_Odm->noise_level.noise_all += pDM_Odm->noise_level.noise[ODM_RF_PATH_B]; in odm_InbandNoise_Monitor_NSeries() 142 pDM_Odm->noise_level.noise[ODM_RF_PATH_A], in odm_InbandNoise_Monitor_NSeries() 143 pDM_Odm->noise_level.noise[ODM_RF_PATH_B] in odm_InbandNoise_Monitor_NSeries() 155 /* pDM_Odm->noise_level.noise[ODM_RF_PATH_ in odm_InbandNoise_Monitor_NSeries() [all...] |
/third_party/lame/libmp3lame/ |
H A D | quantize_pvt.c | 551 * 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/libavcodec/arm/ |
H A D | sbrdsp_init_arm.c | 41 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 D | sbrdsp_init_aarch64.c | 38 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 D | sbrdsp_init.c | 41 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 D | sbrdsp.asm | 334 ; 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...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | sbrdsp_mips.c | 704 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...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
H A D | spectral_common.h | 57 s8 noise; member 101 __be16 noise; member 125 __be32 noise; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ |
H A D | spectral_common.h | 56 s8 noise; member 100 __be16 noise; member 124 __be32 noise; member
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | lgdt330x.c | 496 u32 noise; /* noise value */ in lgdt3302_read_snr() local 505 noise = ((buf[0] & 7) << 16) | (buf[1] << 8) | buf[2]; in lgdt3302_read_snr() 510 noise = ((buf[0] & 7 << 3) << 13) | (buf[3] << 8) | buf[4]; in lgdt3302_read_snr() 517 noise = ((buf[0] & 3) << 8) | buf[1]; in lgdt3302_read_snr() 531 state->snr = calculate_snr(noise, c); in lgdt3302_read_snr() 533 dprintk(state, "noise = 0x%08x, snr = %d.%02d dB\n", noise, in lgdt3302_read_snr() 543 u32 noise; /* noise valu in lgdt3303_read_snr() local [all...] |
H A D | or51132.c | 229 /* Auto CH, Auto NTSC rej, MPEGser, MPEG2tr, phase noise-high */ in or51132_setmode() 237 Auto-deinterleave; MPEGser, MPEG2tr, phase noise-high in or51132_setmode() 461 int noise, reg; in or51132_read_snr() local 467 noise = or51132_readreg(state, 0x02); in or51132_read_snr() 468 if (noise < 0) { in or51132_read_snr() 472 dprintk("read_snr noise (%d)\n", noise); in or51132_read_snr() 500 /* Calculate SNR using noise, c, and NTSC rejection correction */ in or51132_read_snr() 501 state->snr = calculate_snr(noise, c) - usK; in or51132_read_snr() 504 dprintk("%s: noise in or51132_read_snr() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | lgdt330x.c | 496 u32 noise; /* noise value */ in lgdt3302_read_snr() local 505 noise = ((buf[0] & 7) << 16) | (buf[1] << 8) | buf[2]; in lgdt3302_read_snr() 510 noise = ((buf[0] & 7 << 3) << 13) | (buf[3] << 8) | buf[4]; in lgdt3302_read_snr() 517 noise = ((buf[0] & 3) << 8) | buf[1]; in lgdt3302_read_snr() 531 state->snr = calculate_snr(noise, c); in lgdt3302_read_snr() 533 dprintk(state, "noise = 0x%08x, snr = %d.%02d dB\n", noise, in lgdt3302_read_snr() 543 u32 noise; /* noise valu in lgdt3303_read_snr() local [all...] |
/third_party/ffmpeg/tests/checkasm/ |
H A D | sbrdsp.c | 228 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | tailcall_bpf2bpf4.c | 20 int noise = 0; variable 33 if (noise) in subprog_tail_2()
|
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | 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 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/libswresample/ |
H A D | swresample.c | 160 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...] |