Home
last modified time | relevance | path

Searched refs:cutoff (Results 1 - 25 of 55) sorted by relevance

123

/third_party/pulseaudio/src/pulsecore/filter/
H A Dbiquad.c40 static void biquad_lowpass(struct biquad *bq, double cutoff) in biquad_lowpass() argument
42 /* Limit cutoff to 0 to 1. */ in biquad_lowpass()
43 cutoff = PA_MIN(cutoff, 1.0); in biquad_lowpass()
44 cutoff = PA_MAX(0.0, cutoff); in biquad_lowpass()
46 if (cutoff >= 1.0) { in biquad_lowpass()
47 /* When cutoff is 1, the z-transform is 1. */ in biquad_lowpass()
49 } else if (cutoff > 0) { in biquad_lowpass()
51 double theta = M_PI * cutoff; in biquad_lowpass()
72 biquad_highpass(struct biquad *bq, double cutoff) biquad_highpass() argument
[all...]
/third_party/FreeBSD/lib/libc/stdlib/
H A Dstrtoimax.c61 uintmax_t cutoff; in strtoimax_l() local
101 * Compute the cutoff value between legal numbers and illegal in strtoimax_l()
109 * is 10, cutoff will be set to 922337203685477580 and cutlim to in strtoimax_l()
118 cutoff = neg ? (uintmax_t)-(INTMAX_MIN + INTMAX_MAX) + INTMAX_MAX in strtoimax_l()
120 cutlim = cutoff % base; in strtoimax_l()
121 cutoff /= base; in strtoimax_l()
135 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoimax_l()
H A Dstrtoumax.c61 uintmax_t cutoff; in strtoumax_l() local
98 cutoff = UINTMAX_MAX / base; in strtoumax_l()
113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoumax_l()
H A Dstrtoul.c61 unsigned long cutoff; in strtoul_l() local
98 cutoff = ULONG_MAX / base; in strtoul_l()
113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoul_l()
/third_party/ffmpeg/libavcodec/
H A Dadx.c26 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff) in ff_adx_calculate_coeffs() argument
30 a = M_SQRT2 - cos(2.0 * M_PI * cutoff / sample_rate); in ff_adx_calculate_coeffs()
41 int offset, cutoff, channels; in ff_adx_decode_header() local
82 cutoff = AV_RB16(buf + 16); in ff_adx_decode_header()
83 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
H A Dpsymodel.c42 ctx->cutoff = avctx->cutoff; in ff_psy_init()
115 if (avctx->cutoff > 0) in ff_psy_preprocess_init()
116 cutoff_coeff = 2.0 * avctx->cutoff / avctx->sample_rate; in ff_psy_preprocess_init()
H A Dadx.h47 int cutoff; member
57 * Calculate LPC coefficients based on cutoff frequency and sample rate.
59 * @param cutoff cutoff frequency
64 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff);
H A Dadxenc.c113 bytestream_put_be16(&buf, c->cutoff); /* cutoff frequency */ in adx_encode_header()
134 /* the cutoff can be adjusted, but this seems to work pretty well */ in adx_encode_init()
135 c->cutoff = 500; in adx_encode_init()
136 ff_adx_calculate_coeffs(c->cutoff, avctx->sample_rate, COEFF_BITS, c->coeff); in adx_encode_init()
H A Dlibopusenc.c162 if (avctx->cutoff) { in libopus_configure_encoder()
314 if (avctx->cutoff) { in libopus_encode_init()
315 switch (avctx->cutoff) { in libopus_encode_init()
333 "Invalid frequency cutoff: %d. Using default maximum bandwidth.\n" in libopus_encode_init()
335 avctx->cutoff); in libopus_encode_init()
336 avctx->cutoff = 0; in libopus_encode_init()
H A Dlibfdk-aacenc.c301 if (avctx->cutoff > 0) { in aac_encode_init()
302 if (avctx->cutoff < (avctx->sample_rate + 255) >> 8 || avctx->cutoff > 20000) { in aac_encode_init()
303 av_log(avctx, AV_LOG_ERROR, "cutoff valid range is %d-20000\n", in aac_encode_init()
308 avctx->cutoff)) != AACENC_OK) { in aac_encode_init()
310 avctx->cutoff, aac_get_error(err)); in aac_encode_init()
H A Daacpsy.c308 const int bandwidth = ctx->cutoff ? ctx->cutoff : AAC_CUTOFF(ctx->avctx); in psy_3gpp_init()
601 const uint8_t *band_sizes, const float *coefs, const int cutoff) in calc_thr_3gpp()
613 if (wstart < cutoff) { in calc_thr_3gpp()
665 const int bandwidth = ctx->cutoff ? ctx->cutoff : AAC_CUTOFF(ctx->avctx); in psy_3gpp_analyze_channel()
666 const int cutoff = bandwidth * 2048 / wi->num_windows / ctx->avctx->sample_rate; in psy_3gpp_analyze_channel() local
669 calc_thr_3gpp(wi, num_bands, pch, band_sizes, coefs, cutoff); in psy_3gpp_analyze_channel()
600 calc_thr_3gpp(const FFPsyWindowInfo *wi, const int num_bands, AacPsyChannel *pch, const uint8_t *band_sizes, const float *coefs, const int cutoff) calc_thr_3gpp() argument
/third_party/node/tools/
H A Dtest-v8.bat23 echo running 'python tools\run-tests.py %common_v8_test_options% %v8_test_options% --slow-tests-cutoff 1000000 --json-test-results v8-tap.xml'
24 call python tools\run-tests.py %common_v8_test_options% %v8_test_options% --slow-tests-cutoff 1000000 --json-test-results v8-tap.xml
29 echo running 'python tools\run-tests.py %common_v8_test_options% intl --slow-tests-cutoff 1000000 --json-test-results v8-intl-tap.xml'
30 call python tools\run-tests.py %common_v8_test_options% intl --slow-tests-cutoff 1000000 --json-test-results ./v8-intl-tap.xml
35 echo running 'python tools\run-tests.py %common_v8_test_options% benchmarks --slow-tests-cutoff 1000000 --json-test-results v8-benchmarks-tap.xml'
36 call python tools\run-tests.py %common_v8_test_options% benchmarks --slow-tests-cutoff 1000000 --json-test-results ./v8-benchmarks-tap.xml
/third_party/ffmpeg/libswresample/
H A Dsoxr_resample.c33 double cutoff, enum AVSampleFormat format, enum SwrFilterType filter_type, double kaiser_beta, double precision, int cheby, int exact_rational){ in create()
51 q_spec.bw_pc = cutoff? FFMAX(FFMIN(cutoff,.995),.8)*100 : q_spec.bw_pc; in create()
53 q_spec.passband_end = cutoff? FFMAX(FFMIN(cutoff,.995),.8) : q_spec.passband_end; in create()
32 create(struct ResampleContext *c, int out_rate, int in_rate, int filter_size, int phase_shift, int linear, double cutoff, enum AVSampleFormat format, enum SwrFilterType filter_type, double kaiser_beta, double precision, int cheby, int exact_rational) create() argument
H A Dswresample_internal.h72 double cutoff, enum AVSampleFormat format, enum SwrFilterType filter_type, double kaiser_beta, double precision, int cheby, int exact_rational);
131 int filter_size; /**< length of each FIR filter in the resampling filterbank relative to the cutoff frequency */
135 double cutoff; /**< resampling cutoff frequency (swr: 6dB point; soxr: 0dB point). 1.0 corresponds to half the output sample rate */ member
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dexponential_biased_test.cc74 double cutoff = 0.01265 + 0.1757 / n; in AndersonDarlingErrFix() local
75 if (x < cutoff) { in AndersonDarlingErrFix()
76 double t = x / cutoff; in AndersonDarlingErrFix()
80 double t = (x - cutoff) / (0.8 - cutoff); in AndersonDarlingErrFix()
/third_party/ffmpeg/libavfilter/
H A Daf_asupercut.c37 double cutoff; member
66 double w0 = s->cutoff / inlink->sample_rate; in get_coeffs()
130 double theta_0 = 2. * M_PI * (s->cutoff / inlink->sample_rate); in get_coeffs()
164 double theta_0 = 2. * M_PI * (s->cutoff / inlink->sample_rate); in get_coeffs()
319 { "cutoff", "set cutoff frequency", OFFSET(cutoff), AV_OPT_TYPE_DOUBLE, {.dbl=20000}, 20000, 192000, FLAGS },
358 { "cutoff", "set cutoff frequency", OFFSET(cutoff), AV_OPT_TYPE_DOUBL
[all...]
H A Daf_virtualbass.c33 double cutoff; member
44 { "cutoff", "set virtual bass cutoff", OFFSET(cutoff), AV_OPT_TYPE_DOUBLE, {.dbl=250},100,500, FLAGS },
75 g = tan(M_PI * s->cutoff / inlink->sample_rate); in config_input()
H A Daf_asubboost.c35 double cutoff; member
55 double w0 = 2 * M_PI * s->cutoff / inlink->sample_rate; in get_coeffs()
222 { "cutoff", "set cutoff", OFFSET(cutoff), AV_OPT_TYPE_DOUBLE, {.dbl=100}, 50, 900, FLAGS },
/third_party/pulseaudio/speex/libspeexdsp/
H A Dresample.c131 float cutoff; member
231 { 32, 4, 0.882f, 0.910f, KAISER6 }, /* Q2 */ /* 82.3% cutoff ( ~60 dB stop) 6 */
232 { 48, 8, 0.895f, 0.917f, KAISER8 }, /* Q3 */ /* 84.9% cutoff ( ~80 dB stop) 8 */
233 { 64, 8, 0.921f, 0.940f, KAISER8 }, /* Q4 */ /* 88.7% cutoff ( ~80 dB stop) 8 */
234 { 80, 16, 0.922f, 0.940f, KAISER10}, /* Q5 */ /* 89.1% cutoff (~100 dB stop) 10 */
235 { 96, 16, 0.940f, 0.945f, KAISER10}, /* Q6 */ /* 91.5% cutoff (~100 dB stop) 10 */
236 {128, 16, 0.950f, 0.950f, KAISER10}, /* Q7 */ /* 93.1% cutoff (~100 dB stop) 10 */
237 {160, 16, 0.960f, 0.960f, KAISER10}, /* Q8 */ /* 94.5% cutoff (~100 dB stop) 10 */
238 {192, 32, 0.968f, 0.968f, KAISER12}, /* Q9 */ /* 95.5% cutoff (~100 dB stop) 10 */
239 {256, 32, 0.975f, 0.975f, KAISER12}, /* Q10 */ /* 96.6% cutoff (~10
277 sinc(float cutoff, float x, int N, const struct FuncDef *window_func) sinc() argument
290 sinc(float cutoff, float x, int N, const struct FuncDef *window_func) sinc() argument
[all...]
/third_party/ffmpeg/libavcodec/mips/
H A Daacpsy_mips.h65 const float *coefs, const int cutoff) in calc_thr_3gpp_mips()
77 if (wstart < cutoff) { in calc_thr_3gpp_mips()
63 calc_thr_3gpp_mips(const FFPsyWindowInfo *wi, const int num_bands, AacPsyChannel *pch, const uint8_t *band_sizes, const float *coefs, const int cutoff) calc_thr_3gpp_mips() argument
/third_party/protobuf/src/google/protobuf/io/
H A Dcoded_stream.h273 // This usually a faster alternative to ReadTag() when cutoff is a manifest
274 // constant. It does particularly well for cutoff >= 127. The first part
277 // then the tag is known to be in [0, cutoff]. If not, the tag either is
278 // above cutoff or is 0. (There's intentional wiggle room when tag is 0,
282 std::pair<uint32, bool> ReadTagWithCutoff(uint32 cutoff) { in ReadTagWithCutoff() argument
283 std::pair<uint32, bool> result = ReadTagWithCutoffNoLastTag(cutoff); in ReadTagWithCutoff()
289 std::pair<uint32, bool> ReadTagWithCutoffNoLastTag(uint32 cutoff);
1389 uint32 cutoff) { in ReadTagWithCutoffNoLastTag()
1390 // In performance-sensitive code we can expect cutoff to be a compile-time in ReadTagWithCutoffNoLastTag()
1391 // constant, and things like "cutoff > in ReadTagWithCutoffNoLastTag()
1388 ReadTagWithCutoffNoLastTag( uint32 cutoff) ReadTagWithCutoffNoLastTag() argument
[all...]
/third_party/pulseaudio/src/modules/echo-cancel/
H A Dadrian-aec.c85 a->cutoff = FIR_HP_300Hz_init(); in AEC_init()
113 pa_xfree(a->cutoff); in AEC_done()
250 d = FIR_HP_300Hz_highpass(a->cutoff, d); in AEC_doAEC()
/third_party/ffmpeg/libavresample/
H A Doptions.c68 { "cutoff", "Cutoff Frequency Ratio", OFFSET(cutoff), AV_OPT_TYPE_DOUBLE, { .dbl = 0.8 }, 0.0, 1.0, PARAM },
70 { "resample_cutoff", "Cutoff Frequency Ratio", OFFSET(cutoff), AV_OPT_TYPE_DOUBLE, { .dbl = 0.8 }, 0.0, 1.0, PARAM },
/third_party/ffmpeg/tests/fate/
H A Daac.mak171 fate-aac-ln-encode-128k: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_coder fast -aac_is 0 -aac_pns 0 -aac_ms 0 -aac_tns 0 -b:a 128k -cutoff 22050 -fflags +bitexact -flags +bitexact
180 fate-aac-pns-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_coder fast -aac_pns 1 -aac_is 0 -aac_ms 0 -aac_tns 0 -b:a 128k -cutoff 22050 -fflags +bitexact -flags +bitexact
189 fate-aac-tns-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_coder fast -aac_tns 1 -aac_is 0 -aac_pns 0 -aac_ms 0 -b:a 128k -cutoff 22050 -fflags +bitexact -flags +bitexact
198 fate-aac-is-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_coder fast -aac_pns 0 -aac_is 1 -aac_ms 0 -b:a 128k -aac_tns 0 -cutoff 22050 -fflags +bitexact -flags +bitexact
207 fate-aac-ms-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_coder fast -aac_pns 0 -aac_is 0 -aac_ms 1 -aac_tns 0 -b:a 128k -cutoff 22050 -fflags +bitexact -flags +bitexact
227 fate-aac-pred-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -profile:a aac_main -c:a aac -aac_coder fast -aac_is 0 -aac_pns 0 -aac_ms 0 -aac_tns 0 -b:a 128k -cutoff 22050 -fflags +bitexact -flags +bitexact
/third_party/python/Lib/
H A Ddifflib.py4 Function get_close_matches(word, possibilities, n=3, cutoff=0.6):
666 def get_close_matches(word, possibilities, n=3, cutoff=0.6):
678 Optional arg cutoff (default 0.6) is a float in [0, 1]. Possibilities
697 if not 0.0 <= cutoff <= 1.0:
698 raise ValueError("cutoff must be in [0.0, 1.0]: %r" % (cutoff,))
704 if s.real_quick_ratio() >= cutoff and \
705 s.quick_ratio() >= cutoff and \
706 s.ratio() >= cutoff:
913 # least cutoff; best_rati
[all...]

Completed in 18 milliseconds

123