Lines Matching refs:nBits
43 sal_uInt16 nBits = 0; in getMaxBitsUnsigned() local
47 nBits++; in getMaxBitsUnsigned()
51 return nBits; in getMaxBitsUnsigned()
74 void BitStream::writeUB( sal_uInt32 nValue, sal_uInt16 nBits ) in writeUB() argument
76 while( nBits != 0 ) in writeUB()
78 mnCurrentByte |= nValue << (32 - nBits) >> (32 - mnBitPos); in writeUB()
80 if ( nBits > mnBitPos ) in writeUB()
82 nBits = nBits - mnBitPos; in writeUB()
87 mnBitPos = sal::static_int_cast<sal_uInt8>( mnBitPos - nBits ); in writeUB()
88 nBits = 0; in writeUB()
98 void BitStream::writeSB( sal_Int32 nValue, sal_uInt16 nBits ) in writeSB() argument
100 writeUB( static_cast< sal_uInt32 >(nValue), nBits ); in writeSB()
105 void BitStream::writeFB( sal_uInt32 nValue, sal_uInt16 nBits ) in writeFB() argument
107 writeUB( nValue, nBits ); in writeFB()