/third_party/pulseaudio/src/pulsecore/filter/ |
D | biquad.c | 40 static void biquad_lowpass(struct biquad *bq, double cutoff) in biquad_lowpass() argument 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() 49 } else if (cutoff > 0) { in biquad_lowpass() 51 double theta = M_PI * cutoff; in biquad_lowpass() 72 static void biquad_highpass(struct biquad *bq, double cutoff) in biquad_highpass() argument 75 cutoff = PA_MIN(cutoff, 1.0); in biquad_highpass() 76 cutoff = PA_MAX(0.0, cutoff); in biquad_highpass() 78 if (cutoff >= 1.0) { in biquad_highpass() [all …]
|
/third_party/boost/boost/random/detail/ |
D | polynomial.hpp | 82 std::size_t cutoff = size/2; in multiply_karatsuba() local 83 multiply_karatsuba(cutoff, lhs, rhs, output); in multiply_karatsuba() 84 multiply_karatsuba(size - cutoff, lhs + cutoff, rhs + cutoff, in multiply_karatsuba() 85 output + cutoff*2); in multiply_karatsuba() 86 std::vector<digit_t> local1(size - cutoff); in multiply_karatsuba() 87 std::vector<digit_t> local2(size - cutoff); in multiply_karatsuba() 89 add(cutoff, lhs, lhs + cutoff, &local1[0]); in multiply_karatsuba() 90 if(size & 1) local1[cutoff] = lhs[size - 1]; in multiply_karatsuba() 91 add(cutoff, rhs + cutoff, rhs, &local2[0]); in multiply_karatsuba() 92 if(size & 1) local2[cutoff] = rhs[size - 1]; in multiply_karatsuba() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | adx.c | 26 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; in ff_adx_decode_header() local 76 cutoff = AV_RB16(buf + 16); in ff_adx_decode_header() 77 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
|
D | psymodel.c | 42 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()
|
D | adx.h | 47 int cutoff; member 64 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff);
|
D | adxenc.c | 112 bytestream_put_be16(&buf, c->cutoff); /* cutoff frequency */ in adx_encode_header() 134 c->cutoff = 500; in adx_encode_init() 135 ff_adx_calculate_coeffs(c->cutoff, avctx->sample_rate, COEFF_BITS, c->coeff); in adx_encode_init()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | auto_contrast_ir.cc | 31 AutoContrastOperation::AutoContrastOperation(float cutoff, const std::vector<uint32_t> &ignore) in AutoContrastOperation() argument 32 : cutoff_(cutoff), ignore_(ignore) {} in AutoContrastOperation() 73 float cutoff = op_params["cutoff"]; in from_json() local 75 *operation = std::make_shared<vision::AutoContrastOperation>(cutoff, ignore); in from_json()
|
/third_party/abseil-cpp/absl/base/internal/ |
D | exponential_biased_test.cc | 74 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/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | exponential_biased_test.cc | 74 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/libswresample/ |
D | soxr_resample.c | 33 …double cutoff, enum AVSampleFormat format, enum SwrFilterType filter_type, double kaiser_beta, dou… in create() argument 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()
|
/third_party/gstreamer/gstplugins_good/gst/audiofx/ |
D | audiowsinclimit.c | 217 self->cutoff = 0.0; in gst_audio_wsinclimit_init() 254 self->cutoff = CLAMP (self->cutoff, 0.0, rate / 2); in gst_audio_wsinclimit_build_kernel() 259 len, self->cutoff, in gst_audio_wsinclimit_build_kernel() 263 w = 2 * G_PI * (self->cutoff / rate); in gst_audio_wsinclimit_build_kernel() 368 self->cutoff = g_value_get_float (value); in gst_audio_wsinclimit_set_property() 401 g_value_set_float (value, self->cutoff); in gst_audio_wsinclimit_get_property()
|
D | audiocheblimit.c | 195 filter->cutoff = 0.0; in gst_audio_cheb_limit_init() 325 gdouble omega = 2.0 * G_PI * (filter->cutoff / rate); in generate_biquad_coefficients() 357 GST_LOG_OBJECT (filter, "cutoff %f", filter->cutoff); in generate_coefficients() 372 if (filter->cutoff >= rate / 2.0) { in generate_coefficients() 382 } else if (filter->cutoff <= 0.0) { in generate_coefficients() 463 filter->type, filter->poles, filter->cutoff, filter->ripple); in generate_coefficients() 470 gdouble wc = 2.0 * G_PI * (filter->cutoff / rate); in generate_coefficients() 475 b, np + 1, zr, zi)), (int) filter->cutoff); in generate_coefficients() 516 filter->cutoff = g_value_get_float (value); in gst_audio_cheb_limit_set_property() 552 g_value_set_float (value, filter->cutoff); in gst_audio_cheb_limit_get_property()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/lj/ |
D | lj_force_with_pme_direct_force_impl.cu | 22 … const float *LJ_type_A, const float *LJ_type_B, const float cutoff, in LJ_Force_With_Direct_CF_CUDA() argument 63 if (dr_abs < cutoff) { in LJ_Force_With_Direct_CF_CUDA() 105 void LJForceWithPMEDirectForce(const int atom_numbers, const float cutoff, const float pme_beta, co… in LJForceWithPMEDirectForce() argument 126 …atom_numbers, nl_a, uint_crd_with_LJ_a, scaler, d_LJ_A, d_LJ_B, cutoff, frc, pme_beta, TWO_DIVIDED… in LJForceWithPMEDirectForce() 130 void LJForceWithPMEDirectForce(const int atom_numbers, const float cutoff, const float pme_beta, co…
|
D | lj_direct_cf_force_with_lj_virial_direct_cf_energy_impl.cu | 26 …const float *LJ_type_A, const float *LJ_type_B, const float cutoff, VECTOR *frc, const float pme_b… in LJ_Direct_CF_Force_With_LJ_Virial_Direct_CF_Energy_CUDA() argument 68 if (dr_abs < cutoff) { in LJ_Direct_CF_Force_With_LJ_Virial_Direct_CF_Energy_CUDA() 112 …const int atom_numbers, const float cutoff, const float pme_beta, const unsigned int *uint_crd_f, … in LJ_Direct_CF_Force_With_LJ_Virial_Direct_CF_Energy() argument 135 …atom_numbers, nl_a, uint_crd_with_LJ_a, scaler, d_LJ_A, d_LJ_B, cutoff, frc, pme_beta, TWO_DIVIDED… in LJ_Direct_CF_Force_With_LJ_Virial_Direct_CF_Energy() 141 …const int atom_numbers, const float cutoff, const float pme_beta, const unsigned int *uint_crd_f, …
|
D | lj_pme_direct_force_with_atom_energy_impl.cu | 23 … const float cutoff, VECTOR *frc, const float pme_beta, in LJ_Direct_CF_Force_With_Atom_Energy_CUDA() argument 67 if (dr_abs < cutoff) { in LJ_Direct_CF_Force_With_Atom_Energy_CUDA() 116 void LJDirectCFForceWithAtomEnergy(const int atom_numbers, const float cutoff, const float pme_beta, in LJDirectCFForceWithAtomEnergy() argument 138 …atom_numbers, nl_a, uint_crd_with_LJ_a, scaler, d_LJ_A, d_LJ_B, cutoff, frc, pme_beta, TWO_DIVIDED… in LJDirectCFForceWithAtomEnergy() 143 void LJDirectCFForceWithAtomEnergy(const int atom_numbers, const float cutoff, const float pme_beta,
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_autocontrast.py | 63 … F.AutoContrast(cutoff=10.0, ignore=[10, 20]), 101 python_op = F.AutoContrast(cutoff=10.0, ignore=[10, 20]) 102 c_op = C.AutoContrast(cutoff=10.0, ignore=[10, 20]) 212 …ds_auto_contrast_c = data_set.map(operations=C.AutoContrast(cutoff=1, ignore=(0, 255)), input_colu… 270 data_set = data_set.map(operations=C.AutoContrast(cutoff=-10.0), input_columns="image") 280 data_set = data_set.map(operations=C.AutoContrast(cutoff=120.0), input_columns="image") 325 … cutoff=-10.0), 336 … F.AutoContrast(cutoff=120.0),
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv10_state_tnl.c | 260 float cutoff = MAX2(a3, 1 / (1 - lu->_CosCutoff)); in nv10_get_spot_coeff() local 262 k[0] = MAX2(0, a0 + b0 * cutoff); in nv10_get_spot_coeff() 264 k[2] = a2 + b2 * cutoff; in nv10_get_spot_coeff() 265 k[3] = - cutoff * l->_NormSpotDirection[0]; in nv10_get_spot_coeff() 266 k[4] = - cutoff * l->_NormSpotDirection[1]; in nv10_get_spot_coeff() 267 k[5] = - cutoff * l->_NormSpotDirection[2]; in nv10_get_spot_coeff() 268 k[6] = 1 - cutoff; in nv10_get_spot_coeff()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | auto_contrast_op.h | 38 …AutoContrastOp(const float &cutoff, const std::vector<uint32_t> &ignore) : cutoff_(cutoff), ignore… in AutoContrastOp() argument
|
/third_party/openGLES/extensions/QCOM/ |
D | QCOM_texture_foveated2.txt | 61 …COM | R[0.0,1.0] | GetTexParameter{if}v | 0.0 | Pixel density threshold for rendering cutoff | 8.19 63 This parameter defines the cutoff pixel density for a given focal 91 RESOLVED: After a draw operation where the foveation density cutoff 94 the regions of the texture that are above the cutoff pixel density, as
|
/third_party/ffmpeg/libavfilter/ |
D | af_asupercut.c | 37 double cutoff; member 92 double w0 = s->cutoff / inlink->sample_rate; in get_coeffs() 156 double theta_0 = 2. * M_PI * (s->cutoff / inlink->sample_rate); in get_coeffs() 190 double theta_0 = 2. * M_PI * (s->cutoff / inlink->sample_rate); in get_coeffs() 345 …{ "cutoff", "set cutoff frequency", OFFSET(cutoff), AV_OPT_TYPE_DOUBLE, {.dbl=20000}, 20000, 19200… 386 …{ "cutoff", "set cutoff frequency", OFFSET(cutoff), AV_OPT_TYPE_DOUBLE, {.dbl=20}, 2, 200, FLAGS … 409 …{ "centerf","set center frequency", OFFSET(cutoff), AV_OPT_TYPE_DOUBLE, {.dbl=1000}, 2, 999999, FL…
|
/third_party/boost/libs/random/test/ |
D | chi_squared_test.hpp | 26 static const IntType cutoff = 5; member 41 if(current_expected >= cutoff) { in operator ()()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/sponge/lj/ |
D | lj_force_with_pme_direct_force_kernel.h | 37 cutoff = static_cast<float>(GetAttr<float_t>(kernel_node, "cutoff")); in Init() 79 …LJForceWithPMEDirectForce(atom_numbers, cutoff, pme_beta, uint_crd, LJtype, charge, scaler, uint_c… in Launch() 116 float cutoff; variable
|
D | lj_force_with_pme_direct_force_update_kernel.h | 41 cutoff = static_cast<float>(GetAttr<float_t>(kernel_node, "cutoff")); in Init() 91 …LJForceWithPMEDirectForce(atom_numbers, cutoff, pme_beta, uint_crd, LJtype, charge, scaler, uint_c… in Launch() 129 float cutoff; variable
|
D | lj_direct_cf_force_with_lj_virial_direct_cf_energy_kernel.h | 42 cutoff = static_cast<float>(GetAttr<float_t>(kernel_node, "cutoff")); in Init() 86 …LJ_Direct_CF_Force_With_LJ_Virial_Direct_CF_Energy(atom_numbers, cutoff, pme_beta, uint_crd, LJtyp… in Launch() 127 float cutoff; variable
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/pme/ |
D | pme_common.cuh | 35 const float cutoff = 10.0; variable 47 static float Get_Beta(float cutoff, float tolerance) { in Get_Beta() argument 55 tempf = erfc(high * cutoff) / cutoff; in Get_Beta() 65 tempf = erfc(beta * cutoff) / cutoff; in Get_Beta()
|