Home
last modified time | relevance | path

Searched refs:paddedWidth (Results 1 – 4 of 4) sorted by relevance

/external/libvncserver/examples/
Dpnmshow24.c25 int j,width,height,paddedWidth; in main() local
54 paddedWidth = width; in main()
59 paddedWidth+=4-(width&3); in main()
62 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,3,3); in main()
76 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*3*height); in main()
81 if(width != paddedWidth) { in main()
82 int padCount = 3*(paddedWidth - width); in main()
84 memmove(rfbScreen->frameBuffer+3*paddedWidth*j, in main()
87 memset(rfbScreen->frameBuffer+3*paddedWidth*(j+1)-padCount, in main()
Dpnmshow.c19 int i,j,k,l,width,height,paddedWidth; in main() local
62 paddedWidth = width; in main()
64 paddedWidth+=4-(width&3); in main()
67 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,(bitsPerPixelInFile+7)/8,bytesPerPixel); in main()
81 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height); in main()
100 rfbScreen->frameBuffer[(j*paddedWidth+i)*4+k]= in main()
102 for(i=width*4;i<paddedWidth*4;i++) in main()
103 rfbScreen->frameBuffer[j*paddedWidth*4+i]=0; in main()
114 rfbScreen->frameBuffer[j*paddedWidth+i+7-k]=(l&(1<<k))?0:255; in main()
/external/dng_sdk/source/
Ddng_utils.cpp186 uint32 paddedWidth = tileSizeH; in ComputeBufferSize() local
189 if (!RoundUpForPixelSize(paddedWidth, pixelSize, &paddedWidth)) in ComputeBufferSize()
197 if (!SafeUint32Mult(paddedWidth, tileSizeV, &bufferSize) || in ComputeBufferSize()
/external/v8/tools/turbolizer/
Dgraph-layout.js184 var paddedWidth = width + 2 * margin;
186 var x = placementHint[1] - paddedWidth + margin;
188 console.log("Node " + node.id + " placement hint [" + x + ", " + (x + paddedWidth) + ")");
190 var placement = findSpace(x, paddedWidth, placementHint[0]);