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