Searched refs:dstWidth (Results 1 - 4 of 4) sorted by relevance
/haiku/src/servers/app/drawing/Painter/bitmap_painter/ |
H A D | DrawBitmapNearestNeighbor.h | 21 uint32 dstWidth = destinationRect.IntegerWidth() + 1; local 29 if (clippingRegion.Frame().IntegerWidth() + 1 < (int32)dstWidth) 30 dstWidth = clippingRegion.Frame().IntegerWidth() + 1; 49 uint16 xIndices[dstWidth]; 59 for (uint32 i = 0; i < dstWidth; i++) { 81 // xIndices[0], xIndices[dstWidth - 2], xIndices[dstWidth - 1], 82 // dstWidth, srcWidth * scaleX);
|
H A D | DrawBitmapBilinear.h | 489 uint32 dstWidth = destinationRect.IntegerWidth() + 1; local 497 if (clippingRegion.Frame().IntegerWidth() + 1 < (int32)dstWidth) 498 dstWidth = clippingRegion.Frame().IntegerWidth() + 1; 518 filterData.fWeightsX = new (nothrow) FilterInfo[dstWidth]; 529 FilterInfo xWeights[dstWidth]; 542 for (uint32 i = 0; i < dstWidth; i++) { 581 // xWeights[dstWidth - 2].index, xWeights[dstWidth - 2].weight, 582 // xWeights[dstWidth - 1].index, xWeights[dstWidth [all...] |
/haiku/src/libs/icon/ |
H A D | IconUtils.cpp | 47 scale_bilinear(uint8* bits, int32 srcWidth, int32 srcHeight, int32 dstWidth, argument 82 dst = bits + (dstWidth - 1) * 4; 84 for (int32 y = 0; y < dstWidth; y++) { 86 for (int32 x = dstWidth - 1; x >= 0; x--) { 87 int32 columnF = (x << 8) * (srcWidth - 1) / (dstWidth - 1); 114 int32 dstWidth, int32 dstHeight) 129 for (int32 j = 0; j < dstWidth; j++) { 138 tmp = (float)(j) / (float)(dstWidth - 1) * (srcWidth - 1); 169 *((rgb_color*)dstBits + (i * dstWidth) + j) = out; 750 uint32 dstWidth local 113 scale_down(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight, int32 dstWidth, int32 dstHeight) argument [all...] |
/haiku/src/kits/interface/ |
H A D | ColorConversion.cpp | 639 int32 dstWidth = (dstBitsPerRow - dstOffsetX * dstBitsPerPixel) local 641 if (dstWidth < width) 642 width = dstWidth; 778 int32 dstWidth = (dstBitsPerRow - dstOffsetX * dstBitsPerPixel) local 780 if (dstWidth < width) 781 width = dstWidth;
|
Completed in 49 milliseconds