Home
last modified time | relevance | path

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

/external/aac/libFDK/include/
DFDK_bitstream.h209 const UINT numberOfBits) in FDKreadBits() argument
212 INT missingBits = numberOfBits - hBitStream->BitsInCache; in FDKreadBits()
218 return ( bits | (hBitStream->CacheWord >> hBitStream->BitsInCache)) & BitMask[numberOfBits]; in FDKreadBits()
221 hBitStream->BitsInCache -= numberOfBits; in FDKreadBits()
222 return ( hBitStream->CacheWord >> hBitStream->BitsInCache) & BitMask[numberOfBits]; in FDKreadBits()
225 const UINT validMask = BitMask [numberOfBits] ; in FDKreadBits()
227 if (hBitStream->BitsInCache <= numberOfBits) in FDKreadBits()
235 hBitStream->BitsInCache -= numberOfBits ; in FDKreadBits()
289 const UINT numberOfBits) in FDKreadBitsBwd() argument
291 const UINT validMask = BitMask [numberOfBits] ; in FDKreadBitsBwd()
[all …]
DFDK_bitbuffer.h133 INT FDK_get (HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits) ;
137 void FDK_put (HANDLE_FDK_BITBUF hBitBuffer, UINT value, const UINT numberOfBits) ;
139 INT FDK_getBwd (HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits);
140 void FDK_putBwd (HANDLE_FDK_BITBUF hBitBuffer, UINT value, const UINT numberOfBits) ;
142 void FDK_pushBack (HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits, UCHAR config) ;
143 void FDK_pushForward (HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits, UCHAR config) ;
/external/aac/libFDK/src/
DFDK_bitbuffer.cpp158 INT FDK_get (HANDLE_FDK_BITBUF hBitBuf, const UINT numberOfBits) in FDK_get() argument
163 hBitBuf->BitNdx = (hBitBuf->BitNdx + numberOfBits) & (hBitBuf->bufBits - 1) ; in FDK_get()
164 hBitBuf->BitCnt += numberOfBits ; in FDK_get()
165 hBitBuf->ValidBits -= numberOfBits ; in FDK_get()
180 return (tx >> (32 - numberOfBits)) ; in FDK_get()
214 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->BitCnt -= numberOfBits ; in FDK_getBwd()
223 hBitBuf->ValidBits += numberOfBits ; in FDK_getBwd()
233 if (bitOffset && numberOfBits > 24) in FDK_getBwd()
[all …]
/external/skia/src/utils/
DSkBitSet.cpp12 SkBitSet::SkBitSet(int numberOfBits) in SkBitSet() argument
13 : fBitData(NULL), fDwordCount(0), fBitCount(numberOfBits) { in SkBitSet()
14 SkASSERT(numberOfBits > 0); in SkBitSet()
16 fDwordCount = (numberOfBits + 31) / 32; in SkBitSet()
DSkBitSet.h20 explicit SkBitSet(int numberOfBits);
/external/chromium_org/third_party/skia/src/utils/
DSkBitSet.cpp12 SkBitSet::SkBitSet(int numberOfBits) in SkBitSet() argument
13 : fBitData(NULL), fDwordCount(0), fBitCount(numberOfBits) { in SkBitSet()
14 SkASSERT(numberOfBits > 0); in SkBitSet()
16 fDwordCount = (numberOfBits + 31) / 32; in SkBitSet()
DSkBitSet.h20 explicit SkBitSet(int numberOfBits);
/external/aac/libSBRenc/src/
Dps_bitenc.cpp99 const UINT numberOfBits) in FDKsbrEnc_WriteBits_ps() argument
103 FDKwriteBits(hBitStream, value, numberOfBits); in FDKsbrEnc_WriteBits_ps()
105 return numberOfBits; in FDKsbrEnc_WriteBits_ps()