/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
gain_quant.c | 23 * quantizer for the gain in the gain-shape coding of residual 26 int16_t WebRtcIlbcfix_GainQuant( /* (o) quantized gain value */ 27 int16_t gain, /* (i) gain value Q14 */ 28 int16_t maxIn, /* (i) maximum of gain value Q14 */ 49 /* Multiply the gain with 2^14 to make the comparison 51 gainW32 = gain << 14; 67 /* Move up if gain is larger, otherwise move down in table */ 101 /* Calculate and return the quantized gain value (in Q14) * [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
pitch_filter_c.c | 20 int16_t gain, 50 gain, tmpW16, 12);
|
pitch_estimator.h | 41 int16_t gain,
|
/external/webrtc/webrtc/tools/agc/ |
test_utils.cc | 29 void ApplyGainLinear(float gain, float last_gain, AudioFrame* frame) { 32 // Smooth the transition between gain levels across the frame. 34 float gain_step = (gain - last_gain) / (frame_length - 1);
|
/frameworks/base/media/java/android/media/ |
AudioDevicePort.java | 77 AudioGainConfig gain) { 78 return new AudioDevicePortConfig(this, samplingRate, channelMask, format, gain);
|
/external/aac/libPCMutils/src/ |
limiter.cpp | 175 FIXP_DBL tmp, old, gain, additionalGain = 0, additionalGainUnfiltered; local 238 * additional gain. */ 273 /* calc gain */ 274 /* gain is downscaled by one, so that gain = 1.0 can be represented */ 276 gain = fDivNorm(threshold, max) >> 1; 278 gain = FL2FXCONST_DBL(1.0f / (1 << 1)); 281 /* gain smoothing, method: TDL_EXPONENTIAL */ 286 if (gain < smoothState0) { 288 fMultDiv2((gain - fMultDiv2(FL2FXCONST_SGL(0.1f * (1 << 1)) [all...] |
/external/fec/ |
vtest39.c | 21 {"gain",1,NULL,'g'}, 35 double Gain = 32.0; 50 double gain,esn0,ebn0; local 88 Gain = atof(optarg); 109 gain = 1./sqrt(0.5/pow(10.,esn0/10.)); 111 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain); 120 symbols[3*i+0] = addnoise(parity(sr & V39POLYA),gain,Gain,127.5,255); 121 symbols[3*i+1] = addnoise(parity(sr & V39POLYB),gain,Gain,127.5,255) [all...] |
vtest27.c | 21 {"gain",1,NULL,'g'}, 35 double Gain = 32.0; 50 double gain,esn0,ebn0; local 88 Gain = atof(optarg); 109 gain = 1./sqrt(0.5/pow(10.,esn0/10.)); 111 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain); 120 symbols[2*i+0] = addnoise(parity(sr & V27POLYA),gain,Gain,127.5,255); 121 symbols[2*i+1] = addnoise(parity(sr & V27POLYB),gain,Gain,127.5,255) [all...] |
vtest29.c | 21 {"gain",1,NULL,'g'}, 35 double Gain = 32.0; 50 double gain,esn0,ebn0; local 88 Gain = atof(optarg); 109 gain = 1./sqrt(0.5/pow(10.,esn0/10.)); 111 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain); 120 symbols[2*i+0] = addnoise(parity(sr & V29POLYA),gain,Gain,127.5,255); 121 symbols[2*i+1] = addnoise(parity(sr & V29POLYB),gain,Gain,127.5,255) [all...] |
/external/libxcam/cl_kernel/ |
kernel_newtonemapping.cl | 91 float4 gain = (dst_y_data + 0.0001f) / (src_y_data + 0.0001f); 92 src_data_Gr = src_data_Gr * gain; 93 src_data_R = src_data_R * gain; 94 src_data_B = src_data_B * gain; 95 src_data_Gb = src_data_Gb * gain;
|
kernel_3d_denoise_slm.cl | 4 * gain: The parameter determines the filtering strength for the reference block 40 float gain, 105 gain = (gradient.s0 < threshold) ? gain : 2.0f * gain; 107 weight = native_exp(-gain * (dist.s0 + dist.s1 + dist.s2 + dist.s3)); 151 gain = (gradient.s0 < threshold) ? gain : 2.0f * gain; 153 weight = native_exp(-gain * (dist.s0 + dist.s1 + dist.s2 + dist.s3)) [all...] |
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/ |
split_handler_ops.cc | 213 if (left_stats.gain + right_stats.gain > best_gain) { 214 best_gain = left_stats.gain + right_stats.gain; 234 best_gain - root_stats.gain - tree_complexity_regularization_; 449 if (left_stats_default_left.gain + right_stats_default_left.gain > 452 left_stats_default_left.gain + right_stats_default_left.gain; 465 if (left_stats_default_right.gain + right_stats_default_right.gain [all...] |
/external/libopus/silk/float/ |
noise_shape_analysis_FLP.c | 35 /* Compute gain to make warped filter coefficients have a zero mean log frequency response on a */ 45 silk_float gain; local 48 gain = coefs[ order - 1 ]; 50 gain = lambda * gain + coefs[ i ]; 52 return (silk_float)( 1.0f / ( 1.0f - lambda * gain ) ); 64 silk_float tmp, maxabs, chirp, gain; local 70 gain = ( 1.0f - lambda * lambda ) / ( 1.0f + lambda * coefs[ 0 ] ); 72 coefs[ i ] *= gain; 95 gain = 1.0f / gain [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
agc.cpp | 607 st->past_gain = gain 625 sig_out[n] = sig_out[n] * gain[n] 626 gain[n] = agc_fac * gain[n-1] + (1 - agc_fac) g_in/g_out 628 where: gain[n] = gain at the nth sample given by 654 Word16 gain_in, gain_out, g0, gain; 696 // compute gain[n] = agc_fac * gain[n-1] 698 // sig_out[n] = gain[n] * sig_out[n 753 Word16 gain; local [all...] |
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/ |
node-stats.h | 48 : weight_contribution(output_length, 0.0f), gain(0) {} 60 : gradient_stats(grad_stats), gain(0) { 91 // The node gain is given by: (l'^2) / (l'' + l2_reg) and the node 97 gain = (weight_contribution[0] * -g); 140 // The gain in general form is -g^T (H+l2 I)^-1 g. 203 gain = (-g * weight).sum(); 222 "Gain = ", gain); 239 // Sets the weight_contribution and gain member variables based on the 243 // The gain in general form is -g^T (Hessian_and_regularization)^-1 g 278 float gain; member in struct:tensorflow::boosted_trees::learner::stochastic::NodeStats [all...] |
/external/libopus/celt/ |
vq.c | 75 opus_val16 gain, theta; local 83 gain = celt_div((opus_val32)MULT16_16(Q15_ONE,len),(opus_val32)(len+factor*K)); 84 theta = HALF16(MULT16_16_Q15(gain,gain)); 115 /** Takes the pitch vector and the decoded residual vector, computes the gain 118 int N, opus_val32 Ryy, opus_val16 gain) 131 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); 327 opus_val16 gain, int resynth, int arch) 348 normalise_residual(iy, X, N, yy, gain); 360 ec_dec *dec, opus_val16 gain) [all...] |
/cts/suite/audio_quality/lib/include/audio/ |
AudioLocal.h | 36 virtual bool prepare(AudioHardware::SamplingRate samplingRate, int gain,
|
/external/aac/libAACdec/src/ |
usacdec_lpc.h | 176 * \brief decode TCX/FAC gain. In case of TCX the lg/sqrt(rms) part 177 * must still be applied to obtain the gain value. 178 * \param gain (o) pointer were the gain mantissa is stored into. 179 * \param gain_e (o) pointer were the gain exponent is stored into. 181 * representing the gain. 183 void CLpd_DecodeGain(FIXP_DBL *gain, INT *gain_e, int gain_code);
|
/external/libxaac/decoder/drc_src/ |
impd_drc_extr_delta_coded_info.h | 61 FLOAT32 gain; member in struct:__anon26362
|
impd_drc_uni_tables.h | 61 FLOAT32 gain; member in struct:__anon26466
|
/external/libxcam/modules/ocl/ |
cl_rgb_pipe_handler.h | 35 float gain; member in struct:XCam::__anon26646
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_math.h | 156 /* the max positive gain used in the synth for EG1 */ 169 We implement the EG1 using a linear gain value, which means that the 170 attack segment is handled by incrementing (adding) the linear gain. 172 the Attack portion. For Decay, Sustain, and Release, the gain is 174 a linear scale. Because we use a linear gain for EG1, we implement 181 #define MULT_EG1_EG1(gain,damping) /*lint -e(704) <avoid divide for performance>*/ \ 184 ((int32_t)(gain)) * ((int32_t)(damping)) \ 200 #define MULT_EG1_EG1_X2(gain,damping) /*lint -e(702) <avoid divide for performance>*/ \ 203 ((int32_t)(gain)) * ((int32_t)(damping)) \ 238 For gain, the LFO generates a value that modulates in term [all...] |
/external/webrtc/webrtc/common_audio/signal_processing/ |
vector_scaling_operations.c | 87 int16_t gain, size_t in_vector_length, 90 // Performs vector operation: out_vector = (gain*in_vector)>>right_shifts 100 *outptr++ = (int16_t)((*inptr++ * gain) >> right_shifts); 105 int16_t gain, size_t in_vector_length, 108 // Performs vector operation: out_vector = (gain*in_vector)>>right_shifts 117 *outptr++ = WebRtcSpl_SatW32ToW16((*inptr++ * gain) >> right_shifts);
|
/frameworks/av/media/libeffects/testlibs/ |
EffectsMath.h | 146 /* the max positive gain used in the synth for EG1 */ 159 We implement the EG1 using a linear gain value, which means that the 160 attack segment is handled by incrementing (adding) the linear gain. 162 the Attack portion. For Decay, Sustain, and Release, the gain is 164 a linear scale. Because we use a linear gain for EG1, we implement 171 #define MULT_EG1_EG1(gain,damping) /*lint -e(704) <avoid divide for performance>*/ \ 174 ((int32_t)(gain)) * ((int32_t)(damping)) \ 190 #define MULT_EG1_EG1_X2(gain,damping) /*lint -e(702) <avoid divide for performance>*/ \ 193 ((int32_t)(gain)) * ((int32_t)(damping)) \ 228 For gain, the LFO generates a value that modulates in term [all...] |
/external/skia/src/gpu/effects/ |
GrMatrixConvolutionEffect.cpp | 57 fGainUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "Gain"); 63 const char* gain = uniformHandler->getUniformCStr(fGainUni); local 97 fragBuilder->codeAppendf("%s = sum * %s + %s;", args.fOutputColor, gain, bias); 110 fragBuilder->codeAppendf("%s.rgb = clamp(sum.rgb * %s + %s, 0, 1);", args.fOutputColor, gain, bias); 142 pdman.set1f(fGainUni, conv.gain()); 151 SkScalar gain, 163 , fGain(SkScalarToFloat(gain)) 208 fGain == s.gain() && 248 SkScalar gain, 260 new GrMatrixConvolutionEffect(std::move(proxy), bounds, kernelSize, kernel, gain, bias 279 SkScalar gain = d->fRandom->nextSScalar1(); local [all...] |