Searched refs:gain_index (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | pack_bits.c | 53 (*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 …]
|
D | unpack_bits.c | 52 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 …]
|
D | cb_construct.c | 30 int16_t *gain_index, /* (i) Gain quantization indices */ in WebRtcIlbcfix_CbConstruct() argument 46 gain[0] = WebRtcIlbcfix_GainDequant(gain_index[0], 16384, 0); in WebRtcIlbcfix_CbConstruct() 47 gain[1] = WebRtcIlbcfix_GainDequant(gain_index[1], gain[0], 1); in WebRtcIlbcfix_CbConstruct() 48 gain[2] = WebRtcIlbcfix_GainDequant(gain_index[2], gain[1], 2); in WebRtcIlbcfix_CbConstruct()
|
D | encode.c | 202 WebRtcIlbcfix_CbSearch(iLBCenc_inst, iLBCbits_inst->cb_index, iLBCbits_inst->gain_index, in WebRtcIlbcfix_EncodeImpl() 210 iLBCbits_inst->cb_index, iLBCbits_inst->gain_index, in WebRtcIlbcfix_EncodeImpl() 230 WebRtcIlbcfix_CbSearch(iLBCenc_inst, iLBCbits_inst->cb_index, iLBCbits_inst->gain_index, in WebRtcIlbcfix_EncodeImpl() 238 iLBCbits_inst->cb_index, iLBCbits_inst->gain_index, in WebRtcIlbcfix_EncodeImpl() 340 iLBCbits_inst->gain_index+subcount*CB_NSTAGES, in WebRtcIlbcfix_EncodeImpl() 350 iLBCbits_inst->gain_index+subcount*CB_NSTAGES, in WebRtcIlbcfix_EncodeImpl() 447 … iLBCbits_inst->gain_index+subcount*CB_NSTAGES, &reverseResidual[subframe*SUBL], in WebRtcIlbcfix_EncodeImpl() 456 iLBCbits_inst->gain_index+subcount*CB_NSTAGES, in WebRtcIlbcfix_EncodeImpl()
|
D | decode_residual.c | 77 iLBC_encbits->cb_index, iLBC_encbits->gain_index, in WebRtcIlbcfix_DecodeResidual() 95 iLBC_encbits->cb_index, iLBC_encbits->gain_index, in WebRtcIlbcfix_DecodeResidual() 128 iLBC_encbits->gain_index+subcount*CB_NSTAGES, in WebRtcIlbcfix_DecodeResidual() 166 iLBC_encbits->gain_index+subcount*CB_NSTAGES, in WebRtcIlbcfix_DecodeResidual()
|
D | cb_search.c | 40 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()
|
D | cb_construct.h | 31 int16_t *gain_index, /* (i) Gain quantization indices */
|
D | cb_search.h | 26 int16_t *gain_index, /* (o) Gain quantization indices */
|
D | defines.h | 123 int16_t gain_index[CB_NSTAGES*(NASUB_MAX+1)]; /* First CB_NSTAGES values contains extra CB gain */ member
|