Home
last modified time | relevance | path

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

/external/aac/libFDK/include/
DFDK_bitstream.h211 const UINT numberOfBits) { in FDKreadBits() argument
213 INT missingBits = (INT)numberOfBits - (INT)hBitStream->BitsInCache; in FDKreadBits()
215 FDK_ASSERT(numberOfBits <= 32); in FDKreadBits()
222 hBitStream->BitsInCache -= numberOfBits; in FDKreadBits()
225 BitMask[numberOfBits]; in FDKreadBits()
275 const UINT numberOfBits) { in FDKreadBitsBwd() argument
276 const UINT validMask = BitMask[numberOfBits]; in FDKreadBitsBwd()
278 if (hBitStream->BitsInCache <= numberOfBits) { in FDKreadBitsBwd()
286 hBitStream->BitsInCache -= numberOfBits; in FDKreadBitsBwd()
343 const UINT numberOfBits) { in FDKwriteBits() argument
[all …]
DFDK_bitbuffer.h145 INT FDK_get(HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits);
149 void FDK_put(HANDLE_FDK_BITBUF hBitBuffer, UINT value, const UINT numberOfBits);
151 INT FDK_getBwd(HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits);
153 const UINT numberOfBits);
155 void FDK_pushBack(HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits,
158 void FDK_pushForward(HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits,
/external/aac/libFDK/src/
DFDK_bitbuffer.cpp157 INT FDK_get(HANDLE_FDK_BITBUF hBitBuf, const UINT numberOfBits) { in FDK_get() argument
161 hBitBuf->BitNdx = (hBitBuf->BitNdx + numberOfBits) & (hBitBuf->bufBits - 1); in FDK_get()
162 hBitBuf->ValidBits -= numberOfBits; in FDK_get()
176 return (tx >> (32 - numberOfBits)); in FDK_get()
215 INT FDK_getBwd(HANDLE_FDK_BITBUF hBitBuf, const UINT numberOfBits) { in FDK_getBwd() argument
221 hBitBuf->BitNdx = (hBitBuf->BitNdx - numberOfBits) & (hBitBuf->bufBits - 1); in FDK_getBwd()
222 hBitBuf->ValidBits += numberOfBits; in FDK_getBwd()
232 if (bitOffset && numberOfBits > 24) { in FDK_getBwd()
245 return (txa >> (32 - numberOfBits)); in FDK_getBwd()
248 void FDK_put(HANDLE_FDK_BITBUF hBitBuf, UINT value, const UINT numberOfBits) { in FDK_put() argument
[all …]
/external/skqp/src/utils/
DSkBitSet.h15 explicit SkBitSet(int numberOfBits) { in SkBitSet() argument
16 SkASSERT(numberOfBits >= 0); in SkBitSet()
17 fDwordCount = (numberOfBits + 31) / 32; // Round up size to 32-bit boundary. in SkBitSet()
/external/aac/libSBRenc/src/
Dps_bitenc.cpp109 const UINT numberOfBits) { in FDKsbrEnc_WriteBits_ps() argument
112 FDKwriteBits(hBitStream, value, numberOfBits); in FDKsbrEnc_WriteBits_ps()
114 return numberOfBits; in FDKsbrEnc_WriteBits_ps()
/external/mesa3d/src/amd/addrlib/src/core/
Daddrcommon.h313 UINT_32 numberOfBits) in XorReduce() argument
318 for (i=1; i<numberOfBits; i++) in XorReduce()