/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | simple_interpolate_lsf.c | 29 int16_t *syntdenum, /* (o) the synthesis filter denominator 32 int16_t *weightdenum, /* (o) the weighting filter denominator 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 41 int16_t length, /* (i) should equate FILTERORDER */ 47 int16_t *lsf2, *lsfdeq2; 49 int16_t lp[LPC_FILTERORDER + 1]; 70 (int16_t*)WebRtcIlbcfix_kLpcChirpWeightDenu [all...] |
H A D | cb_search.c | 39 int16_t *index, /* (o) Codebook indices */ 40 int16_t *gain_index, /* (o) Gain quantization indices */ 41 int16_t *intarget, /* (i) Target vector for encoding */ 42 int16_t *decResidual,/* (i) Decoded residual for codebook construction */ 43 int16_t lMem, /* (i) Length of buffer */ 44 int16_t lTarget, /* (i) Length of vector */ 45 int16_t *weightDenum,/* (i) weighting filter coefficients in Q12 */ 46 int16_t block /* (i) the subblock number */ 48 int16_t i, j, stage, range; 49 int16_t *p [all...] |
H A D | ilbc.c | 28 int16_t WebRtcIlbcfix_EncoderAssign(iLBC_encinst_t **iLBC_encinst, int16_t *ILBCENC_inst_Addr, int16_t *size) { 30 *size=sizeof(iLBC_Enc_Inst_t)/sizeof(int16_t); 38 int16_t WebRtcIlbcfix_DecoderAssign(iLBC_decinst_t **iLBC_decinst, int16_t *ILBCDEC_inst_Addr, int16_t *size) { 40 *size=sizeof(iLBC_Dec_Inst_t)/sizeof(int16_t); 48 int16_t WebRtcIlbcfix_EncoderCreate(iLBC_encinst_t **iLBC_encinst) { 58 int16_t WebRtcIlbcfix_DecoderCreat [all...] |
H A D | decoder_interpolate_lsf.c | 29 int16_t *syntdenum, /* (o) synthesis filter coefficients */ 30 int16_t *weightdenum, /* (o) weighting denumerator 32 int16_t *lsfdeq, /* (i) dequantized lsf coefficients */ 33 int16_t length, /* (i) length of lsf coefficient vector */ 38 int16_t lp[LPC_FILTERORDER + 1], *lsfdeq2; 49 WebRtcIlbcfix_BwExpand(weightdenum, lp, (int16_t*)WebRtcIlbcfix_kLpcChirpSyntDenum, (int16_t)lp_length); 59 (int16_t*)WebRtcIlbcfix_kLpcChirpSyntDenum, (int16_t)lp_length); 70 (int16_t*)WebRtcIlbcfix_kLpcChirpSyntDenu [all...] |
H A D | abs_quant.c | 35 int16_t *in, /* (i) vector to encode */ 36 int16_t *weightDenum /* (i) denominator of synthesis filter */ 38 int16_t *syntOut; 39 int16_t quantLen[2]; 42 int16_t syntOutBuf[LPC_FILTERORDER+STATE_SHORT_LEN_30MS]; 43 int16_t in_weightedVec[STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; 44 int16_t *in_weighted = &in_weightedVec[LPC_FILTERORDER];
|
H A D | frame_classify.c | 26 int16_t WebRtcIlbcfix_FrameClassify( 30 int16_t *residualFIX /* (i) lpc residual signal */ 32 int16_t max, scale; 34 int16_t *ssqPtr; 37 int16_t scale1; 38 int16_t pos; 65 maxW32 = WebRtcSpl_MaxValueW32(ssqEn, (int16_t)(iLBCenc_inst->nsub-1)); 74 ssqPtr=(int16_t*)WebRtcIlbcfix_kStartSequenceEnrgWin+1; 76 ssqPtr=(int16_t*)WebRtcIlbcfix_kStartSequenceEnrgWin; 85 pos = WebRtcSpl_MaxIndexW32(ssqEn, (int16_t)(iLBCenc_ins [all...] |
H A D | window32_w32.c | 29 int16_t N /* length to process */ 31 int16_t i; 32 int16_t x_low, x_hi, y_low, y_hi; 33 int16_t left_shifts; 36 left_shifts = (int16_t)WebRtcSpl_NormW32(x[0]); 37 WebRtcSpl_VectorBitShiftW32(x, N, x, (int16_t)(-left_shifts)); 45 x_hi = (int16_t) WEBRTC_SPL_RSHIFT_W32(x[i], 16); 46 y_hi = (int16_t) WEBRTC_SPL_RSHIFT_W32(y[i], 16); 50 x_low = (int16_t) WEBRTC_SPL_RSHIFT_W32((x[i] - temp), 1); 53 y_low = (int16_t) WEBRTC_SPL_RSHIFT_W3 [all...] |
H A D | enhancer_interface.c | 34 int16_t *out, /* (o) enhanced signal */ 35 int16_t *in, /* (i) unenhanced signal */ 41 int16_t scale, scale1, plc_blockl; 42 int16_t *enh_buf, *enh_period; 44 int16_t *enh_bufPtr1; 46 int16_t EnChange; 47 int16_t SqrtEnChange; 48 int16_t inc; 49 int16_t win; 50 int16_t *tmpW16pt [all...] |
H A D | do_plc.c | 30 int16_t *PLCresidual, /* (o) concealed residual */ 31 int16_t *PLClpc, /* (o) concealed LP parameters */ 32 int16_t PLI, /* (i) packet loss indicator 34 int16_t *decresidual, /* (i) decoded residual */ 35 int16_t *lpc, /* (i) decoded LPC (only used for no PL) */ 36 int16_t inlag, /* (i) pitch lag */ 40 int16_t i, pick; 43 int16_t max, crossSquareMax, crossSquare; 44 int16_t j, lag, tmp1, tmp2, randlag; 45 int16_t shift [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
H A D | acm_gsmfr.cc | 28 ACMGSMFR::ACMGSMFR(int16_t /* codec_id */) : encoder_inst_ptr_(NULL) {} 32 int16_t ACMGSMFR::InternalEncode(uint8_t* /* bitstream */, 33 int16_t* /* bitstream_len_byte */) { 37 int16_t ACMGSMFR::EnableDTX() { return -1; } 39 int16_t ACMGSMFR::DisableDTX() { return -1; } 41 int16_t ACMGSMFR::InternalInitEncoder( 48 int16_t ACMGSMFR::InternalCreateEncoder() { return -1; } 54 ACMGSMFR::ACMGSMFR(int16_t codec_id) 67 int16_t ACMGSMFR::InternalEncode(uint8_t* bitstream, 68 int16_t* bitstream_len_byt [all...] |
H A D | acm_cng.cc | 22 ACMCNG::ACMCNG(int16_t codec_id) { 41 int16_t ACMCNG::InternalEncode(uint8_t* /* bitstream */, 42 int16_t* /* bitstream_len_byte */) { 50 int16_t ACMCNG::InternalInitEncoder(WebRtcACMCodecParams* /* codec_params */) { 56 int16_t ACMCNG::InternalCreateEncoder() {
|
H A D | acm_celt.cc | 27 ACMCELT::ACMCELT(int16_t /* codec_id */) 39 int16_t ACMCELT::InternalEncode(uint8_t* /* bitstream */, 40 int16_t* /* bitstream_len_byte */) { 44 int16_t ACMCELT::InternalInitEncoder(WebRtcACMCodecParams* /* codec_params */) { 52 int16_t ACMCELT::InternalCreateEncoder() { 60 int16_t ACMCELT::SetBitRateSafe(const int32_t /*rate*/) { 66 ACMCELT::ACMCELT(int16_t codec_id) 85 int16_t ACMCELT::InternalEncode(uint8_t* bitstream, 86 int16_t* bitstream_len_byte) { 109 int16_t ACMCEL [all...] |
H A D | acm_ilbc.cc | 24 ACMILBC::ACMILBC(int16_t /* codec_id */) : encoder_inst_ptr_(NULL) {} 28 int16_t ACMILBC::InternalEncode(uint8_t* /* bitstream */, 29 int16_t* /* bitstream_len_byte */) { 33 int16_t ACMILBC::InternalInitEncoder(WebRtcACMCodecParams* /* codec_params */) { 39 int16_t ACMILBC::InternalCreateEncoder() { return -1; } 43 int16_t ACMILBC::SetBitRateSafe(const int32_t /* rate */) { return -1; } 47 ACMILBC::ACMILBC(int16_t codec_id) : encoder_inst_ptr_(NULL) { 60 int16_t ACMILBC::InternalEncode(uint8_t* bitstream, 61 int16_t* bitstream_len_byte) { 64 reinterpret_cast<int16_t*>(bitstrea [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | background_noise.h | 48 void SetMuteFactor(size_t channel, int16_t value); 51 int16_t MuteFactor(size_t channel) const; 54 const int16_t* Filter(size_t channel) const; 57 const int16_t* FilterState(size_t channel) const; 61 void SetFilterState(size_t channel, const int16_t* input, size_t length); 64 int16_t Scale(size_t channel) const; 67 int16_t ScaleShift(size_t channel) const; 107 int16_t filter_state[kMaxLpcOrder]; 108 int16_t filter[kMaxLpcOrder + 1]; 109 int16_t mute_facto [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
H A D | opus_interface.c | 34 int16_t WebRtcOpus_EncoderCreate(OpusEncInst** inst, int32_t channels) { 56 int16_t WebRtcOpus_EncoderFree(OpusEncInst* inst) { 66 int16_t WebRtcOpus_Encode(OpusEncInst* inst, int16_t* audio_in, int16_t samples, 67 int16_t length_encoded_buffer, uint8_t* encoded) { 85 int16_t WebRtcOpus_SetBitRate(OpusEncInst* inst, int32_t rate) { 93 int16_t WebRtcOpus_SetPacketLossRate(OpusEncInst* inst, int32_t loss_rate) { 102 int16_t WebRtcOpus_SetMaxPlaybackRate(OpusEncInst* inst, int32_t frequency_hz) { 123 int16_t WebRtcOpus_EnableFe [all...] |
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/include/ |
H A D | spl_inl.h | 27 static __inline int16_t WebRtcSpl_SatW32ToW16(int32_t value32) { 28 int16_t out16 = (int16_t) value32; 76 static __inline int16_t WebRtcSpl_AddSatW16(int16_t a, int16_t b) { 80 static __inline int16_t WebRtcSpl_SubSatW16(int16_t var1, int16_t var2) { 86 static __inline int16_t WebRtcSpl_GetSizeInBit [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
H A D | arith_routines.h | 26 int16_t *dataQ7, /* input: data vector */ 29 const int16_t isSWB12kHz); /* if the codec is working in 12kHz bandwidth */ 36 int16_t *data, /* output: data vector */ 39 const int16_t *dither, /* input: dither vector */ 41 const int16_t isSWB12kHz); /* if the codec is working in 12kHz bandwidth */
|
H A D | encode_lpc_swb.c | 47 int16_t 50 int16_t bandwidth) 52 int16_t coeffCntr; 53 int16_t vecCntr; 54 int16_t numVec; 101 int16_t 105 int16_t bandwidth) 109 int16_t rowCntr; 110 int16_t colCntr; 111 int16_t larVecCnt [all...] |
/external/chromium_org/third_party/skia/include/gpu/ |
H A D | GrRect.h | 15 int16_t fLeft, fTop, fRight, fBottom; 23 static GrIRect16 SK_WARN_UNUSED_RESULT MakeWH(int16_t w, int16_t h) { 29 static GrIRect16 SK_WARN_UNUSED_RESULT MakeXYWH(int16_t x, int16_t y, int16_t w, int16_t h) { 42 void set(int16_t left, int16_t top, int16_t righ [all...] |
/external/webrtc/src/common_audio/vad/ |
H A D | vad_filterbank.c | 23 static const int16_t kLogConst = 24660; 26 static const int16_t kHpZeroCoefs[3] = { 6631, -13262, 6631 }; 27 static const int16_t kHpPoleCoefs[3] = { 16384, -7756, 5620 }; 31 static const int16_t kAllPassCoefsQ15[2] = { 20972, 5571 }; 34 static const int16_t kOffsetVector[6] = { 368, 368, 272, 176, 176, 176 }; 36 void WebRtcVad_HpOutput(int16_t* in_vector, 38 int16_t* filter_state, 39 int16_t* out_vector) { 41 int16_t* in_ptr = in_vector; 42 int16_t* out_pt [all...] |
/external/chromium_org/third_party/webrtc/common_audio/vad/ |
H A D | vad_filterbank.c | 19 static const int16_t kLogConst = 24660; // 160*log10(2) in Q9. 20 static const int16_t kLogEnergyIntPart = 14336; // 14 in Q10 23 static const int16_t kHpZeroCoefs[3] = { 6631, -13262, 6631 }; 24 static const int16_t kHpPoleCoefs[3] = { 16384, -7756, 5620 }; 28 static const int16_t kAllPassCoefsQ15[2] = { 20972, 5571 }; 31 static const int16_t kOffsetVector[6] = { 368, 368, 272, 176, 176, 176 }; 41 static void HighPassFilter(const int16_t* data_in, int data_length, 42 int16_t* filter_state, int16_t* data_out) { 44 const int16_t* in_pt [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/cng/ |
H A D | webrtc_cng.c | 23 int16_t dec_target_reflCoefs[WEBRTC_CNG_MAX_LPC_ORDER + 1]; 24 int16_t dec_used_reflCoefs[WEBRTC_CNG_MAX_LPC_ORDER + 1]; 25 int16_t dec_filtstate[WEBRTC_CNG_MAX_LPC_ORDER + 1]; 26 int16_t dec_filtstateLow[WEBRTC_CNG_MAX_LPC_ORDER + 1]; 27 int16_t dec_Efiltstate[WEBRTC_CNG_MAX_LPC_ORDER + 1]; 28 int16_t dec_EfiltstateLow[WEBRTC_CNG_MAX_LPC_ORDER + 1]; 29 int16_t dec_order; 30 int16_t dec_target_scale_factor; /* Q29 */ 31 int16_t dec_used_scale_factor; /* Q29 */ 32 int16_t target_scale_facto [all...] |
/external/chromium_org/third_party/webrtc/common_audio/ |
H A D | audio_util_unittest.cc | 17 void ExpectArraysEq(const int16_t* ref, const int16_t* test, int length) { 33 const int16_t kReference[kSize] = {0, 0, 1, 0, -1, 32767, -32768}; 34 int16_t output[kSize]; 44 const int16_t kReference[kSize] = { 46 int16_t output[kSize]; 53 const int16_t kInput[kSize] = {0, 1, -1, 16384, -16384, 32767, -32768}; 62 const int16_t kInterleaved[] = {2, 3, 4, 9, 8, 27, 16, 81}; 66 int16_t left[kSamplesPerChannel], right[kSamplesPerChannel]; 67 int16_t* deinterleave [all...] |
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
H A D | complex_bit_reverse_mips.c | 14 static int16_t coefTable_7[] = { 31 static int16_t coefTable_8[] = { 64 void WebRtcSpl_ComplexBitReverse(int16_t frfi[], int stages) { 66 int16_t tr, ti; 72 int16_t* pcoeftable_8 = coefTable_8; 124 int16_t* pcoeftable_7 = coefTable_7;
|
H A D | lpc_to_refl_coef.c | 22 void WebRtcSpl_LpcToReflCoef(int16_t* a16, int use_order, int16_t* k16) 27 int16_t tmp_inv_denom16; 35 tmp_inv_denom16 = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp_inv_denom32, 15); 50 a16[k] = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp32[k], 1); //Q13>>1 => Q12 54 k16[m - 1] = (int16_t)WEBRTC_SPL_LSHIFT_W32(tmp32[m], 2); //Q13<<2 => Q15
|