Home
last modified time | relevance | path

Searched refs:gain_index (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/audio_coding/codecs/ilbc/
Dpack_bits.c53 (*bitstreamPtr) |= ((enc_bits->gain_index[0])&0x18)<<8; /* Bit 3..4 */ in WebRtcIlbcfix_PackBits()
54 (*bitstreamPtr) |= ((enc_bits->gain_index[1])&0x8)<<7; /* Bit 5 */ in WebRtcIlbcfix_PackBits()
56 (*bitstreamPtr) |= ((enc_bits->gain_index[3])&0x10)>>2; /* Bit 13 */ in WebRtcIlbcfix_PackBits()
57 (*bitstreamPtr) |= ((enc_bits->gain_index[4])&0x8)>>2; /* Bit 14 */ in WebRtcIlbcfix_PackBits()
58 (*bitstreamPtr) |= ((enc_bits->gain_index[6])&0x10)>>4; /* Bit 15 */ in WebRtcIlbcfix_PackBits()
73 (*bitstreamPtr) |= (enc_bits->gain_index[0]&0x10)<<5; /* Bit 6 */ in WebRtcIlbcfix_PackBits()
74 (*bitstreamPtr) |= (enc_bits->gain_index[1]&0x8)<<5; /* Bit 7 */ in WebRtcIlbcfix_PackBits()
76 (*bitstreamPtr) |= (enc_bits->gain_index[3]&0x10)>>3; /* Bit 14 */ in WebRtcIlbcfix_PackBits()
77 (*bitstreamPtr) |= (enc_bits->gain_index[4]&0x8)>>3; /* Bit 15 */ in WebRtcIlbcfix_PackBits()
102 (*bitstreamPtr) |= (enc_bits->gain_index[1]&0x4)<<4; /* Bit 9 */ in WebRtcIlbcfix_PackBits()
[all …]
Dunpack_bits.c52 enc_bits->gain_index[0] = ((*bitstreamPtr)>>8)&0x18; /* Bit 3..4 */ in WebRtcIlbcfix_UnpackBits()
53 enc_bits->gain_index[1] = ((*bitstreamPtr)>>7)&0x8; /* Bit 5 */ in WebRtcIlbcfix_UnpackBits()
55 enc_bits->gain_index[3] = ((*bitstreamPtr)<<2)&0x10; /* Bit 13 */ in WebRtcIlbcfix_UnpackBits()
56 enc_bits->gain_index[4] = ((*bitstreamPtr)<<2)&0x8; /* Bit 14 */ in WebRtcIlbcfix_UnpackBits()
57 enc_bits->gain_index[6] = ((*bitstreamPtr)<<4)&0x10; /* Bit 15 */ in WebRtcIlbcfix_UnpackBits()
72 enc_bits->gain_index[0] = ((*bitstreamPtr)>>5)&0x10; /* Bit 6 */ in WebRtcIlbcfix_UnpackBits()
73 enc_bits->gain_index[1] = ((*bitstreamPtr)>>5)&0x8; /* Bit 7 */ in WebRtcIlbcfix_UnpackBits()
75 enc_bits->gain_index[3] = ((*bitstreamPtr)<<3)&0x10; /* Bit 14 */ in WebRtcIlbcfix_UnpackBits()
76 enc_bits->gain_index[4] = ((*bitstreamPtr)<<3)&0x8; /* Bit 15 */ in WebRtcIlbcfix_UnpackBits()
99 enc_bits->gain_index[1] |= ((*bitstreamPtr)>>4)&0x4; /* Bit 9 */ in WebRtcIlbcfix_UnpackBits()
[all …]
Dcb_construct.c41 const int16_t* gain_index, /* (i) Gain quantization indices */ in WebRtcIlbcfix_CbConstruct() argument
56 gain[0] = WebRtcIlbcfix_GainDequant(gain_index[0], 16384, 0); in WebRtcIlbcfix_CbConstruct()
57 gain[1] = WebRtcIlbcfix_GainDequant(gain_index[1], gain[0], 1); in WebRtcIlbcfix_CbConstruct()
58 gain[2] = WebRtcIlbcfix_GainDequant(gain_index[2], gain[1], 2); in WebRtcIlbcfix_CbConstruct()
Ddecode_residual.c79 iLBC_encbits->cb_index, iLBC_encbits->gain_index, in WebRtcIlbcfix_DecodeResidual()
96 iLBC_encbits->gain_index, in WebRtcIlbcfix_DecodeResidual()
129 iLBC_encbits->gain_index + subcount * CB_NSTAGES, mem, MEM_LF_TBL, in WebRtcIlbcfix_DecodeResidual()
167 iLBC_encbits->gain_index + subcount * CB_NSTAGES, mem, MEM_LF_TBL, in WebRtcIlbcfix_DecodeResidual()
Dencode.c206 WebRtcIlbcfix_CbSearch(iLBCenc_inst, iLBCbits_inst->cb_index, iLBCbits_inst->gain_index, in WebRtcIlbcfix_EncodeImpl()
215 iLBCbits_inst->cb_index, iLBCbits_inst->gain_index, in WebRtcIlbcfix_EncodeImpl()
233 WebRtcIlbcfix_CbSearch(iLBCenc_inst, iLBCbits_inst->cb_index, iLBCbits_inst->gain_index, in WebRtcIlbcfix_EncodeImpl()
241 iLBCbits_inst->gain_index, mem + CB_MEML - ST_MEM_L_TBL, in WebRtcIlbcfix_EncodeImpl()
341 iLBCbits_inst->gain_index+subcount*CB_NSTAGES, in WebRtcIlbcfix_EncodeImpl()
351 iLBCbits_inst->gain_index + subcount * CB_NSTAGES, mem, MEM_LF_TBL, in WebRtcIlbcfix_EncodeImpl()
446 … iLBCbits_inst->gain_index+subcount*CB_NSTAGES, &reverseResidual[subframe*SUBL], in WebRtcIlbcfix_EncodeImpl()
455 iLBCbits_inst->gain_index + subcount * CB_NSTAGES, mem, MEM_LF_TBL, in WebRtcIlbcfix_EncodeImpl()
Dcb_search.c40 int16_t *gain_index, /* (o) Gain quantization indices */ in WebRtcIlbcfix_CbSearch() argument
290 … (int16_t)WEBRTC_SPL_ABS_W16(gains[stage]), stage, &gain_index[stage]); in WebRtcIlbcfix_CbSearch()
358 j=gain_index[0]; in WebRtcIlbcfix_CbSearch()
377 gainPtr=(int16_t*)WebRtcIlbcfix_kGainSq5Sq+gain_index[0]; in WebRtcIlbcfix_CbSearch()
383 for (ii=gain_index[0];ii<32;ii++) { in WebRtcIlbcfix_CbSearch()
400 gain_index[0]=j; in WebRtcIlbcfix_CbSearch()
Dcb_construct.h36 const int16_t* gain_index, /* (i) Gain quantization indices */
Dcb_search.h26 int16_t* gain_index, /* (o) Gain quantization indices */
Ddefines.h128 int16_t gain_index[CB_NSTAGES * (NASUB_MAX + 1)]; /* First CB_NSTAGES values member