/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
LVCS_Control.c | 128 LVM_UINT32 Gain; 130 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * LVM_MAXINT_16); 131 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); 132 Gain=Gain>>15; 134 * Apply the gain correction and shift, note the result is in Q3.13 format 136 Gain = (Gain * pInstance->VolCorrect.GainMin) >>12; 138 LVC_Mixer_Init(&pInstance->BypassMix.Mixer_Instance.MixerStream[1],0,Gain); [all...] |
LVCS_BypassMix.c | 46 /* The overall gain of the processed path is set by the gains in the individual */ 47 /* processing blocks and by the effect level gain. */ 49 /* The unprocessed path must have matching gain for the processed path to ensure */ 53 /* The overall gain is corrected by a combination of a shift with saturation and a */ 55 /* and also corrects for any excess gain in the shift. */ 73 LVM_UINT32 Gain; 81 * Set the transition gain 97 * Calculate the output gain table offset 103 * Setup the mixer gain for the processed path 105 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain) [all...] |
LVCS_Process.c | 39 /* ----->| Stereo |->| Reverb |->| Equ |->| Alpha |-->| + |-| Gain |----> */ 48 /* their gain to give a near peak to peak output (-0.1dBFS) with a worst case */ 50 /* the gain block folloing the sum. */ 200 LVM_INT16 Gain = pInstance->VolCorrect.CompMin; 204 Gain = (LVM_INT16)( pInstance->VolCorrect.CompMin 210 NonLinComp_D16(Gain, /* Compressor gain setting */ 222 /* Large changes in Gain can cause clicks in output 223 Split data into small blocks and use interpolated gain values */ 225 GainStep = (LVM_INT16)(((Gain-pInstance->CompressGain) * LVCS_COMPGAINFRAME)/NumSamples) [all...] |
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
LVEQNB_CalcCoef.c | 63 /* GaindB is the gain in dBs, range -15dB to +15dB */ 74 /* small errors in this value have a combined effect on the Q and Gain but not the */ 93 LVM_INT16 Gain = pFilterDefinition->Gain; 118 if (Gain >= 0) 124 D = LVEQNB_DTable[Gain+15]; /* D = 1 / (1 + G) if GaindB < 0 */ 166 pCoefficients->G = LVEQNB_GainTable[Gain+15]; 201 /* GaindB is the gain in dBs, range -15dB to +15dB */ 223 LVM_INT16 Gain = pFilterDefinition->Gain; [all...] |
/external/fec/ |
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...] |
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...] |
vtest615.c | 21 {"gain",1,NULL,'g'}, 37 double Gain = 24.0; 52 double gain,esn0,ebn0; local 90 Gain = atof(optarg); 111 gain = 1./sqrt(0.5/pow(10.,esn0/10.)); 113 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain); 122 symbols[6*i+0] = addnoise(parity(sr & V615POLYA),gain,Gain,OFFSET,CLIP); 123 symbols[6*i+1] = addnoise(parity(sr & V615POLYB),gain,Gain,OFFSET,CLIP) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
pitch_filter.c | 55 const int16_t Gain = 21299; // 1.3 in Q14 69 // Get old lag and gain value from memory. 78 gainsQ12[k] = (int16_t)(gainsQ12[k] * Gain >> 14); 228 // Gain should be half the correlation.
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
LVREV_ApplyNewSettings.c | 305 * Update the feed back gain 313 LVM_INT32 G[4]; /* Feedback gain (Q7.24) */ 372 * Calculate the gain correction 380 LVM_INT32 Gain=0; 422 Gain=LVM_Polynomial(3,Coefs,T60); /* Q.24 result */ 426 /* Interpolate the gain between nearest room sizes */ 435 /* Get gain for first */ 444 /* Get gain for second */ 453 /* Linear Interpolate the gain */ 454 Gain = Gain1+ (((Gain2-Gain1)*Dist)/(Tot_Dist)) [all...] |
LVREV_Private.h | 76 #define LVREV_OUTPUTGAIN_SHIFT 5 /* Bits shift for output gain correction */ 142 Mix_1St_Cll_t FeedbackMixer[4]; /* Mixer for Pop and Click Supression caused by feedback Gain */ 154 Mix_1St_Cll_t Mixer_SGFeedback[4]; /* Smoothed SAfeedback gain */ 155 Mix_1St_Cll_t Mixer_SGFeedforward[4]; /* Smoothed AP feedforward gain */ 157 /* Output gain */ 159 LVM_INT16 Gain; /* Gain applied to output to maintain average signal power */ 160 Mix_1St_Cll_t GainMixer; /* Gain smoothing */
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
LVEQNB.h | 57 /* Gain is in integer dB, range -15dB to +15dB inclusive */ 62 /* Gain = 7 7dB gain */ 245 LVM_INT16 Gain; /* Band gain in dB */
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/lib/ |
LVM.h | 246 LVM_INT16 Gain; /* Band gain in dB */ 257 LVM_INT16 Headroom_Offset; /* Headroom = biggest band gain - Headroom_Offset */ 294 LVM_INT16 TE_EffectLevel; /* Treble Enhancement gain dBs */ [all...] |
/external/opencv3/modules/videoio/src/ |
cap_msmf.cpp | 524 Parametr Gain; [all...] |