Home
last modified time | relevance | path

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

/system/media/audio_utils/spdif/
DBitFieldParser.cpp47 uint32_t bitsFromByte = (bitsLeftInByte < numBits) ? bitsLeftInByte : numBits; in readBits() local
48 uint32_t result = byte >> (bitsLeftInByte - bitsFromByte); in readBits()
49 result &= (1 << bitsFromByte) - 1; // mask in readBits()
50 mBitCursor += bitsFromByte; in readBits()
52 uint32_t bitsRemaining = numBits - bitsFromByte; in readBits()