Home
last modified time | relevance | path

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

/external/aac/libFDK/src/
DFDK_bitbuffer.cpp161 UINT bitOffset = hBitBuf->BitNdx & 0x07 ; in FDK_get() local
174 if (bitOffset) in FDK_get()
176 tx <<= bitOffset; in FDK_get()
177 tx |= hBitBuf->Buffer [(byteOffset+4) & byteMask] >> (8-bitOffset); in FDK_get()
217 UINT bitOffset = hBitBuf->BitNdx & 0x07 ; in FDK_getBwd() local
231 tx >>= (8 - bitOffset) ; in FDK_getBwd()
233 if (bitOffset && numberOfBits > 24) in FDK_getBwd()
235 tx |= hBitBuf->Buffer [(byteOffset-4) & byteMask] << (24 + bitOffset) ; in FDK_getBwd()
253 UINT bitOffset = hBitBuf->BitNdx & 0x07 ; in FDK_put() local
261 UINT tmp = value<<(32-numberOfBits)>>bitOffset; in FDK_put()
[all …]
/external/mesa3d/src/glx/
Dpixel.c92 GLint elementsLeft, bitOffset, currentByte, nextByte, highBitMask; in FillBitmap() local
111 bitOffset = (skipPixels * components) & 7; in FillBitmap()
112 highBitMask = LowBitsMask[8 - bitOffset]; in FillBitmap()
113 lowBitMask = HighBitsMask[bitOffset]; in FillBitmap()
126 if (bitOffset) { in FillBitmap()
128 if (elementsLeft > (8 - bitOffset)) { in FillBitmap()
136 ((currentByte & highBitMask) << bitOffset) | in FillBitmap()
137 ((nextByte & lowBitMask) >> (8 - bitOffset)); in FillBitmap()
140 currentByte = ((currentByte & highBitMask) << bitOffset); in FillBitmap()
283 GLint elementsLeft, bitOffset, currentByte, highBitMask, lowBitMask; in EmptyBitmap() local
[all …]
/external/skia/src/codec/
DSkSwizzler.cpp75 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_grayscale() local
76 bitIndex = bitOffset % 8; in swizzle_bit_to_grayscale()
77 currByte = *(src += bitOffset / 8); in swizzle_bit_to_grayscale()
99 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_index() local
100 bitIndex = bitOffset % 8; in swizzle_bit_to_index()
101 currByte = *(src += bitOffset / 8); in swizzle_bit_to_index()
120 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_n32() local
121 bitIndex = bitOffset % 8; in swizzle_bit_to_n32()
122 currByte = *(src += bitOffset / 8); in swizzle_bit_to_n32()
143 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_565() local
[all …]
/external/skia/src/fonts/
DSkTestScalerContext.cpp55 int bitOffset = charCode - ' '; in codeToIndex() local
56 fDebugBits[bitOffset >> 3] |= 1 << (bitOffset & 7); in codeToIndex()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp63 static int bittst(const uint8_t data[], int bitOffset) { in bittst() argument
64 SkASSERT(bitOffset >= 0); in bittst()
65 int lowBit = data[bitOffset >> 3] >> (~bitOffset & 7); in bittst()
/external/deqp/framework/delibs/debase/
DdeSha1.c139 const size_t bitOffset = 8 * (4 - (1 + (stream->size % 4))); in deSha1Stream_process() local
141 stream->data[(stream->size / 4) % 16] |= ((deUint32)data[bytesProcessed]) << (deUint32)bitOffset; in deSha1Stream_process()
/external/fonttools/Lib/fontTools/ttLib/tables/
DE_B_D_T_.py491 bitOffset = row * rowBits
492 return (bitOffset, bitOffset+rowBits)