HomeSort by relevance Sort by last modified time
    Searched refs:paddedWidth (Results 1 - 5 of 5) 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...]
  /frameworks/base/libs/hwui/
FontRenderer.cpp 583 uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 * intRadius;
587 if (paddedWidth > maxSize || paddedHeight > maxSize) {
593 if (paddedWidth & (RS_CPU_ALLOCATION_ALIGNMENT - 1)) {
594 paddedWidth += RS_CPU_ALLOCATION_ALIGNMENT - paddedWidth % RS_CPU_ALLOCATION_ALIGNMENT;
596 int size = paddedWidth * paddedHeight;
599 int size = paddedWidth * paddedHeight;
613 Font::BITMAP, dataBuffer, paddedWidth, paddedHeight, nullptr, positions);
618 blurImage(&dataBuffer, paddedWidth, paddedHeight, radius);
621 image.width = paddedWidth;
    [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/core/java/android/widget/
SimpleMonthView.java 893 final int paddedWidth = paddedRight - paddingLeft;
895 if (paddedWidth == mPaddedWidth || paddedHeight == mPaddedHeight) {
899 mPaddedWidth = paddedWidth;
    [all...]

Completed in 400 milliseconds