HomeSort by relevance Sort by last modified time
    Searched refs:gain_index (Results 1 - 10 of 10) sorted by null

  /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
pack_bits.c 53 (*bitstreamPtr) |= ((enc_bits->gain_index[0])&0x18)<<8; /* Bit 3..4 */
54 (*bitstreamPtr) |= ((enc_bits->gain_index[1])&0x8)<<7; /* Bit 5 */
56 (*bitstreamPtr) |= ((enc_bits->gain_index[3])&0x10)>>2; /* Bit 13 */
57 (*bitstreamPtr) |= ((enc_bits->gain_index[4])&0x8)>>2; /* Bit 14 */
58 (*bitstreamPtr) |= ((enc_bits->gain_index[6])&0x10)>>4; /* Bit 15 */
73 (*bitstreamPtr) |= (enc_bits->gain_index[0]&0x10)<<5; /* Bit 6 */
74 (*bitstreamPtr) |= (enc_bits->gain_index[1]&0x8)<<5; /* Bit 7 */
76 (*bitstreamPtr) |= (enc_bits->gain_index[3]&0x10)>>3; /* Bit 14 */
77 (*bitstreamPtr) |= (enc_bits->gain_index[4]&0x8)>>3; /* Bit 15 */
102 (*bitstreamPtr) |= (enc_bits->gain_index[1]&0x4)<<4; /* Bit 9 *
    [all...]
unpack_bits.c 52 enc_bits->gain_index[0] = ((*bitstreamPtr)>>8)&0x18; /* Bit 3..4 */
53 enc_bits->gain_index[1] = ((*bitstreamPtr)>>7)&0x8; /* Bit 5 */
55 enc_bits->gain_index[3] = ((*bitstreamPtr)<<2)&0x10; /* Bit 13 */
56 enc_bits->gain_index[4] = ((*bitstreamPtr)<<2)&0x8; /* Bit 14 */
57 enc_bits->gain_index[6] = ((*bitstreamPtr)<<4)&0x10; /* Bit 15 */
72 enc_bits->gain_index[0] = ((*bitstreamPtr)>>5)&0x10; /* Bit 6 */
73 enc_bits->gain_index[1] = ((*bitstreamPtr)>>5)&0x8; /* Bit 7 */
75 enc_bits->gain_index[3] = ((*bitstreamPtr)<<3)&0x10; /* Bit 14 */
76 enc_bits->gain_index[4] = ((*bitstreamPtr)<<3)&0x8; /* Bit 15 */
99 enc_bits->gain_index[1] |= ((*bitstreamPtr)>>4)&0x4; /* Bit 9 *
    [all...]
cb_construct.h 31 int16_t *gain_index, /* (i) Gain quantization indices */
cb_construct.c 30 int16_t *gain_index, /* (i) Gain quantization indices */
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);
cb_search.h 26 int16_t *gain_index, /* (o) Gain quantization indices */
decode_residual.c 77 iLBC_encbits->cb_index, iLBC_encbits->gain_index,
95 iLBC_encbits->cb_index, iLBC_encbits->gain_index,
128 iLBC_encbits->gain_index+subcount*CB_NSTAGES,
166 iLBC_encbits->gain_index+subcount*CB_NSTAGES,
cb_search.c 40 int16_t *gain_index, /* (o) Gain quantization indices */
290 (int16_t)WEBRTC_SPL_ABS_W16(gains[stage]), stage, &gain_index[stage]);
358 j=gain_index[0];
377 gainPtr=(int16_t*)WebRtcIlbcfix_kGainSq5Sq+gain_index[0];
383 for (ii=gain_index[0];ii<32;ii++) {
400 gain_index[0]=j;
encode.c 202 WebRtcIlbcfix_CbSearch(iLBCenc_inst, iLBCbits_inst->cb_index, iLBCbits_inst->gain_index,
210 iLBCbits_inst->cb_index, iLBCbits_inst->gain_index,
230 WebRtcIlbcfix_CbSearch(iLBCenc_inst, iLBCbits_inst->cb_index, iLBCbits_inst->gain_index,
238 iLBCbits_inst->cb_index, iLBCbits_inst->gain_index,
340 iLBCbits_inst->gain_index+subcount*CB_NSTAGES,
350 iLBCbits_inst->gain_index+subcount*CB_NSTAGES,
447 iLBCbits_inst->gain_index+subcount*CB_NSTAGES, &reverseResidual[subframe*SUBL],
456 iLBCbits_inst->gain_index+subcount*CB_NSTAGES,
defines.h 123 int16_t gain_index[CB_NSTAGES*(NASUB_MAX+1)]; /* First CB_NSTAGES values contains extra CB gain */ member in struct:iLBC_bits_t_
  /external/speex/libspeex/
ltp.c 675 int gain_index; local
687 gain_index = speex_bits_unpack_unsigned(bits, params->gain_bits);
688 /*printf ("decode pitch: %d %d\n", pitch, gain_index);*/
690 gain[0] = ADD16(32,(spx_word16_t)gain_cdbk[gain_index*4]);
691 gain[1] = ADD16(32,(spx_word16_t)gain_cdbk[gain_index*4+1]);
692 gain[2] = ADD16(32,(spx_word16_t)gain_cdbk[gain_index*4+2]);
694 gain[0] = 0.015625*gain_cdbk[gain_index*4]+.5;
695 gain[1] = 0.015625*gain_cdbk[gain_index*4+1]+.5;
696 gain[2] = 0.015625*gain_cdbk[gain_index*4+2]+.5;

Completed in 118 milliseconds