Home
last modified time | relevance | path

Searched refs:enc_bits (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dunpack_bits.c27 iLBC_bits *enc_bits, /* (o) Paramerers from bitstream */ in WebRtcIlbcfix_UnpackBits() argument
37 enc_bits->lsf[0] = (*bitstreamPtr)>>10; /* Bit 0..5 */ in WebRtcIlbcfix_UnpackBits()
38 enc_bits->lsf[1] = ((*bitstreamPtr)>>3)&0x7F; /* Bit 6..12 */ in WebRtcIlbcfix_UnpackBits()
39 enc_bits->lsf[2] = ((*bitstreamPtr)&0x7)<<4; /* Bit 13..15 */ in WebRtcIlbcfix_UnpackBits()
42 enc_bits->lsf[2] |= ((*bitstreamPtr)>>12)&0xF; /* Bit 0..3 */ in WebRtcIlbcfix_UnpackBits()
45 enc_bits->startIdx = ((*bitstreamPtr)>>10)&0x3; /* Bit 4..5 */ in WebRtcIlbcfix_UnpackBits()
46 enc_bits->state_first = ((*bitstreamPtr)>>9)&0x1; /* Bit 6 */ in WebRtcIlbcfix_UnpackBits()
47 enc_bits->idxForMax = ((*bitstreamPtr)>>3)&0x3F; /* Bit 7..12 */ in WebRtcIlbcfix_UnpackBits()
48 enc_bits->cb_index[0] = ((*bitstreamPtr)&0x7)<<4; /* Bit 13..15 */ in WebRtcIlbcfix_UnpackBits()
51 enc_bits->cb_index[0] |= ((*bitstreamPtr)>>12)&0xE; /* Bit 0..2 */ in WebRtcIlbcfix_UnpackBits()
[all …]
Dpack_bits.c27 iLBC_bits *enc_bits, /* (i) Encoded bits */ in WebRtcIlbcfix_PackBits() argument
38 (*bitstreamPtr) = ((uint16_t)enc_bits->lsf[0])<<10; /* Bit 0..5 */ in WebRtcIlbcfix_PackBits()
39 (*bitstreamPtr) |= (enc_bits->lsf[1])<<3; /* Bit 6..12 */ in WebRtcIlbcfix_PackBits()
40 (*bitstreamPtr) |= (enc_bits->lsf[2]&0x70)>>4; /* Bit 13..15 */ in WebRtcIlbcfix_PackBits()
43 (*bitstreamPtr) = ((uint16_t)enc_bits->lsf[2]&0xF)<<12; /* Bit 0..3 */ in WebRtcIlbcfix_PackBits()
46 (*bitstreamPtr) |= (enc_bits->startIdx)<<10; /* Bit 4..5 */ in WebRtcIlbcfix_PackBits()
47 (*bitstreamPtr) |= (enc_bits->state_first)<<9; /* Bit 6 */ in WebRtcIlbcfix_PackBits()
48 (*bitstreamPtr) |= (enc_bits->idxForMax)<<3; /* Bit 7..12 */ in WebRtcIlbcfix_PackBits()
49 (*bitstreamPtr) |= ((enc_bits->cb_index[0])&0x70)>>4; /* Bit 13..15 */ in WebRtcIlbcfix_PackBits()
52 (*bitstreamPtr) = ((enc_bits->cb_index[0])&0xE)<<12; /* Bit 0..2 */ in WebRtcIlbcfix_PackBits()
[all …]
Dpack_bits.h30 iLBC_bits *enc_bits, /* (i) Encoded bits */
Dunpack_bits.h30 iLBC_bits *enc_bits, /* (o) Paramerers from bitstream */