Lines Matching refs:bitsPerSample
2475 SANE_Byte bitsPerSample,
2479 SANE_Int pixelBits = bitsPerSample * samplesPerPixel;
2495 SANE_Byte bitsPerSample,
2499 SANE_Int pixelBytes = samplesPerPixel * bitsPerSample / 8;
2515 SANE_Byte bitsPerSample,
2519 if (bitsPerSample == 1) {
2520 swapPixel1(x1, y1, x2, y2, bytes, bitsPerSample, samplesPerPixel, bytesPerRow);
2521 }else if(bitsPerSample == 8 || bitsPerSample == 16){
2522 swapPixel8(x1, y1, x2, y2, bytes, bitsPerSample, samplesPerPixel, bytesPerRow);