HomeSort by relevance Sort by last modified time
    Searched refs:paddedWidth (Results 1 - 6 of 6) sorted by null

  /external/libvncserver/examples/
pnmshow24.c 25 int j,width,height,paddedWidth;
54 paddedWidth = width;
59 paddedWidth+=4-(width&3);
62 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,3,3);
76 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*3*height);
80 /* pad to paddedWidth */
81 if(width != paddedWidth) {
82 int padCount = 3*(paddedWidth - width);
84 memmove(rfbScreen->frameBuffer+3*paddedWidth*j,
87 memset(rfbScreen->frameBuffer+3*paddedWidth*(j+1)-padCount
    [all...]
pnmshow.c 19 int i,j,k,l,width,height,paddedWidth;
62 paddedWidth = width;
64 paddedWidth+=4-(width&3);
67 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,(bitsPerPixelInFile+7)/8,bytesPerPixel);
81 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height);
96 /* correct the format to 4 bytes instead of 3 (and pad to paddedWidth) */
100 rfbScreen->frameBuffer[(j*paddedWidth+i)*4+k]=
102 for(i=width*4;i<paddedWidth*4;i++)
103 rfbScreen->frameBuffer[j*paddedWidth*4+i]=0;
114 rfbScreen->frameBuffer[j*paddedWidth+i+7-k]=(l&(1<<k))?0:255
    [all...]
  /external/dng_sdk/source/
dng_utils.cpp 186 uint32 paddedWidth = tileSizeH;
189 if (!RoundUpForPixelSize(paddedWidth, pixelSize, &paddedWidth))
197 if (!SafeUint32Mult(paddedWidth, tileSizeV, &bufferSize) ||
  /frameworks/base/libs/hwui/
FontRenderer.cpp 583 uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 * intRadius;
587 if (paddedWidth > maxSize || paddedHeight > maxSize) {
592 if (paddedWidth & (RS_CPU_ALLOCATION_ALIGNMENT - 1)) {
593 paddedWidth += RS_CPU_ALLOCATION_ALIGNMENT - paddedWidth % RS_CPU_ALLOCATION_ALIGNMENT;
595 int size = paddedWidth * paddedHeight;
608 Font::BITMAP, dataBuffer, paddedWidth, paddedHeight, nullptr, positions);
613 blurImage(&dataBuffer, paddedWidth, paddedHeight, radius);
616 image.width = paddedWidth;
  /external/v8/tools/turbolizer/
graph-layout.js 184 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]);
  /frameworks/base/core/java/android/widget/
SimpleMonthView.java 894 final int paddedWidth = paddedRight - paddingLeft;
896 if (paddedWidth == mPaddedWidth || paddedHeight == mPaddedHeight) {
900 mPaddedWidth = paddedWidth;
    [all...]

Completed in 424 milliseconds