Home
last modified time | relevance | path

Searched refs:bitstreamPtr (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dpack_bits.c30 uint16_t *bitstreamPtr; in WebRtcIlbcfix_PackBits() local
34 bitstreamPtr=bitstream; in WebRtcIlbcfix_PackBits()
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()
41 bitstreamPtr++; 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()
[all …]
Dunpack_bits.c30 const uint16_t *bitstreamPtr; in WebRtcIlbcfix_UnpackBits() local
34 bitstreamPtr=bitstream; in WebRtcIlbcfix_UnpackBits()
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()
40 bitstreamPtr++; 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()
[all …]