Lines Matching defs:bitDepth

165     private int bitDepth; // bits per channel
719 // We only support Horizontal Predictor for a bitDepth of 8
910 this.bitDepth = 0;
912 this.bitDepth = Math.max(bitDepth, sampleSize[i]);
914 if (bitDepth == 3) {
915 bitDepth = 4;
916 } else if (bitDepth > 4 && bitDepth < 8) {
917 bitDepth = 8;
918 } else if (bitDepth > 8 && bitDepth < 16) {
919 bitDepth = 16;
920 } else if (bitDepth > 16 && bitDepth < 32) {
921 bitDepth = 32;
922 } else if (bitDepth > 32) {
923 bitDepth = 64;
927 bitsPerSample[i] = (char)bitDepth;
953 if(f == null && (bitDepth == 16 || bitDepth == 32 || bitDepth == 64)) {
957 if(bitDepth == 16 && dataType == DataBuffer.TYPE_USHORT) {
960 } else if((bitDepth == 32 && dataType == DataBuffer.TYPE_FLOAT) ||
961 (bitDepth == 64 && dataType == DataBuffer.TYPE_DOUBLE)) {
1164 int bitsPerPixel = bitDepth*(numBands + numExtraSamples);
1676 } else if(bitDepth == 8 &&
1714 int samplesPerByte = 8/bitDepth;
1719 if (bitDepth < 8) {
1721 } else if (bitDepth == 16) {
1723 } else if (bitDepth == 32) {
1725 } else if (bitDepth == 64) {
1734 if (bitDepth == 32) {
1757 bitDepth == 8 && // 8 bits/sample
1869 int bitMask = (1 << bitDepth) - 1;
1882 if (bitDepth == 32) {
1932 switch (bitDepth) {
1939 tmp = (tmp << bitDepth) | val;
1950 tmp = (tmp << bitDepth) | val;
1962 tmp <<= ((8/bitDepth) - pos)*bitDepth;
2077 long maxOut = (1L << (long)bitDepth) - 1L;
2208 bitsPerSample[i] = bitDepth;
2242 if (bitDepth == scalingBitDepth &&
2257 if(bitDepth <= 16) {
2259 if(sampleSize[b] != bitDepth) {
2272 this.scalingBitDepth = bitDepth;
2273 int maxOutSample = (1 << bitDepth) - 1;
2274 if (bitDepth <= 8) {
2287 } else if(bitDepth <= 16) {