HomeSort by relevance Sort by last modified time
    Searched defs:gain (Results 1 - 25 of 142) sorted by null

1 2 3 4 5 6

  /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
d_gain_p.cpp 64 Word16 gain -- (Q14)
76 Purpose : Decodes the pitch gain using the received index.
176 Word16 d_gain_pitch( /* return value: gain (Q14) */
181 Word16 gain; local
183 gain = qua_gain_pitch[index];
188 gain &= 0xFFFC;
191 return gain;
  /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
gain_dequant.c 23 * 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);
cb_construct.c 30 int16_t *gain_index, /* (i) Gain quantization indices */
36 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];
  /external/libopus/src/
mapping_matrix.h 47 int gain; /* in dB. S7.8-format. */ member in struct:MappingMatrix
59 int gain,
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
g_pitch.c 20 * Description:Compute the gain of pitch. Result in Q12 *
21 * if(gain < 0) gain = 0 *
22 * if(gain > 1.2) gain = 1.2 *
29 Word16 G_pitch( /* (o) Q14 : Gain of pitch lag saturated to 1.2 */
32 Word16 g_coeff[], /* : Correlations need for gain quantization. */
37 Word16 xy, yy, exp_xy, exp_yy, gain; local
56 /* If (xy < 0) gain = 0 */
60 /* compute gain = xy/yy *
    [all...]
gpclip.c 20 * Description:To avoid unstable synthesis on frame erasure, the gain *
21 * need to be limited(gain pitch < 1.0) when the following *
38 Word16 mem[] /* (o) : memory of gain of pitch clipping algorithm */
47 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */
60 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */
90 Word16 gain_pit, /* (i) Q14 : gain of quantized pitch */
91 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */
94 Word16 gain; local
99 gain = extract_h(L_tmp);
101 if(gain < GAIN_PIT_MIN
    [all...]
  /external/libopus/silk/fixed/
process_gains_FIX.c 44 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_MAX >> 8 )
    [all...]
  /external/libopus/silk/float/
process_gains_FLP.c 45 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) *
    [all...]
  /external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/
pcan_gain_control.cc 51 const uint32_t gain = local
54 (static_cast<uint64_t>(signal[i]) * gain) >> state->snr_shift;
  /external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
pcan_gain_control.c 52 const uint32_t gain = WideDynamicFunction(state->noise_estimate[i], local
54 const uint32_t snr = ((uint64_t) signal[i] * gain) >> state->snr_shift;
  /external/aac/libAACdec/src/
ldfiltbank.cpp 215 FIXP_DBL gain = (FIXP_DBL)0; local
254 imdct_gain(&gain, &scale, N);
264 if (gain != (FIXP_DBL)0) {
266 mdctData[i] = fMult(mdctData[i], gain);
  /external/aac/libSBRenc/src/
resampler.h 123 FIXP_DBL gain; /*! overall gain factor */ member in struct:__anon15117
  /external/libopus/silk/tests/
test_unit_LPC_inv_pred_gain.c 107 opus_int32 gain; local
114 gain = silk_LPC_inverse_pred_gain(A_Q12, order, arch);
117 if( gain != 0 && !check_stability(A_Q12, order) ) {
  /external/libxcam/modules/ocl/
cl_rgb_pipe_handler.h 35 float gain; member in struct:XCam::__anon30325
cl_retinex_handler.h 37 float gain; member in struct:XCam::__anon30324
  /external/skia/bench/
MatrixConvolutionBench.cpp 35 SkScalar gain = 0.3f, bias = SkIntToScalar(100); local
37 fFilter = SkMatrixConvolutionImageFilter::Make(kernelSize, kernel, gain, bias,
  /external/skia/gm/
imagefiltersgraph.cpp 124 SkScalar gain = 1.0f, bias = SkIntToScalar(0); variable
130 gain,
matrixconvolution.cpp 60 SkScalar gain = 0.3f, bias = SkIntToScalar(100); local
64 gain,
  /external/skqp/bench/
MatrixConvolutionBench.cpp 35 SkScalar gain = 0.3f, bias = SkIntToScalar(100); local
37 fFilter = SkMatrixConvolutionImageFilter::Make(kernelSize, kernel, gain, bias,
  /external/skqp/gm/
imagefiltersgraph.cpp 124 SkScalar gain = 1.0f, bias = SkIntToScalar(0); variable
130 gain,
  /external/sonivox/arm-wt-22k/lib_src/
eas_mixer.c 137 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 = gain >> 4
    [all...]
eas_wt_IPC_frame.h 74 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
  /external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/
split-stats.h 34 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...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
g_code.cpp 107 pOverflow -> 1 if the innovative gain calculation resulted in overflow
110 gain = Gain of Innovation code (Word16)
121 This function computes the innovative codebook gain.
123 The innovative codebook gain is given by
142 Word16 G_code ( // out : Gain of innovation code
148 Word16 xy, yy, exp_xy, exp_yy, gain;
173 // If (xy < 0) gain = 0
188 // compute gain = xy/yy
191 gain = div_s (xy, yy)
236 Word16 xy, yy, exp_xy, exp_yy, gain; local
    [all...]
g_pitch.cpp 118 g_coeff = pointer to buffer of correlations needed for gain quantization
128 gain = ratio of dot products.(Word16)
139 This function computes the pitch (adaptive codebook) gain. The adaptive
140 codebook gain is given by
148 The gain is limited to the range [0,1.2] (=0..19661 Q14)
163 Word16 G_pitch ( // o : Gain of pitch lag saturated to 1.2
167 Word16 g_coeff[], // i : Correlations need for gain quantization
172 Word16 xy, yy, exp_xy, exp_yy, gain;
244 // If (xy < 4) gain = 0
251 // compute gain = xy/y
313 Word16 gain; local
    [all...]

Completed in 926 milliseconds

1 2 3 4 5 6