Lines Matching refs:dstHeight

48 	int32 dstHeight, uint32 bpr)
52 uint8* dst = bits + (dstHeight - 1) * bpr;
56 for (int32 y = dstHeight - 1; y >= 0; y--) {
57 int32 lineF = (y << 8) * (srcHeight - 1) / (dstHeight - 1);
114 int32 dstWidth, int32 dstHeight)
128 for (int32 i = 0; i < dstHeight; i++) {
130 tmp = (float)(i) / (float)(dstHeight - 1) * (srcHeight - 1);
751 uint32 dstHeight = icon->Bounds().IntegerHeight() + 1;
757 if (dstWidth < width || dstHeight < height
758 || (dstWidth == 2 * width && dstHeight == 2 * height)
759 || (dstWidth == 3 * width && dstHeight == 3 * height)
760 || (dstWidth == 4 * width && dstHeight == 4 * height)) {
771 if (dstWidth < width || dstHeight < height)
772 scale_down(convertedBits, dst, width, height, dstWidth, dstHeight);
773 else if (dstWidth == 2 * width && dstHeight == 2 * height)
775 else if (dstWidth == 3 * width && dstHeight == 3 * height)
777 else if (dstWidth == 4 * width && dstHeight == 4 * height)
806 if (width == dstWidth && height == dstHeight)
813 if (dstWidth > width && dstHeight > height
814 && dstWidth < 2 * width && dstHeight < 2 * height) {
825 scale_down(tempBits, dst, width * 2, height * 2, dstWidth, dstHeight);
827 } else if (dstWidth > 2 * width && dstHeight > 2 * height
828 && dstWidth < 3 * width && dstHeight < 3 * height) {
839 scale_down(tempBits, dst, width * 3, height * 3, dstWidth, dstHeight);
841 } else if (dstWidth > 3 * width && dstHeight > 3 * height
842 && dstWidth < 4 * width && dstHeight < 4 * height) {
853 scale_down(tempBits, dst, width * 3, height * 3, dstWidth, dstHeight);
855 } else if (dstWidth > 4 * width && dstHeight > 4 * height) {
868 scale_bilinear(dst, width, height, dstWidth, dstHeight, dstBPR);
872 scale_bilinear(dst, width, height, dstWidth, dstHeight, dstBPR);
894 uint32 dstHeight = icon->Bounds().IntegerHeight() + 1;
896 if (dstWidth < width || dstHeight < height) {
899 } else if (dstWidth > width || dstHeight > height) {