Lines Matching refs:bitsPerPixel
48 ((x.bitsPerPixel == y.bitsPerPixel) && \
50 ((x.bigEndian == y.bigEndian) || (x.bitsPerPixel == 8)) && \
229 int bytesPerOutputLine = width * (out->bitsPerPixel / 8); in rfbTranslateNone()
254 if ((cl->screen->serverFormat.bitsPerPixel != 8) && in rfbSetTranslateFunction()
255 (cl->screen->serverFormat.bitsPerPixel != 16) && in rfbSetTranslateFunction()
257 (cl->screen->serverFormat.bitsPerPixel != 24) && in rfbSetTranslateFunction()
259 (cl->screen->serverFormat.bitsPerPixel != 32)) in rfbSetTranslateFunction()
263 cl->screen->serverFormat.bitsPerPixel); in rfbSetTranslateFunction()
268 if ((cl->format.bitsPerPixel != 8) && in rfbSetTranslateFunction()
269 (cl->format.bitsPerPixel != 16) && in rfbSetTranslateFunction()
271 (cl->format.bitsPerPixel != 24) && in rfbSetTranslateFunction()
273 (cl->format.bitsPerPixel != 32)) in rfbSetTranslateFunction()
281 if (!cl->format.trueColour && (cl->format.bitsPerPixel != 8)) { in rfbSetTranslateFunction()
284 cl->format.bitsPerPixel); in rfbSetTranslateFunction()
318 if ((cl->screen->serverFormat.bitsPerPixel < 16) || in rfbSetTranslateFunction()
320 (cl->screen->serverFormat.bitsPerPixel == 16))) { in rfbSetTranslateFunction()
325 [BPP2OFFSET(cl->screen->serverFormat.bitsPerPixel)] in rfbSetTranslateFunction()
326 [BPP2OFFSET(cl->format.bitsPerPixel)]; in rfbSetTranslateFunction()
330 [BPP2OFFSET(cl->format.bitsPerPixel)]) (&cl->translateLookupTable, in rfbSetTranslateFunction()
334 [BPP2OFFSET(cl->format.bitsPerPixel)]) (&cl->translateLookupTable, in rfbSetTranslateFunction()
342 [BPP2OFFSET(cl->screen->serverFormat.bitsPerPixel)] in rfbSetTranslateFunction()
343 [BPP2OFFSET(cl->format.bitsPerPixel)]; in rfbSetTranslateFunction()
346 [BPP2OFFSET(cl->format.bitsPerPixel)]) (&cl->translateLookupTable, in rfbSetTranslateFunction()
369 if (cl->format.bitsPerPixel != 8 ) { in rfbSetClientColourMapBGR233()
428 [BPP2OFFSET(cl->format.bitsPerPixel)]) (&cl->translateLookupTable, in rfbSetClientColourMap()
462 if (pf->bitsPerPixel == 1) { in PrintPixelFormat()
466 rfbLog(" %d bpp, depth %d%s\n",pf->bitsPerPixel,pf->depth, in PrintPixelFormat()
467 ((pf->bitsPerPixel == 8) ? "" in PrintPixelFormat()