Lines Matching full:bitspersample
139 rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
165 client->format.depth = bitsPerSample*samplesPerPixel;
178 client->format.redMax = (1 << bitsPerSample) - 1;
179 client->format.greenMax = (1 << bitsPerSample) - 1;
180 client->format.blueMax = (1 << bitsPerSample) - 1;
183 client->format.greenShift = bitsPerSample;
184 client->format.blueShift = bitsPerSample * 2;
187 client->format.redShift = bitsPerSample*2;
188 client->format.greenShift = bitsPerSample*1;
191 client->format.redShift = bitsPerSample*3;
192 client->format.greenShift = bitsPerSample*2;
193 client->format.blueShift = bitsPerSample;