Home
last modified time | relevance | path

Searched refs:bitPtr (Results 1 – 10 of 10) sorted by relevance

/external/bluetooth/bluedroid/embdrv/sbc/decoder/include/
Doi_bitstream.h80 #define OI_BITSTREAM_READUINT(result, bits, ptr, value, bitPtr) \ argument
83 OI_ASSERT((bitPtr) < 16); \
84 OI_ASSERT((bitPtr) >= 8); \
86 result = (value) << (bitPtr); \
89 bitPtr += (bits); \
90 while (bitPtr >= 16) { \
92 bitPtr -= 8; \
98 #define OI_BITSTREAM_WRITEUINT(ptr, value, bitPtr, datum, bits) \ argument
100 bitPtr -= bits;\
101 value |= datum << bitPtr;\
[all …]
Doi_codec_sbc_private.h102 OI_UINT bitPtr; member
/external/chromium_org/third_party/speex/libspeex/
Dbits.c80 bits->bitPtr=0; in speex_bits_set_bit_buffer()
98 bits->bitPtr=0; in speex_bits_reset()
105 bits->bitPtr=0; in speex_bits_rewind()
143 bits->bitPtr=0; in speex_bits_read_from()
192 int charPtr, bitPtr, nbBits; in speex_bits_write() local
195 bitPtr=bits->bitPtr; in speex_bits_write()
199 bits->bitPtr=bitPtr; in speex_bits_write()
220 if (bits->bitPtr>0) in speex_bits_write_whole_bytes()
233 if (bits->charPtr+((nbBits+bits->bitPtr)>>LOG2_BITS_PER_CHAR) >= bits->buf_size) in speex_bits_pack()
258 bits->chars[bits->charPtr] |= bit<<(BITS_PER_CHAR-1-bits->bitPtr); in speex_bits_pack()
[all …]
/external/speex/libspeex/
Dbits.c80 bits->bitPtr=0; in speex_bits_set_bit_buffer()
98 bits->bitPtr=0; in speex_bits_reset()
105 bits->bitPtr=0; in speex_bits_rewind()
143 bits->bitPtr=0; in speex_bits_read_from()
192 int charPtr, bitPtr, nbBits; in speex_bits_write() local
195 bitPtr=bits->bitPtr; in speex_bits_write()
199 bits->bitPtr=bitPtr; in speex_bits_write()
220 if (bits->bitPtr>0) in speex_bits_write_whole_bytes()
233 if (bits->charPtr+((nbBits+bits->bitPtr)>>LOG2_BITS_PER_CHAR) >= bits->buf_size) in speex_bits_pack()
258 bits->chars[bits->charPtr] |= bit<<(BITS_PER_CHAR-1-bits->bitPtr); in speex_bits_pack()
[all …]
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
Dbitstream-decode.c45 bs->bitPtr = 8; in OI_BITSTREAM_ReadInit()
52 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); in OI_BITSTREAM_ReadUINT()
61 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned()
62 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned()
64 if (bs->bitPtr == 8) { in OI_BITSTREAM_ReadUINT4Aligned()
66 bs->bitPtr = 12; in OI_BITSTREAM_ReadUINT4Aligned()
70 bs->bitPtr = 8; in OI_BITSTREAM_ReadUINT4Aligned()
80 OI_ASSERT(bs->bitPtr == 8); in OI_BITSTREAM_ReadUINT8Aligned()
Dreadsamplesjoint.inc64 OI_UINT bitPtr = global_bs->bitPtr;
82 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
96 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
Ddecoder-private.c185 OI_UINT bitPtr = global_bs->bitPtr; in OI_SBC_ReadSamples() local
212 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr); in OI_SBC_ReadSamples()
/external/chromium_org/third_party/speex/include/speex/
Dspeex_bits.h53 int bitPtr; /**< Position of the bit "cursor" within the current char */ member
/external/speex/include/speex/
Dspeex_bits.h53 int bitPtr; /**< Position of the bit "cursor" within the current char */ member
/external/skia/src/core/
DSkPictureRecord.cpp1793 const SkBitmap* bitPtr = fBitmapHeap->getBitmap(index); in validateBitmaps() local
1794 SkASSERT(bitPtr); in validateBitmaps()
1795 bitPtr->validate(); in validateBitmaps()