OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bitstreamPtr
(Results
1 - 2
of
2
) sorted by null
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
pack_bits.c
30
uint16_t *
bitstreamPtr
;
34
bitstreamPtr
=bitstream;
38
(*
bitstreamPtr
) = ((uint16_t)enc_bits->lsf[0])<<10; /* Bit 0..5 */
39
(*
bitstreamPtr
) |= (enc_bits->lsf[1])<<3; /* Bit 6..12 */
40
(*
bitstreamPtr
) |= (enc_bits->lsf[2]&0x70)>>4; /* Bit 13..15 */
41
bitstreamPtr
++;
43
(*
bitstreamPtr
) = ((uint16_t)enc_bits->lsf[2]&0xF)<<12; /* Bit 0..3 */
46
(*
bitstreamPtr
) |= (enc_bits->startIdx)<<10; /* Bit 4..5 */
47
(*
bitstreamPtr
) |= (enc_bits->state_first)<<9; /* Bit 6 */
48
(*
bitstreamPtr
) |= (enc_bits->idxForMax)<<3; /* Bit 7..12 *
[
all
...]
unpack_bits.c
30
const uint16_t *
bitstreamPtr
;
34
bitstreamPtr
=bitstream;
37
enc_bits->lsf[0] = (*
bitstreamPtr
)>>10; /* Bit 0..5 */
38
enc_bits->lsf[1] = ((*
bitstreamPtr
)>>3)&0x7F; /* Bit 6..12 */
39
enc_bits->lsf[2] = ((*
bitstreamPtr
)&0x7)<<4; /* Bit 13..15 */
40
bitstreamPtr
++;
42
enc_bits->lsf[2] |= ((*
bitstreamPtr
)>>12)&0xF; /* Bit 0..3 */
45
enc_bits->startIdx = ((*
bitstreamPtr
)>>10)&0x3; /* Bit 4..5 */
46
enc_bits->state_first = ((*
bitstreamPtr
)>>9)&0x1; /* Bit 6 */
47
enc_bits->idxForMax = ((*
bitstreamPtr
)>>3)&0x3F; /* Bit 7..12 *
[
all
...]
Completed in 727 milliseconds