/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
lsf_check.c | 23 * check for stability of lsf coefficients 27 int16_t *lsf, /* LSF parameters */ 28 int dim, /* dimension of LSF */ 37 /* LSF separation check*/ 44 if ((lsf[pos+1]-lsf[pos])<eps) { 46 if (lsf[pos+1]<lsf[pos]) { 47 lsf[pos+1]= lsf[pos]+eps2 [all...] |
lsf_check.h | 25 * check for stability of lsf coefficients 29 int16_t *lsf, /* LSF parameters */ 30 int dim, /* dimension of LSF */
|
lsf_to_poly.h | 25 * Convert from LSF coefficients to A coefficients 30 int16_t *lsf /* (i) line spectral frequencies in Q13 */
|
poly_to_lsf.h | 25 * conversion from lpc coefficients to lsf coefficients 29 int16_t *lsf, /* (o) lsf coefficients (Q13) */
|
poly_to_lsf.c | 25 int16_t *lsf, /* (o) lsf coefficients (Q13) */ 30 WebRtcIlbcfix_Lsp2Lsf(lsp, lsf, 10);
|
lsf_to_lsp.h | 25 * conversion from lsf to lsp coefficients 29 int16_t *lsf, /* (i) lsf in Q13 values between 0 and pi */
|
lsp_to_lsf.h | 25 * conversion from LSP coefficients to LSF coefficients 30 int16_t *lsf, /* (o) Lsf vector 0...Pi in Q13 31 (ordered, so that lsf[i]<lsf[i+1]) */
|
simple_lpc_analysis.h | 29 int16_t *lsf, /* (o) lsf coefficients */
|
simple_lsf_quant.c | 24 * lsf quantizer (subrutine to LPCencode) 28 int16_t *lsfdeq, /* (o) dequantized lsf coefficients 31 int16_t *lsf, /* (i) the lsf coefficient vector to be 33 int16_t lpc_n /* (i) number of lsf sets to quantize */ 36 /* Quantize first LSF with memoryless split VQ */ 37 WebRtcIlbcfix_SplitVq( lsfdeq, index, lsf, 41 /* Quantize second LSF with memoryless split VQ */ 43 lsf + LPC_FILTERORDER, (int16_t*)WebRtcIlbcfix_kLsfCb,
|
lpc_encode.c | 35 int16_t *lsf_index, /* (o) lsf quantization index */ 41 int16_t lsf[LPC_FILTERORDER * LPC_N_MAX]; local 44 /* Calculate LSF's from the input speech */ 45 WebRtcIlbcfix_SimpleLpcAnalysis(lsf, data, iLBCenc_inst); 47 /* Quantize the LSF's */ 48 WebRtcIlbcfix_SimpleLsfQ(lsfdeq, lsf_index, lsf, iLBCenc_inst->lpc_n); 50 /* Stableize the LSF's if needed */ 54 the optimal LSF and the dequantized LSF */ 56 lsf, lsfdeq, iLBCenc_inst->lsfold [all...] |
simple_lsf_quant.h | 25 * lsf quantizer (subrutine to LPCencode) 29 int16_t *lsfdeq, /* (o) dequantized lsf coefficients 32 int16_t *lsf, /* (i) the lsf coefficient vector to be 34 int16_t lpc_n /* (i) number of lsf sets to quantize */
|
simple_interpolate_lsf.h | 25 * lsf interpolator (subrutine to LPCencode) 31 interpolated lsf Q12 */ 34 interpolated lsf Q12 */ 35 int16_t *lsf, /* (i) the unquantized lsf coefficients Q13 */ 36 int16_t *lsfdeq, /* (i) the dequantized lsf coefficients Q13 */ 37 int16_t *lsfold, /* (i) the unquantized lsf coefficients of 39 int16_t *lsfdeqold, /* (i) the dequantized lsf coefficients of the
|
lsf_to_lsp.c | 23 * conversion from lsf to lsp coefficients 27 int16_t *lsf, /* (i) lsf in Q13 values between 0 and pi */ 39 freq = (int16_t)((lsf[i] * 20861) >> 15);
|
simple_interpolate_lsf.c | 25 * lsf interpolator (subrutine to LPCencode) 31 interpolated lsf Q12 */ 34 interpolated lsf Q12 */ 35 int16_t *lsf, /* (i) the unquantized lsf coefficients Q13 */ 36 int16_t *lsfdeq, /* (i) the dequantized lsf coefficients Q13 */ 37 int16_t *lsfold, /* (i) the unquantized lsf coefficients of 39 int16_t *lsfdeqold, /* (i) the dequantized lsf coefficients of the 52 lsf2 = lsf + length; 58 lsf coefficients * [all...] |
lsp_to_lsf.c | 23 * conversion from LSP coefficients to LSF coefficients 28 int16_t *lsf, /* (o) Lsf vector 0...Pi in Q13 29 (ordered, so that lsf[i]<lsf[i+1]) */ 35 int16_t freq; /* lsf/(2*pi) (Q16) */ 44 For each LSP the lsf is calculated by first order approximation 48 lsfPtr = &lsf[9]; 76 /* lsf = freq*2*pi */
|
lsf_to_poly.c | 26 int16_t *lsf /* (i) line spectral frequencies in Q13 */ 36 /* Convert lsf to lsp */ 37 WebRtcIlbcfix_Lsf2Lsp(lsf, lsp, LPC_FILTERORDER);
|
simple_lpc_analysis.c | 30 int16_t *lsf, /* (o) lsf coefficients */ 85 /* Convert from A to LSF representation */ 86 WebRtcIlbcfix_Poly2Lsf(lsf + k*LPC_FILTERORDER, A);
|
pack_bits.c | 38 (*bitstreamPtr) = ((uint16_t)enc_bits->lsf[0])<<10; /* Bit 0..5 */ 39 (*bitstreamPtr) |= (enc_bits->lsf[1])<<3; /* Bit 6..12 */ 40 (*bitstreamPtr) |= (enc_bits->lsf[2]&0x70)>>4; /* Bit 13..15 */ 43 (*bitstreamPtr) = ((uint16_t)enc_bits->lsf[2]&0xF)<<12; /* Bit 0..3 */ 60 (*bitstreamPtr) |= (enc_bits->lsf[3])<<6; /* Bit 4..9 */ 61 (*bitstreamPtr) |= (enc_bits->lsf[4]&0x7E)>>1; /* Bit 10..15 */ 64 (*bitstreamPtr) = ((uint16_t)enc_bits->lsf[4]&0x1)<<15; /* Bit 0 */ 65 (*bitstreamPtr) |= (enc_bits->lsf[5])<<8; /* Bit 1..7 */
|
unpack_bits.c | 37 enc_bits->lsf[0] = (*bitstreamPtr)>>10; /* Bit 0..5 */ 38 enc_bits->lsf[1] = ((*bitstreamPtr)>>3)&0x7F; /* Bit 6..12 */ 39 enc_bits->lsf[2] = ((*bitstreamPtr)&0x7)<<4; /* Bit 13..15 */ 42 enc_bits->lsf[2] |= ((*bitstreamPtr)>>12)&0xF; /* Bit 0..3 */ 59 enc_bits->lsf[3] = ((*bitstreamPtr)>>6)&0x3F; /* Bit 4..9 */ 60 enc_bits->lsf[4] = ((*bitstreamPtr)<<1)&0x7E; /* Bit 10..15 */ 63 enc_bits->lsf[4] |= ((*bitstreamPtr)>>15)&0x1; /* Bit 0 */ 64 enc_bits->lsf[5] = ((*bitstreamPtr)>>8)&0x7F; /* Bit 1..7 */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
lsfwt.h | 103 Word16 *lsf, /* input : LSF vector */
|
reorder.h | 95 Word16 *lsf, /* (i/o) : vector of LSFs (range: 0<=val<=0.5) */
|
lsp_lsf.h | 101 Word16 lsf[], /* (i) : lsf[m] normalized (range: 0.0<=val<=0.5) */ 108 Word16 lsf[], /* (o) : lsf[m] normalized (range: 0.0<=val<=0.5) */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
reorder.cpp | 85 lsf = vector of LSFs (range: 0<=val<=0.5)(Word16) 93 lsf -> reordered vector of LSFs (Word16) 124 Word16 *lsf, // (i/o) : vector of LSFs (range: 0<=val<=0.5) 139 if (sub (lsf[i], lsf_min) < 0) 141 lsf[i] = lsf_min; 143 lsf_min = add (lsf[i], min_dist); 174 Word16 *lsf, /* (i/o) : vector of LSFs (range: 0<=val<=0.5) */ 182 Word16 *p_lsf = &lsf[0];
|
lsp_lsf.cpp | 72 line spectral frequencies (LSF) and vice-versa. 127 lsf = buffer containing normalized line spectral frequencies; valid 148 This function performs the LSF to LSP transformation using the equation: 150 lsf[i] = arccos(lsp[i])/(2*pi) 152 The transformation from lsp[i] to lsf[i] is approximated by a look-up table 169 Word16 lsf[], // (i) : lsf[m] normalized (range: 0.0<=val<=0.5) 179 ind = shr (lsf[i], 8); // ind = b8-b15 of lsf[i] 180 offset = lsf[i] & 0x00ff; // offset = b0-b7 of lsf[i [all...] |
lsfwt.cpp | 55 lsf -- Pointer to Word16 -- LSF vector 73 Compute LSF weighting factors 75 d[i] = lsf[i+1] - lsf[i-1] 187 Word16 *lsf, /* input : LSF vector */ 196 Word16 *p_lsf = &lsf[0]; 197 Word16 *p_lsf_2 = &lsf[1]; 201 /* wf[0] = lsf[1] - 0 * [all...] |