Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qrgba64_p.h File Reference

(d85dff3775b00dde079c50bcf417cae5ed884512)

#include "qrgba64.h"
#include "qdrawhelper_p.h"
#include <QtCore/private/qsimd_p.h>
#include <QtGui/private/qtguiglobal_p.h>
+ Include dependency graph for qrgba64_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE QRgba64 combineAlpha256 (QRgba64 rgba64, uint alpha256)
 
static QRgba64 multiplyAlpha65535 (QRgba64 rgba64, uint alpha65535)
 
template<typename T >
static T multiplyAlpha255 (T rgba64, uint alpha255)
 
static QRgba64 interpolate255 (QRgba64 x, uint alpha1, QRgba64 y, uint alpha2)
 
static QRgba64 interpolate65535 (QRgba64 x, uint alpha1, QRgba64 y, uint alpha2)
 
static QRgba64 addWithSaturation (QRgba64 a, QRgba64 b)
 
static uint toArgb32 (QRgba64 rgba64)
 
static uint toRgba8888 (QRgba64 rgba64)
 
static QRgba64 rgbBlend (QRgba64 d, QRgba64 s, uint rgbAlpha)
 
static void blend_pixel (QRgba64 &dst, QRgba64 src)
 
static void blend_pixel (QRgba64 &dst, QRgba64 src, const int const_alpha)
 

Function Documentation

◆ addWithSaturation()

static QRgba64 addWithSaturation ( QRgba64 a,
QRgba64 b )
inlinestatic

Definition at line 180 of file qrgba64_p.h.

References QRgba64::fromRgba64(), and qMin().

+ Here is the call graph for this function:

◆ blend_pixel() [1/2]

static void blend_pixel ( QRgba64 & dst,
QRgba64 src )
inlinestatic

Definition at line 298 of file qrgba64_p.h.

References multiplyAlpha65535().

Referenced by blend_pixel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ blend_pixel() [2/2]

static void blend_pixel ( QRgba64 & dst,
QRgba64 src,
const int const_alpha )
inlinestatic

Definition at line 315 of file qrgba64_p.h.

References blend_pixel(), multiplyAlpha255(), and multiplyAlpha65535().

+ Here is the call graph for this function:

◆ combineAlpha256()

QT_BEGIN_NAMESPACE QRgba64 combineAlpha256 ( QRgba64 rgba64,
uint alpha256 )
inline

Definition at line 26 of file qrgba64_p.h.

References QRgba64::alpha(), QRgba64::blue(), QRgba64::fromRgba64(), QRgba64::green(), and QRgba64::red().

Referenced by QRasterPaintEngine::drawImage(), QGradientCache::generateGradientColorTable(), and qPremultiplyWithExtraAlpha().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ interpolate255()

static QRgba64 interpolate255 ( QRgba64 x,
uint alpha1,
QRgba64 y,
uint alpha2 )
inlinestatic

Definition at line 115 of file qrgba64_p.h.

References QRgba64::fromRgba64(), interpolate255(), and multiplyAlpha255().

Referenced by grayBlendPixel(), and interpolate255().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ interpolate65535()

static QRgba64 interpolate65535 ( QRgba64 x,
uint alpha1,
QRgba64 y,
uint alpha2 )
inlinestatic

Definition at line 159 of file qrgba64_p.h.

References QRgba64::fromRgba64(), interpolate65535(), and multiplyAlpha65535().

Referenced by interpolate65535().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ multiplyAlpha255()

template<typename T >
static T multiplyAlpha255 ( T rgba64,
uint alpha255 )
inlinestatic

Definition at line 92 of file qrgba64_p.h.

References QRgba64::fromRgba64(), and qt_div_255().

Referenced by blend_pixel(), and interpolate255().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ multiplyAlpha65535()

static QRgba64 multiplyAlpha65535 ( QRgba64 rgba64,
uint alpha65535 )
inlinestatic

Definition at line 62 of file qrgba64_p.h.

References QRgba64::alpha(), QRgba64::blue(), QRgba64::fromRgba64(), QRgba64::green(), multiplyAlpha65535(), qt_div_65535(), and QRgba64::red().

Referenced by blend_pixel(), blend_pixel(), fetchRGBA64ToRGBA64PM(), interpolate65535(), and multiplyAlpha65535().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rgbBlend()

static QRgba64 rgbBlend ( QRgba64 d,
QRgba64 s,
uint rgbAlpha )
inlinestatic

Definition at line 252 of file qrgba64_p.h.

References ARGB2RGBA(), d, qBlue(), qGreen(), qRed(), qRgba64(), and qt_div_255().

+ Here is the call graph for this function:

◆ toArgb32()

static uint toArgb32 ( QRgba64 rgba64)
inlinestatic

Definition at line 219 of file qrgba64_p.h.

References QRgba64::toArgb32(), and toArgb32().

Referenced by convertFromRgb64(), fetchRGB16FToRGB32(), fetchRGB32FToRGB32(), fetchRGB64ToRGB32(), fetchRGBA64ToARGB32PM(), grayBlendPixel(), QImage::pixel(), qt_convertRGBA64ToARGB32(), rgbBlendPixel(), storeARGB32FromRGBA64PM(), toArgb32(), and toRgba8888().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toRgba8888()

static uint toRgba8888 ( QRgba64 rgba64)
inlinestatic

Definition at line 239 of file qrgba64_p.h.

References ARGB2RGBA(), and toArgb32().

Referenced by storeRGBA8888FromRGBA64PM().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: