/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/libopus/silk/float/ |
scale_vector_FLP.c | 37 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;
|
scale_copy_vector_FLP.c | 38 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 ];
|
/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);
|
gain_quant.h | 25 * 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 */
|
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];
|
refiner.h | 40 int16_t gain /* (i) Gain to use for this sequence */
|
/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...] |
updt_tar.c | 31 Word16 gain, /* (i) Q14 : adaptive codebook gain */ 41 L_tmp2 = L_mult(y[i], gain);
|
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/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/base/media/java/android/media/ |
AudioDevicePortConfig.java | 30 int format, AudioGainConfig gain) { 31 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); 36 config.gain());
|
AudioMixPortConfig.java | 30 AudioGainConfig gain) { 31 super((AudioPort)mixPort, samplingRate, channelMask, format, gain);
|
AudioGainConfig.java | 20 * The AudioGainConfig is used by APIs setting or getting values on a given gain 21 * controller. It contains a valid configuration (value, channels...) for a gain controller 35 AudioGainConfig(int index, AudioGain gain, int mode, int channelMask, 38 mGain = gain; 46 * get the index of the parent gain. 62 * Indicates for which channels the gain is set. 70 * Gain values for each channel in the order of bits set in
|
AudioPortConfig.java | 45 static final int GAIN = 0x8; 49 AudioGainConfig gain) { 54 mGain = gain; 87 * The gain configuration if this port supports gain control, null otherwise 90 public AudioGainConfig gain() { method in class:AudioPortConfig
|
/external/autotest/client/common_lib/cros/cfm/ |
cras_input_node.py | 7 def __init__(self, node_id, node_name, gain, node_type, device_id, 11 self.gain = int(gain) 18 'Gain: %d' % (self.node_id, self.node_name, self.device_id, 19 self.device_name, self.gain))
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
q_gain_c.h | 111 * Scalar quantization of the innovative codebook gain. * 117 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 118 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 */ 119 Word16 *gain, /* i/o: quantized fixed codebook gain, Q1 */
|
q_gain_p.h | 109 Word16 gp_limit, /* i : pitch gain limit */ 110 Word16 *gain, /* i/o: Pitch gain (unquant/quant), Q14 */ 111 Word16 gain_cand[], /* o : pitch gain candidates (3), MR795 only, Q14 */ 112 Word16 gain_cind[], /* o : pitch gain cand. indices (3),MR795 only, Q0 */
|
q_gain_p.cpp | 115 gp_limit -- Word16 -- pitch gain limit 116 gain -- Pointer to Word16 -- Pitch gain (unquant/quant), Q14 119 gain -- Pointer to Word16 -- Pitch gain (unquant/quant), Q14 121 gain_cand -- Array of type Word16 -- pitch gain candidates (3), 124 gain_cind -- Array of type Word16 -- pitch gain cand. indices (3), 181 Word16 gp_limit, /* i : pitch gain limit */ 182 Word16 *gain, /* i/o: Pitch gain (unquant/quant), Q14 * [all...] |
q_gain_c.cpp | 64 Scalar quantization of the innovative codebook gain. 126 exp_gcode0 -- Word16 -- predicted CB gain (exponent), Q0 127 frac_gcode0 -- Word16 -- predicted CB gain (fraction), Q15 128 gain -- Pointer to Word16 -- quantized fixed codebook gain, Q1 131 gain -- Pointer to Word16 -- quantized fixed codebook gain, Q1 152 Scalar quantization of the innovative codebook gain. 193 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 194 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 * [all...] |
/system/bt/btif/include/ |
btif_avrcp_audio_track.h | 51 * Sets audio track gain. 53 void BtifAvrcpSetAudioTrackGain(void* handle, float gain);
|
/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/libxcam/cl_kernel/ |
kernel_tnr.cl | 8 * 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 - thr_uv) / (diff_max - thr_uv) [all...] |
/external/libopus/celt/ |
vq.h | 67 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);
|
/device/google/cuttlefish_common/guest/hals/camera/fake-pipeline2/ |
Sensor.h | 30 * frame duration, and gain are set for the next frame to be captured. In stage 114 void setSensitivity(uint32_t gain); 234 void captureRaw(uint8_t *img, uint32_t gain, uint32_t stride); 235 void captureRGBA(uint8_t *img, uint32_t gain, uint32_t stride); 236 void captureRGB(uint8_t *img, uint32_t gain, uint32_t stride); 237 void captureNV21(uint8_t *img, uint32_t gain, uint32_t stride); 238 void captureDepth(uint8_t *img, uint32_t gain, uint32_t stride);
|