Searched refs:srcHeight (Results 1 - 3 of 3) sorted by relevance

/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapNearestNeighbor.h24 uint32 srcHeight = bitmap.height(); local
73 uint16 index = (uint16)((i + filterWeightYIndexOffset) * srcHeight
74 / (srcHeight * scaleY));
85 // dstHeight, srcHeight * scaleY);
H A DDrawBitmapBilinear.h492 uint32 srcHeight = bitmap.height(); local
570 float index = (i + filterData.fIndexOffsetY) * (srcHeight - 1)
571 / (srcHeight * scaleY - 1);
/haiku/src/libs/icon/
H A DIconUtils.cpp47 scale_bilinear(uint8* bits, int32 srcWidth, int32 srcHeight, int32 dstWidth, argument
57 int32 lineF = (y << 8) * (srcHeight - 1) / (dstHeight - 1);
113 scale_down(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight, argument
130 tmp = (float)(i) / (float)(dstHeight - 1) * (srcHeight - 1);
134 else if (l >= srcHeight - 1)
135 l = srcHeight - 2;
176 scale2x(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight, argument
192 for (int32 y = 0; y < srcHeight; ++y) {
202 uint32 h = *(uint32*)(srcBits + (MIN(srcHeight - 1, y + 1)
220 scale3x(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight, argument
286 scale4x(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight, int32 srcBPR, int32 dstBPR) argument
[all...]

Completed in 50 milliseconds