/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/ir/kernels/ |
D | vol_ir.cc | 25 VolOperation::VolOperation(float gain, GainType gain_type) : gain_(gain), gain_type_(gain_type) {} in VolOperation() 33 !(gain_type_ == GainType::kPower && gain_ <= 0), in ValidateParams() 34 "Vol: gain must be greater than 0 when gain_type is Power, but got: " + std::to_string(gain_)); in ValidateParams() 37 !(gain_type_ == GainType::kAmplitude && gain_ < 0), in ValidateParams() 38 …ust be greater than or equal to 0 when gain_type is Amplitude, but got: " + std::to_string(gain_)); in ValidateParams() 43 std::shared_ptr<VolOp> tensor_op = std::make_shared<VolOp>(gain_, gain_type_); in Build() 49 args["gain"] = gain_; in to_json()
|
D | equalizer_biquad_ir.cc | 27 : sample_rate_(sample_rate), center_freq_(center_freq), gain_(gain), Q_(Q) {} in EqualizerBiquadOperation() 37 std::make_shared<EqualizerBiquadOp>(sample_rate_, center_freq_, gain_, Q_); in Build() 45 args["gain"] = gain_; in to_json()
|
D | bass_biquad_ir.cc | 27 : sample_rate_(sample_rate), gain_(gain), central_freq_(central_freq), Q_(Q) {} in BassBiquadOperation() 36 …std::shared_ptr<BassBiquadOp> tensor_op = std::make_shared<BassBiquadOp>(sample_rate_, gain_, cent… in Build() 43 args["gain"] = gain_; in to_json()
|
D | vol_ir.h | 48 float gain_;
|
D | equalizer_biquad_ir.h | 51 float gain_; variable
|
D | bass_biquad_ir.h | 52 float gain_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/kernels/ |
D | bass_biquad_op.h | 34 : sample_rate_(sample_rate), gain_(gain), central_freq_(central_freq), Q_(Q) {} in BassBiquadOp() 39 …out << Name() << ": sample_rate: " << sample_rate_ << ", gain: " << gain_ << ", central_freq: " <<… in Print() 49 float gain_; variable
|
D | equalizer_biquad_op.h | 36 : sample_rate_(sample_rate), center_freq_(center_freq), gain_(gain), Q_(Q) {} in EqualizerBiquadOp() 47 float gain_; variable
|
D | vol_op.h | 31 …explicit VolOp(float gain, GainType gain_type = GainType::kAmplitude) : gain_(gain), gain_type_(ga… in gain_() function 42 float gain_;
|
D | vol_op.cc | 34 return Vol(input_tensor, output, gain_, gain_type_); in Compute() 37 return Vol(input_tensor, output, static_cast<double>(gain_), gain_type_); in Compute()
|
D | equalizer_biquad_op.cc | 38 double A = exp(gain_ / 40.0 * log(10)); in Compute()
|
D | bass_biquad_op.cc | 35 double A = exp(gain_ / 40 * log(10)); in Compute()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | adjust_gamma_ir.cc | 30 AdjustGammaOperation::AdjustGammaOperation(float gamma, float gain) : gamma_(gamma), gain_(gain) {} in AdjustGammaOperation() 39 std::shared_ptr<AdjustGammaOp> tensor_op = std::make_shared<AdjustGammaOp>(gamma_, gain_); in Build() 46 args["gain"] = gain_; in to_json()
|
D | adjust_gamma_ir.h | 56 float gain_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | audio.cc | 137 : sample_rate_(sample_rate), gain_(gain), central_freq_(central_freq), Q_(Q) {} in Data() 139 float gain_; member 148 …return std::make_shared<BassBiquadOperation>(data_->sample_rate_, data_->gain_, data_->central_fre… in Parse() 222 : sample_rate_(sample_rate), center_freq_(center_freq), gain_(gain), Q_(Q) {} in Data() 225 float gain_; member 233 …hared<EqualizerBiquadOperation>(data_->sample_rate_, data_->center_freq_, data_->gain_, data_->Q_); in Parse() 377 Data(float gain, GainType gain_type) : gain_(gain), gain_type_(gain_type) {} in Data() 378 float gain_; member 385 return std::make_shared<VolOperation>(data_->gain_, data_->gain_type_); in Parse()
|
D | vision.cc | 125 Data(float gamma, float gain) : gamma_(gamma), gain_(gain) {} in Data() 127 float gain_; member 133 return std::make_shared<AdjustGammaOperation>(data_->gamma_, data_->gain_); in Parse()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | adjust_gamma_op.cc | 36 return AdjustGamma(input_tensor, output, gamma_, gain_); in Compute() 38 return AdjustGamma(input, output, gamma_, gain_); in Compute()
|
D | adjust_gamma_op.h | 34 AdjustGammaOp(const float &gamma, const float &gain) : gamma_(gamma), gain_(gain) {} in AdjustGammaOp() 50 float gain_; variable
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
D | adrian-aec.h | 372 PA_GCC_UNUSED static void AEC_setgain(AEC *a, float gain_) { in AEC_setgain() argument 373 a->gain = gain_; in AEC_setgain()
|