Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/decoder/include/
Doi_bitstream.h78 #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 …]
Doi_codec_sbc_private.h110 OI_UINT bitPtr; member
/system/bt/embdrv/sbc/decoder/srce/
Dbitstream-decode.c45 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()
Dreadsamplesjoint.inc65 OI_UINT bitPtr = global_bs->bitPtr;
83 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
97 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
Ddecoder-private.c185 OI_UINT bitPtr = global_bs->bitPtr; in OI_SBC_ReadSamples() local
213 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr); in OI_SBC_ReadSamples()