Lines Matching refs:mask
309 int mask = getMask(bitsPerImg);
317 int clutEntry = ((currentByte >> bitIndex) & mask);
329 * Calculate bit mask for a given number of bits. The mask should enable to
331 * @param numOfBits number of bits to calculate mask for.
332 * @return bit mask
335 int mask = 0x00;
339 mask = 0x01;
342 mask = 0x03;
345 mask = 0x07;
348 mask = 0x0F;
351 mask = 0x1F;
354 mask = 0x3F;
357 mask = 0x7F;
360 mask = 0xFF;
363 return mask;