static inline void blit180(QScreen *screen, const QImage &image, const QRect &rect, const QPoint &topLeft) { const SRC *src = (const SRC*)(image.scanLine(rect.top())) + rect.left(); DST *dest = (DST*)(screen->base() + topLeft.y() * screen->linestep()) + topLeft.x(); qt_memrotate180(src, rect.width(), rect.height(), image.bytesPerLine(), dest, screen->linestep()); }
void qt_memrotate180_32(const uchar *srcPixels, int w, int h, int sbpl, uchar *destPixels, int dbpl) { qt_memrotate180((const uint *)srcPixels, w, h, sbpl, (uint *)destPixels, dbpl); }
void qt_memrotate180_8(const uchar *srcPixels, int w, int h, int sbpl, uchar *destPixels, int dbpl) { qt_memrotate180(srcPixels, w, h, sbpl, destPixels, dbpl); }