Searched refs:gain (Results 1 - 25 of 248) sorted by relevance

12345678910

/external/libopus/silk/float/
H A Dscale_vector_FLP.c37 silk_float gain,
46 data1[ i + 0 ] *= gain;
47 data1[ i + 1 ] *= gain;
48 data1[ i + 2 ] *= gain;
49 data1[ i + 3 ] *= gain;
54 data1[ i ] *= gain;
35 silk_scale_vector_FLP( silk_float *data1, silk_float gain, opus_int dataSize ) argument
H A Dscale_copy_vector_FLP.c38 silk_float gain,
47 data_out[ i + 0 ] = gain * data_in[ i + 0 ];
48 data_out[ i + 1 ] = gain * data_in[ i + 1 ];
49 data_out[ i + 2 ] = gain * data_in[ i + 2 ];
50 data_out[ i + 3 ] = gain * data_in[ i + 3 ];
55 data_out[ i ] = gain * data_in[ i ];
35 silk_scale_copy_vector_FLP( silk_float *data_out, const silk_float *data_in, silk_float gain, opus_int dataSize ) argument
H A Dprocess_gains_FLP.c45 silk_float s, InvMaxSqrVal, gain, quant_offset; local
47 /* Gain reduction when LTP coding gain is high */
60 gain = psEncCtrl->Gains[ k ];
61 gain = ( silk_float )sqrt( gain * gain + psEncCtrl->ResNrg[ k ] * InvMaxSqrVal );
62 psEncCtrl->Gains[ k ] = silk_min_float( gain, 32767.0f );
70 /* Save unquantized gains and gain Index */
83 /* Set quantizer offset for voiced signals. Larger offset when LTP coding gain is low or tilt is high (ie low-pass) */
/external/autotest/client/common_lib/cros/cfm/
H A Dcras_input_node.py7 def __init__(self, node_id, node_name, gain, node_type, device_id,
11 self.gain = int(gain)
19 self.device_name, self.gain))
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Dgain_dequant.c23 * decoder for quantized gains in the gain-shape coding of
28 /* (o) quantized gain value (Q14) */
30 int16_t maxIn, /* (i) maximum of unquantized gain (Q14) */
34 const int16_t *gain; local
42 gain = WebRtcIlbcfix_kGain[stage];
44 return (int16_t)((scale * gain[index] + 8192) >> 14);
H A Dgain_quant.h25 * quantizer for the gain in the gain-shape coding of residual
28 int16_t WebRtcIlbcfix_GainQuant( /* (o) quantized gain value */
29 int16_t gain, /* (i) gain value Q14 */
30 int16_t maxIn, /* (i) maximum of gain value Q14 */
H A Dcb_construct.c36 int16_t gain[CB_NSTAGES]; local
44 /* gain de-quantization */
46 gain[0] = WebRtcIlbcfix_GainDequant(gain_index[0], 16384, 0);
47 gain[1] = WebRtcIlbcfix_GainDequant(gain_index[1], gain[0], 1);
48 gain[2] = WebRtcIlbcfix_GainDequant(gain_index[2], gain[1], 2);
57 gainPtr = &gain[0];
H A Drefiner.h40 int16_t gain /* (i) Gain to use for this sequence */
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/
H A Dsplit-stats.h34 gain(0) {}
42 gain(0) {}
45 // over the split gain to trade-off adding new nodes with loss reduction.
51 gain(left_stats.gain + right_stats.gain - root_stats.gain -
61 // Split gain.
62 float gain; member in struct:tensorflow::boosted_trees::learner::stochastic::SplitStats
68 "\nGain = " + std::to_string(gain);
[all...]
/external/libopus/silk/fixed/
H A Dprocess_gains_FIX.c44 opus_int32 s_Q16, InvMaxSqrVal_Q16, gain, gain_squared, ResNrg, ResNrgPart, quant_offset_Q10; local
46 /* Gain reduction when LTP coding gain is high */
73 gain = psEncCtrl->Gains_Q16[ k ];
74 gain_squared = silk_ADD_SAT32( ResNrgPart, silk_SMMUL( gain, gain ) );
77 gain_squared = silk_SMLAWW( silk_LSHIFT( ResNrgPart, 16 ), gain, gain );
79 gain = silk_SQRT_APPROX( gain_squared ); /* Q8 */
80 gain = silk_min( gain, silk_int32_MA
[all...]
/external/libxcam/cl_kernel/
H A Dkernel_tnr.cl8 * gain: Blending ratio of previous and current frame
15 __write_only image2d_t outputFrame, uint vertical_offset, float gain, float thr_y, float thr_uv)
42 float coeff_Y = (diff_Y < thr_y) ? gain :
43 (diff_Y * (1 - gain) + diff_max * gain - thr_y) / (diff_max - thr_y);
50 // X'(K) = (1 - gain) * X'(k-1) + gain * X(k)
59 float coeff_U = (diff_U < thr_uv) ? gain :
60 (diff_U * (1 - gain) + diff_max * gain
[all...]
H A Dkernel_rgb_pipe.cl23 float gain;
40 float gain;
55 gain = cond ? 1.0f : 0.0f;
56 (*(out)).x = (gain * (*(out)).x + gain * in1.x + gain * in2.x + in3.x) / (1.0f + 3 * gain);
57 (*(out)).y = (gain * (*(out)).y + gain * in1.y + gain * in
[all...]
/external/libopus/celt/
H A Dvq.h67 opus_val16 gain, int resynth, int arch);
77 ec_dec *dec, opus_val16 gain);
79 void renormalise_vector(celt_norm *X, int N, opus_val16 gain, int arch);
/external/aac/libAACenc/src/
H A Dquantize.h119 SHORT *quantSpectrum, INT noOfLines, INT gain,
124 INT gain, FIXP_DBL *en,
/external/adhd/cras/src/common/
H A Dcras_observer_ops.h22 /* System input/capture gain changed. */
23 void (*capture_gain_changed)(void *context, int32_t gain);
41 /* Input gain changed. */
44 int32_t gain);
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_dlssynth.c182 * Calculate the gain for the next frame
185 static EAS_I32 DLS_UpdateGain (S_WT_VOICE *pWTVoice, const S_DLS_ARTICULATION *pDLSArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain, EAS_U8 velocity) argument
201 gain += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue);
202 if (gain > 0)
203 gain = 0;
205 /* convert to linear gain including EG1 */
208 gain = (DLS_GAIN_FACTOR * gain) >> DLS_GAIN_SHIFT;
211 gain += (pWTVoice->eg1Value - 32767) >> 1;
212 gain
[all...]
H A Deas_wt_IPC_frame.h74 EAS_I16 gainLeft; /* left channel gain */
75 EAS_I16 gainRight; /* right channel gain */
78 EAS_I16 gain; /* current voice gain */ member in struct:s_wt_config_tag
H A Deas_mixer.c137 EAS_U16 gain; local
141 /* calculate the gain multiplier */
149 gain = 32767;
151 gain = (EAS_U16) temp;
154 gain = (EAS_U16) pEASData->masterGain;
156 gain = (EAS_U16) pEASData->masterGain;
159 /* Not using all the gain bits for now
164 gain = gain >> 5;
166 gain
[all...]
/external/adhd/cras/src/dsp/
H A Dbiquad.h48 * gain - The value is in dB. See Web Audio API for details.
51 double gain);
H A Deq.h36 * Q, gain - The meaning depends on the type of the filter. See Web Audio
42 float gain);
H A Deq2.h37 * Q, gain - The meaning depends on the type of the filter. See Web Audio
43 enum biquad_type type, float freq, float Q, float gain);
/external/flac/include/share/grabbag/
H A Dreplaygain.h52 void grabbag__replaygain_get_album(float *gain, float *peak);
53 void grabbag__replaygain_get_title(float *gain, float *peak);
66 FLAC__bool grabbag__replaygain_load_from_vorbiscomment(const FLAC__StreamMetadata *block, FLAC__bool album_mode, FLAC__bool strict, double *reference, double *gain, double *peak);
67 double grabbag__replaygain_compute_scale_factor(double peak, double gain, double preamp, FLAC__bool prevent_clipping);
/external/skia/src/gpu/effects/
H A DGrMatrixConvolutionEffect.h23 SkScalar gain,
29 new GrMatrixConvolutionEffect(std::move(proxy), bounds, kernelSize, kernel, gain,
36 SkScalar gain,
48 float gain() const { return fGain; } function in class:GrMatrixConvolutionEffect
62 SkScalar gain,
19 Make(sk_sp<GrTextureProxy> proxy, const SkIRect& bounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrTextureDomain::Mode tileMode, bool convolveAlpha) argument
/external/skqp/src/gpu/effects/
H A DGrMatrixConvolutionEffect.h23 SkScalar gain,
29 new GrMatrixConvolutionEffect(std::move(proxy), bounds, kernelSize, kernel, gain,
36 SkScalar gain,
48 float gain() const { return fGain; } function in class:GrMatrixConvolutionEffect
62 SkScalar gain,
19 Make(sk_sp<GrTextureProxy> proxy, const SkIRect& bounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrTextureDomain::Mode tileMode, bool convolveAlpha) argument
/external/adhd/cras/src/server/
H A Dcras_observer.h65 /* Notify observers of capture gain change. */
66 void cras_observer_notify_capture_gain(int32_t gain);
86 /* Notify observers of input node gain change. */
88 int32_t gain);

Completed in 1140 milliseconds

12345678910