Home | History | Annotate | Download | only in examples

Lines Matching refs:width

25   int j,width,height,paddedWidth;
48 /* get width & height */
49 sscanf(buffer,"%d %d",&width,&height);
50 rfbLog("Got width %d and height %d.\n",width,height);
54 paddedWidth = width;
56 /* if your vncviewer doesn't have problems with a width
58 if(width&3)
59 paddedWidth+=4-(width&3);
77 fread(rfbScreen->frameBuffer,width*3,height,in);
81 if(width != paddedWidth) {
82 int padCount = 3*(paddedWidth - width);
85 rfbScreen->frameBuffer+3*width*j,
86 3*width);