252 qt_scale_image_16bit<quint32>(destPixels, dbpl, srcPixels, sbpl, |
252 qt_scale_image_16bit<quint32>(destPixels, dbpl, srcPixels, sbpl, |
253 targetRect, sourceRect, clip, constAlpha); |
253 targetRect, sourceRect, clip, constAlpha); |
254 } |
254 } |
255 } |
255 } |
256 |
256 |
257 static void qt_blend_rgb16_on_rgb16(uchar *dst, int dbpl, |
257 void qt_blend_rgb16_on_rgb16(uchar *dst, int dbpl, |
258 const uchar *src, int sbpl, |
258 const uchar *src, int sbpl, |
259 int w, int h, |
259 int w, int h, |
260 int const_alpha) |
260 int const_alpha) |
261 { |
261 { |
262 #ifdef QT_DEBUG_DRAW |
262 #ifdef QT_DEBUG_DRAW |
263 printf("qt_blend_rgb16_on_rgb16: dst=(%p, %d), src=(%p, %d), dim=(%d, %d) alpha=%d\n", |
263 printf("qt_blend_rgb16_on_rgb16: dst=(%p, %d), src=(%p, %d), dim=(%d, %d) alpha=%d\n", |
264 dst, dbpl, src, sbpl, w, h, const_alpha); |
264 dst, dbpl, src, sbpl, w, h, const_alpha); |
265 #endif |
265 #endif |