![]() |
Qt 6.x
The Qt SDK
|
Go to the source code of this file.
Classes | |
struct | SourceOnlyAlpha |
struct | SourceAndConstAlpha |
struct | Blend_RGB16_on_RGB16_NoAlpha |
struct | Blend_RGB16_on_RGB16_ConstAlpha |
struct | Blend_ARGB32_on_RGB16_SourceAlpha |
struct | Blend_ARGB32_on_RGB16_SourceAndConstAlpha |
struct | Blend_RGB32_on_RGB32_NoAlpha |
struct | Blend_RGB32_on_RGB32_ConstAlpha |
struct | Blend_ARGB32_on_ARGB32_SourceAlpha |
struct | Blend_ARGB32_on_ARGB32_SourceAndConstAlpha |
Functions | |
void | qt_scale_image_rgb16_on_rgb16 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int srch, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clip, int const_alpha) |
void | qt_scale_image_argb32_on_rgb16 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int srch, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clip, int const_alpha) |
void | qt_blend_rgb16_on_rgb16 (uchar *dst, int dbpl, const uchar *src, int sbpl, int w, int h, int const_alpha) |
void | qt_blend_argb32_on_rgb16_const_alpha (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int w, int h, int const_alpha) |
static void | qt_blend_argb32_on_rgb16 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int w, int h, int const_alpha) |
static void | qt_blend_rgb32_on_rgb16 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int w, int h, int const_alpha) |
static void | qt_blend_argb32_on_argb32 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int w, int h, int const_alpha) |
void | qt_blend_rgb32_on_rgb32 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int w, int h, int const_alpha) |
void | qt_scale_image_rgb32_on_rgb32 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int srch, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clip, int const_alpha) |
void | qt_scale_image_argb32_on_argb32 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int srch, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clip, int const_alpha) |
void | qt_transform_image_rgb16_on_rgb16 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clip, const QTransform &targetRectTransform, int const_alpha) |
void | qt_transform_image_argb32_on_rgb16 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clip, const QTransform &targetRectTransform, int const_alpha) |
void | qt_transform_image_rgb32_on_rgb32 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clip, const QTransform &targetRectTransform, int const_alpha) |
void | qt_transform_image_argb32_on_argb32 (uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clip, const QTransform &targetRectTransform, int const_alpha) |
void | qInitBlendFunctions () |
void qInitBlendFunctions | ( | ) |
Definition at line 552 of file qblendfunctions.cpp.
References QImage::Format_ARGB32_Premultiplied, QImage::Format_RGB16, QImage::Format_RGB32, QImage::Format_RGBA8888_Premultiplied, QImage::Format_RGBX8888, qBlendFunctions, qScaleFunctions, qt_blend_argb32_on_argb32(), qt_blend_argb32_on_rgb16(), qt_blend_rgb16_on_rgb16(), qt_blend_rgb32_on_rgb16(), qt_blend_rgb32_on_rgb32(), qt_scale_image_argb32_on_argb32(), qt_scale_image_argb32_on_rgb16(), qt_scale_image_rgb16_on_rgb16(), qt_scale_image_rgb32_on_rgb32(), qt_transform_image_argb32_on_argb32(), qt_transform_image_argb32_on_rgb16(), qt_transform_image_rgb16_on_rgb16(), qt_transform_image_rgb32_on_rgb32(), and qTransformFunctions.
Referenced by qInitDrawhelperFunctions().
|
static |
Definition at line 295 of file qblendfunctions.cpp.
References BYTE_MUL(), and qAlpha().
Referenced by qInitBlendFunctions().
|
static |
Definition at line 199 of file qblendfunctions.cpp.
References db, qConvertRgb32To16(), and qt_blend_argb32_on_rgb16_const_alpha().
Referenced by qInitBlendFunctions(), and qt_blend_rgb32_on_rgb16().
void qt_blend_argb32_on_rgb16_const_alpha | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
int | w, | ||
int | h, | ||
int | const_alpha | ||
) |
Definition at line 176 of file qblendfunctions.cpp.
References BYTE_MUL(), BYTE_MUL_RGB16(), i, qAlpha(), and qConvertRgb32To16().
Referenced by qt_blend_argb32_on_rgb16().
void qt_blend_rgb16_on_rgb16 | ( | uchar * | dst, |
int | dbpl, | ||
const uchar * | src, | ||
int | sbpl, | ||
int | w, | ||
int | h, | ||
int | const_alpha | ||
) |
Definition at line 143 of file qblendfunctions.cpp.
References BYTE_MUL_RGB16(), and d.
Referenced by qInitBlendFunctions().
|
static |
Definition at line 252 of file qblendfunctions.cpp.
References qConvertRgb32To16(), and qt_blend_argb32_on_rgb16().
Referenced by qInitBlendFunctions().
void qt_blend_rgb32_on_rgb32 | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
int | w, | ||
int | h, | ||
int | const_alpha | ||
) |
Definition at line 334 of file qblendfunctions.cpp.
References INTERPOLATE_PIXEL_255().
Referenced by qInitBlendFunctions().
void qt_scale_image_argb32_on_argb32 | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
int | srch, | ||
const QRectF & | targetRect, | ||
const QRectF & | sourceRect, | ||
const QRect & | clip, | ||
int | const_alpha | ||
) |
Definition at line 438 of file qblendfunctions.cpp.
References QRectF::height(), qt_scale_image_32bit(), QRectF::width(), QRectF::x(), and QRectF::y().
Referenced by qInitBlendFunctions().
void qt_scale_image_argb32_on_rgb16 | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
int | srch, | ||
const QRectF & | targetRect, | ||
const QRectF & | sourceRect, | ||
const QRect & | clip, | ||
int | const_alpha | ||
) |
Definition at line 118 of file qblendfunctions.cpp.
References QRectF::height(), QRectF::width(), QRectF::x(), and QRectF::y().
Referenced by qInitBlendFunctions().
void qt_scale_image_rgb16_on_rgb16 | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
int | srch, | ||
const QRectF & | targetRect, | ||
const QRectF & | sourceRect, | ||
const QRect & | clip, | ||
int | const_alpha | ||
) |
Definition at line 93 of file qblendfunctions.cpp.
References QRectF::height(), QRectF::width(), QRectF::x(), and QRectF::y().
Referenced by qInitBlendFunctions().
void qt_scale_image_rgb32_on_rgb32 | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
int | srch, | ||
const QRectF & | targetRect, | ||
const QRectF & | sourceRect, | ||
const QRect & | clip, | ||
int | const_alpha | ||
) |
Definition at line 413 of file qblendfunctions.cpp.
References QRectF::height(), qt_scale_image_32bit(), QRectF::width(), QRectF::x(), and QRectF::y().
Referenced by qInitBlendFunctions().
void qt_transform_image_argb32_on_argb32 | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
const QRectF & | targetRect, | ||
const QRectF & | sourceRect, | ||
const QRect & | clip, | ||
const QTransform & | targetRectTransform, | ||
int | const_alpha | ||
) |
Definition at line 527 of file qblendfunctions.cpp.
References qt_transform_image().
Referenced by qInitBlendFunctions().
void qt_transform_image_argb32_on_rgb16 | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
const QRectF & | targetRect, | ||
const QRectF & | sourceRect, | ||
const QRect & | clip, | ||
const QTransform & | targetRectTransform, | ||
int | const_alpha | ||
) |
Definition at line 484 of file qblendfunctions.cpp.
References qt_transform_image().
Referenced by qInitBlendFunctions().
void qt_transform_image_rgb16_on_rgb16 | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
const QRectF & | targetRect, | ||
const QRectF & | sourceRect, | ||
const QRect & | clip, | ||
const QTransform & | targetRectTransform, | ||
int | const_alpha | ||
) |
Definition at line 463 of file qblendfunctions.cpp.
References qt_transform_image().
Referenced by qInitBlendFunctions().
void qt_transform_image_rgb32_on_rgb32 | ( | uchar * | destPixels, |
int | dbpl, | ||
const uchar * | srcPixels, | ||
int | sbpl, | ||
const QRectF & | targetRect, | ||
const QRectF & | sourceRect, | ||
const QRect & | clip, | ||
const QTransform & | targetRectTransform, | ||
int | const_alpha | ||
) |
Definition at line 506 of file qblendfunctions.cpp.
References qt_transform_image().
Referenced by qInitBlendFunctions().
SrcOverBlendFunc qBlendFunctions[QImage::NImageFormats][QImage::NImageFormats] |
Definition at line 549 of file qblendfunctions.cpp.
Referenced by QRasterPaintEngine::drawImage(), QRasterPaintEngine::drawImage(), qInitBlendFunctions(), and qInitDrawhelperFunctions().
SrcOverScaleFunc qScaleFunctions[QImage::NImageFormats][QImage::NImageFormats] |
Definition at line 548 of file qblendfunctions.cpp.
Referenced by QRasterPaintEngine::drawImage(), qInitBlendFunctions(), and qInitDrawhelperFunctions().
SrcOverTransformFunc qTransformFunctions[QImage::NImageFormats][QImage::NImageFormats] |
Definition at line 550 of file qblendfunctions.cpp.
Referenced by QRasterPaintEngine::drawImage(), qInitBlendFunctions(), and qInitDrawhelperFunctions().