Searched refs:bitPtr (Results 1 – 5 of 5) sorted by relevance
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_bitstream.h | 78 #define OI_BITSTREAM_READUINT(result, bits, ptr, value, bitPtr) \ argument 81 OI_ASSERT((bitPtr) < 32); \ 82 OI_ASSERT((bitPtr) >= 0); \ 84 while ((bitPtr + bits) > 32) { \ 86 (bitPtr) -= 8; \ 89 (result) = (value) << (bitPtr); \ 92 (bitPtr) += (bits); \ 96 #define OI_BITSTREAM_WRITEUINT(ptr, value, bitPtr, datum, bits) \ argument 98 (bitPtr) -= (bits); \ 99 (value) |= (datum) << (bitPtr); \ [all …]
|
D | oi_codec_sbc_private.h | 110 OI_UINT bitPtr; member
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | bitstream-decode.c | 44 bs->bitPtr = 32; in OI_BITSTREAM_ReadInit() 50 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); in OI_BITSTREAM_ReadUINT() 58 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned() 59 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned() 61 if (bs->bitPtr == 8) { in OI_BITSTREAM_ReadUINT4Aligned() 63 bs->bitPtr = 12; in OI_BITSTREAM_ReadUINT4Aligned() 67 bs->bitPtr = 8; in OI_BITSTREAM_ReadUINT4Aligned() 76 OI_ASSERT(bs->bitPtr == 8); in OI_BITSTREAM_ReadUINT8Aligned()
|
D | readsamplesjoint.inc | 65 OI_UINT bitPtr = global_bs->bitPtr; 83 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr); 97 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
|
D | decoder-private.c | 185 OI_UINT bitPtr = global_bs->bitPtr; in OI_SBC_ReadSamples() local 196 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr); in OI_SBC_ReadSamples()
|