Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/external/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
/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/srce/
Dbitstream-decode.c48 bs->bitPtr = 8; in OI_BITSTREAM_ReadInit()
55 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); in OI_BITSTREAM_ReadUINT()
64 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned()
65 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned()
67 if (bs->bitPtr == 8) { in OI_BITSTREAM_ReadUINT4Aligned()
69 bs->bitPtr = 12; in OI_BITSTREAM_ReadUINT4Aligned()
73 bs->bitPtr = 8; in OI_BITSTREAM_ReadUINT4Aligned()
83 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.c218 OI_UINT bitPtr = global_bs->bitPtr; in OI_SBC_ReadSamples() local
245 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr); in OI_SBC_ReadSamples()