Home
last modified time | relevance | path

Searched refs:bitIndex (Results 1 – 9 of 9) sorted by relevance

/external/opencore/codecs_v2/audio/mp3/dec/src/
Dpvmp3_getbits.cpp115 uint32 bitIndex; in getNbits() local
141 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getNbits()
144 returnValue <<= bitIndex; in getNbits()
163 uint32 bitIndex; in getUpTo9bits() local
178 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo9bits()
182 returnValue = (returnValue << (bitIndex)); in getUpTo9bits()
199 uint32 bitIndex; in getUpTo17bits() local
217 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo17bits()
221 returnValue = 0xFFFFFF & (returnValue << (bitIndex)); in getUpTo17bits()
237 uint32 bitIndex; in get1bit() local
[all …]
/external/opencore/codecs_v2/audio/aac/dec/src/
Dgetbits.h104 UInt bitIndex; in getbits() local
155 bitIndex = (UInt)((pInputStream->usedBits) & INBUF_BIT_MODULO_MASK); in getbits()
158 returnValue = returnValue << (bitIndex); in getbits()
176 UInt bitIndex; in get1bits() local
191 bitIndex = (UInt)((pInputStream->usedBits++) & INBUF_BIT_MODULO_MASK); in get1bits()
194 returnValue = 0xFF & (returnValue << (bitIndex)); in get1bits()
211 UInt bitIndex; in get9_n_lessbits() local
256 bitIndex = (UInt)((pInputStream->usedBits) & INBUF_BIT_MODULO_MASK); in get9_n_lessbits()
261 returnValue = 0xFFFF & (returnValue << (bitIndex)); in get9_n_lessbits()
275 UInt bitIndex; in get17_n_lessbits() local
[all …]
/external/icu4c/test/perf/usetperf/
Dbitset.cpp30 UBool BitSet::get(int32_t bitIndex) const { in get()
31 uint32_t longIndex = bitIndex >> 5; in get()
32 int32_t bitInLong = bitIndex & 0x1F; in get()
37 void BitSet::set(int32_t bitIndex) { in set() argument
38 uint32_t longIndex = bitIndex >> 5; in set()
39 int32_t bitInLong = bitIndex & 0x1F; in set()
Dbitset.h28 UBool get(int32_t bitIndex) const;
30 void set(int32_t bitIndex);
/external/opencore/fileformats/rawaac/parser/src/
Daacfileparser.cpp504 uint32 bitIndex; in getFileInfo() local
843 bitIndex = ADIFHeaderLen & 0x7; in getFileInfo()
844 … tmp = (uint8)((pBuffer[offset] << bitIndex) | (pBuffer[offset+1] >> (8 - bitIndex))); in getFileInfo()
857 bitIndex = ADIFHeaderLen & 0x7; in getFileInfo()
858 … tmp = (uint8)((pBuffer[offset] << bitIndex) | (pBuffer[offset+1] >> (8 - bitIndex))); in getFileInfo()
871 bitIndex = ADIFHeaderLen & 0x7; in getFileInfo()
872 … tmp = (uint8)((pBuffer[offset] << bitIndex) | (pBuffer[offset+1] >> (8 - bitIndex))); in getFileInfo()
908 bitIndex = ADIFHeaderLen & 0x7; in getFileInfo()
909 … commentFieldBytes = (pBuffer[offset] << bitIndex) | (pBuffer[offset+1] >> (8 - bitIndex)); in getFileInfo()
1196 bitIndex = ADIFHeaderLen & 0x7; in getFileInfo()
[all …]
/external/opencore/protocols/systems/3g-324m_pvterminal/h245/per/src/
Dgenericper.cpp108 BitSize = (uint8)(stream->bitIndex + number); in ReadBits()
109 x = (uint8)(stream->data[0] & MaskBit[(int)stream->bitIndex ]); in ReadBits()
115 x |= ((stream->data[0]) & ~MaskBit[(int)stream->bitIndex ]) >> (8 - NextBit); in ReadBits()
128 stream->bitIndex = NextBit; in ReadBits()
141 if (stream->bitIndex) in ReadRemainingBits()
143 stream->bitIndex = 0; in ReadRemainingBits()
906 BitSize = (uint8)((stream->bitIndex) + number); in WriteBits()
908 (stream->buildByte) |= (temp >> (stream->bitIndex)); in WriteBits()
912 stream->bitIndex = 8; in WriteBits()
915 stream->bitIndex = (uint16)(BitSize - 8); in WriteBits()
[all …]
Dper.cpp773 stream->bitIndex = 0; in MultiSysCtrlMessage_decode()
/external/opencore/protocols/systems/3g-324m_pvterminal/h245/per/include/
Dgenericper.h78 uint8 bitIndex; /* Next bit within the byte */ member
88 uint16 bitIndex; /* Index: next bit to write */ member
/external/icu4c/common/
Dutext.cpp29 #define I32_FLAG(bitIndex) ((int32_t)1<<(bitIndex)) argument