Lines Matching refs:bufferBits
1362 uint32 bufferBits = 0;
1367 while (bufferBits < bitDepth)
1372 bufferBits += 8;
1376 p [j] = (uint16) ((bitBuffer >> (bufferBits - bitDepth)) & bitMask);
1378 bufferBits -= bitDepth;
1401 uint32 bufferBits = 0;
1406 while (bufferBits < bitDepth)
1411 bufferBits += 8;
1415 p [j] = ((uint32) (bitBuffer >> (bufferBits - bitDepth))) & bitMask;
1417 bufferBits -= bitDepth;