Home | History | Annotate | Download | only in source

Lines Matching defs:bitDepth

1212 	uint32 bitDepth = ifd.fBitsPerSample [plane];
1216 if (bitDepth == 8)
1225 else if (bitDepth == 16 && ifd.fSampleFormat [0] == sfFloatingPoint)
1241 else if (bitDepth == 24 && ifd.fSampleFormat [0] == sfFloatingPoint)
1273 else if (bitDepth == 16)
1290 else if (bitDepth == 32)
1307 else if (bitDepth == 12)
1349 else if (bitDepth > 8 && bitDepth < 16)
1356 uint32 bitMask = (1 << bitDepth) - 1;
1367 while (bufferBits < bitDepth)
1376 p [j] = (uint16) ((bitBuffer >> (bufferBits - bitDepth)) & bitMask);
1378 bufferBits -= bitDepth;
1388 else if (bitDepth > 16 && bitDepth < 32)
1395 uint32 bitMask = ((uint32) 1 << bitDepth) - 1;
1406 while (bufferBits < bitDepth)
1415 p [j] = ((uint32) (bitBuffer >> (bufferBits - bitDepth))) & bitMask;
1417 bufferBits -= bitDepth;