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) < 16); \ 82 OI_ASSERT((bitPtr) >= 8); \ 84 (result) = (value) << (bitPtr); \ 87 (bitPtr) += (bits); \ 88 while ((bitPtr) >= 16) { \ 90 (bitPtr) -= 8; \ 95 #define OI_BITSTREAM_WRITEUINT(ptr, value, bitPtr, datum, bits) \ argument 97 (bitPtr) -= (bits); \ 98 (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 | 45 bs->bitPtr = 8; in OI_BITSTREAM_ReadInit() 51 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); in OI_BITSTREAM_ReadUINT() 59 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned() 60 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned() 62 if (bs->bitPtr == 8) { in OI_BITSTREAM_ReadUINT4Aligned() 64 bs->bitPtr = 12; in OI_BITSTREAM_ReadUINT4Aligned() 68 bs->bitPtr = 8; in OI_BITSTREAM_ReadUINT4Aligned() 77 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 213 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr); in OI_SBC_ReadSamples()
|