Lines 105-111
struct Rgba64OperationsBase
Link Here
|
105 |
{ ::memcpy(dest, src, len * sizeof(Type)); } |
105 |
{ ::memcpy(dest, src, len * sizeof(Type)); } |
106 |
}; |
106 |
}; |
107 |
|
107 |
|
108 |
#if QT_CONFIG(raster_64bit) |
108 |
#if 0 |
109 |
const Rgba64OperationsBase::Type Rgba64OperationsBase::clear = QRgba64::fromRgba64(0); |
109 |
const Rgba64OperationsBase::Type Rgba64OperationsBase::clear = QRgba64::fromRgba64(0); |
110 |
|
110 |
|
111 |
struct Rgba64OperationsC : public Rgba64OperationsBase |
111 |
struct Rgba64OperationsC : public Rgba64OperationsBase |
Lines 288-294
typedef Rgba64OperationsNEON Rgba64Operations;
Link Here
|
288 |
typedef Rgba64OperationsC Rgba64Operations; |
288 |
typedef Rgba64OperationsC Rgba64Operations; |
289 |
#endif |
289 |
#endif |
290 |
|
290 |
|
291 |
#endif // QT_CONFIG(raster_64bit) |
291 |
#endif // 0 |
292 |
|
292 |
|
293 |
#if QT_CONFIG(raster_fp) |
293 |
#if QT_CONFIG(raster_fp) |
294 |
|
294 |
|
Lines 497-503
void QT_FASTCALL comp_func_Clear(uint *dest, const uint *, int length, uint cons
Link Here
|
497 |
comp_func_Clear_template<Argb32Operations>(dest, length, const_alpha); |
497 |
comp_func_Clear_template<Argb32Operations>(dest, length, const_alpha); |
498 |
} |
498 |
} |
499 |
|
499 |
|
500 |
#if QT_CONFIG(raster_64bit) |
500 |
#if 0 |
501 |
void QT_FASTCALL comp_func_solid_Clear_rgb64(QRgba64 *dest, int length, QRgba64, uint const_alpha) |
501 |
void QT_FASTCALL comp_func_solid_Clear_rgb64(QRgba64 *dest, int length, QRgba64, uint const_alpha) |
502 |
{ |
502 |
{ |
503 |
comp_func_Clear_template<Rgba64Operations>(dest, length, const_alpha); |
503 |
comp_func_Clear_template<Rgba64Operations>(dest, length, const_alpha); |
Lines 567-573
void QT_FASTCALL comp_func_Source(uint *Q_DECL_RESTRICT dest, const uint *Q_DECL
Link Here
|
567 |
comp_func_Source_template<Argb32Operations>(dest, src, length, const_alpha); |
567 |
comp_func_Source_template<Argb32Operations>(dest, src, length, const_alpha); |
568 |
} |
568 |
} |
569 |
|
569 |
|
570 |
#if QT_CONFIG(raster_64bit) |
570 |
#if 0 |
571 |
void QT_FASTCALL comp_func_solid_Source_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
571 |
void QT_FASTCALL comp_func_solid_Source_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
572 |
{ |
572 |
{ |
573 |
comp_func_solid_Source_template<Rgba64Operations>(dest, length, color, const_alpha); |
573 |
comp_func_solid_Source_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 599-605
void QT_FASTCALL comp_func_Destination(uint *, const uint *, int, uint)
Link Here
|
599 |
{ |
599 |
{ |
600 |
} |
600 |
} |
601 |
|
601 |
|
602 |
#if QT_CONFIG(raster_64bit) |
602 |
#if 0 |
603 |
void QT_FASTCALL comp_func_solid_Destination_rgb64(QRgba64 *, int, QRgba64, uint) |
603 |
void QT_FASTCALL comp_func_solid_Destination_rgb64(QRgba64 *, int, QRgba64, uint) |
604 |
{ |
604 |
{ |
605 |
} |
605 |
} |
Lines 677-683
void QT_FASTCALL comp_func_SourceOver(uint *Q_DECL_RESTRICT dest, const uint *Q_
Link Here
|
677 |
comp_func_SourceOver_template<Argb32Operations>(dest, src, length, const_alpha); |
677 |
comp_func_SourceOver_template<Argb32Operations>(dest, src, length, const_alpha); |
678 |
} |
678 |
} |
679 |
|
679 |
|
680 |
#if QT_CONFIG(raster_64bit) |
680 |
#if 0 |
681 |
void QT_FASTCALL comp_func_solid_SourceOver_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
681 |
void QT_FASTCALL comp_func_solid_SourceOver_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
682 |
{ |
682 |
{ |
683 |
comp_func_solid_SourceOver_template<Rgba64Operations>(dest, length, color, const_alpha); |
683 |
comp_func_solid_SourceOver_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 751-757
void QT_FASTCALL comp_func_DestinationOver(uint *Q_DECL_RESTRICT dest, const uin
Link Here
|
751 |
comp_func_DestinationOver_template<Argb32Operations>(dest, src, length, const_alpha); |
751 |
comp_func_DestinationOver_template<Argb32Operations>(dest, src, length, const_alpha); |
752 |
} |
752 |
} |
753 |
|
753 |
|
754 |
#if QT_CONFIG(raster_64bit) |
754 |
#if 0 |
755 |
void QT_FASTCALL comp_func_solid_DestinationOver_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
755 |
void QT_FASTCALL comp_func_solid_DestinationOver_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
756 |
{ |
756 |
{ |
757 |
comp_func_solid_DestinationOver_template<Rgba64Operations>(dest, length, color, const_alpha); |
757 |
comp_func_solid_DestinationOver_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 829-835
void QT_FASTCALL comp_func_SourceIn(uint *Q_DECL_RESTRICT dest, const uint *Q_DE
Link Here
|
829 |
comp_func_SourceIn_template<Argb32Operations>(dest, src, length, const_alpha); |
829 |
comp_func_SourceIn_template<Argb32Operations>(dest, src, length, const_alpha); |
830 |
} |
830 |
} |
831 |
|
831 |
|
832 |
#if QT_CONFIG(raster_64bit) |
832 |
#if 0 |
833 |
void QT_FASTCALL comp_func_solid_SourceIn_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
833 |
void QT_FASTCALL comp_func_solid_SourceIn_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
834 |
{ |
834 |
{ |
835 |
comp_func_solid_SourceIn_template<Rgba64Operations>(dest, length, color, const_alpha); |
835 |
comp_func_solid_SourceIn_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 902-908
void QT_FASTCALL comp_func_DestinationIn(uint *Q_DECL_RESTRICT dest, const uint
Link Here
|
902 |
comp_func_DestinationIn_template<Argb32Operations>(dest, src, length, const_alpha); |
902 |
comp_func_DestinationIn_template<Argb32Operations>(dest, src, length, const_alpha); |
903 |
} |
903 |
} |
904 |
|
904 |
|
905 |
#if QT_CONFIG(raster_64bit) |
905 |
#if 0 |
906 |
void QT_FASTCALL comp_func_solid_DestinationIn_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
906 |
void QT_FASTCALL comp_func_solid_DestinationIn_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
907 |
{ |
907 |
{ |
908 |
comp_func_solid_DestinationIn_template<Rgba64Operations>(dest, length, color, const_alpha); |
908 |
comp_func_solid_DestinationIn_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 978-984
void QT_FASTCALL comp_func_SourceOut(uint *Q_DECL_RESTRICT dest, const uint *Q_D
Link Here
|
978 |
comp_func_SourceOut_template<Argb32Operations>(dest, src, length, const_alpha); |
978 |
comp_func_SourceOut_template<Argb32Operations>(dest, src, length, const_alpha); |
979 |
} |
979 |
} |
980 |
|
980 |
|
981 |
#if QT_CONFIG(raster_64bit) |
981 |
#if 0 |
982 |
void QT_FASTCALL comp_func_solid_SourceOut_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
982 |
void QT_FASTCALL comp_func_solid_SourceOut_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
983 |
{ |
983 |
{ |
984 |
comp_func_solid_SourceOut_template<Rgba64Operations>(dest, length, color, const_alpha); |
984 |
comp_func_solid_SourceOut_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 1051-1057
void QT_FASTCALL comp_func_DestinationOut(uint *Q_DECL_RESTRICT dest, const uint
Link Here
|
1051 |
comp_func_DestinationOut_template<Argb32Operations>(dest, src, length, const_alpha); |
1051 |
comp_func_DestinationOut_template<Argb32Operations>(dest, src, length, const_alpha); |
1052 |
} |
1052 |
} |
1053 |
|
1053 |
|
1054 |
#if QT_CONFIG(raster_64bit) |
1054 |
#if 0 |
1055 |
void QT_FASTCALL comp_func_solid_DestinationOut_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1055 |
void QT_FASTCALL comp_func_solid_DestinationOut_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1056 |
{ |
1056 |
{ |
1057 |
comp_func_solid_DestinationOut_template<Rgba64Operations>(dest, length, color, const_alpha); |
1057 |
comp_func_solid_DestinationOut_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 1124-1130
void QT_FASTCALL comp_func_SourceAtop(uint *Q_DECL_RESTRICT dest, const uint *Q_
Link Here
|
1124 |
comp_func_SourceAtop_template<Argb32Operations>(dest, src, length, const_alpha); |
1124 |
comp_func_SourceAtop_template<Argb32Operations>(dest, src, length, const_alpha); |
1125 |
} |
1125 |
} |
1126 |
|
1126 |
|
1127 |
#if QT_CONFIG(raster_64bit) |
1127 |
#if 0 |
1128 |
void QT_FASTCALL comp_func_solid_SourceAtop_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1128 |
void QT_FASTCALL comp_func_solid_SourceAtop_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1129 |
{ |
1129 |
{ |
1130 |
comp_func_solid_SourceAtop_template<Rgba64Operations>(dest, length, color, const_alpha); |
1130 |
comp_func_solid_SourceAtop_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 1202-1208
void QT_FASTCALL comp_func_DestinationAtop(uint *Q_DECL_RESTRICT dest, const uin
Link Here
|
1202 |
comp_func_DestinationAtop_template<Argb32Operations>(dest, src, length, const_alpha); |
1202 |
comp_func_DestinationAtop_template<Argb32Operations>(dest, src, length, const_alpha); |
1203 |
} |
1203 |
} |
1204 |
|
1204 |
|
1205 |
#if QT_CONFIG(raster_64bit) |
1205 |
#if 0 |
1206 |
void QT_FASTCALL comp_func_solid_DestinationAtop_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1206 |
void QT_FASTCALL comp_func_solid_DestinationAtop_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1207 |
{ |
1207 |
{ |
1208 |
comp_func_solid_DestinationAtop_template<Rgba64Operations>(dest, length, color, const_alpha); |
1208 |
comp_func_solid_DestinationAtop_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 1276-1282
void QT_FASTCALL comp_func_XOR(uint *Q_DECL_RESTRICT dest, const uint *Q_DECL_RE
Link Here
|
1276 |
comp_func_XOR_template<Argb32Operations>(dest, src, length, const_alpha); |
1276 |
comp_func_XOR_template<Argb32Operations>(dest, src, length, const_alpha); |
1277 |
} |
1277 |
} |
1278 |
|
1278 |
|
1279 |
#if QT_CONFIG(raster_64bit) |
1279 |
#if 0 |
1280 |
void QT_FASTCALL comp_func_solid_XOR_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1280 |
void QT_FASTCALL comp_func_solid_XOR_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1281 |
{ |
1281 |
{ |
1282 |
comp_func_solid_XOR_template<Rgba64Operations>(dest, length, color, const_alpha); |
1282 |
comp_func_solid_XOR_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 1305-1311
struct QFullCoverage {
Link Here
|
1305 |
{ |
1305 |
{ |
1306 |
*dest = src; |
1306 |
*dest = src; |
1307 |
} |
1307 |
} |
1308 |
#if QT_CONFIG(raster_64bit) |
1308 |
#if 0 |
1309 |
inline void store(QRgba64 *dest, const QRgba64 src) const |
1309 |
inline void store(QRgba64 *dest, const QRgba64 src) const |
1310 |
{ |
1310 |
{ |
1311 |
*dest = src; |
1311 |
*dest = src; |
Lines 1335-1341
struct QPartialCoverage {
Link Here
|
1335 |
{ |
1335 |
{ |
1336 |
store_template<Argb32Operations>(dest, src); |
1336 |
store_template<Argb32Operations>(dest, src); |
1337 |
} |
1337 |
} |
1338 |
#if QT_CONFIG(raster_64bit) |
1338 |
#if 0 |
1339 |
inline void store(QRgba64 *dest, const QRgba64 src) const |
1339 |
inline void store(QRgba64 *dest, const QRgba64 src) const |
1340 |
{ |
1340 |
{ |
1341 |
store_template<Rgba64Operations>(dest, src); |
1341 |
store_template<Rgba64Operations>(dest, src); |
Lines 1358-1364
static inline int mix_alpha(int da, int sa)
Link Here
|
1358 |
return 255 - qt_div_255((255 - sa) * (255 - da)); |
1358 |
return 255 - qt_div_255((255 - sa) * (255 - da)); |
1359 |
} |
1359 |
} |
1360 |
|
1360 |
|
1361 |
#if QT_CONFIG(raster_64bit) |
1361 |
#if 0 |
1362 |
static inline uint mix_alpha_rgb64(uint da, uint sa) |
1362 |
static inline uint mix_alpha_rgb64(uint da, uint sa) |
1363 |
{ |
1363 |
{ |
1364 |
return 65535U - qt_div_65535((65535U - sa) * (65535U - da)); |
1364 |
return 65535U - qt_div_65535((65535U - sa) * (65535U - da)); |
Lines 1429-1435
void QT_FASTCALL comp_func_Plus(uint *Q_DECL_RESTRICT dest, const uint *Q_DECL_R
Link Here
|
1429 |
comp_func_Plus_template<Argb32Operations>(dest, src, length, const_alpha); |
1429 |
comp_func_Plus_template<Argb32Operations>(dest, src, length, const_alpha); |
1430 |
} |
1430 |
} |
1431 |
|
1431 |
|
1432 |
#if QT_CONFIG(raster_64bit) |
1432 |
#if 0 |
1433 |
void QT_FASTCALL comp_func_solid_Plus_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1433 |
void QT_FASTCALL comp_func_solid_Plus_rgb64(QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
1434 |
{ |
1434 |
{ |
1435 |
comp_func_solid_Plus_template<Rgba64Operations>(dest, length, color, const_alpha); |
1435 |
comp_func_solid_Plus_template<Rgba64Operations>(dest, length, color, const_alpha); |
Lines 1492-1498
void QT_FASTCALL comp_func_solid_Multiply(uint *dest, int length, uint color, ui
Link Here
|
1492 |
comp_func_solid_Multiply_impl(dest, length, color, QPartialCoverage(const_alpha)); |
1492 |
comp_func_solid_Multiply_impl(dest, length, color, QPartialCoverage(const_alpha)); |
1493 |
} |
1493 |
} |
1494 |
|
1494 |
|
1495 |
#if QT_CONFIG(raster_64bit) |
1495 |
#if 0 |
1496 |
static inline uint multiply_op_rgb64(uint dst, uint src, uint da, uint sa) |
1496 |
static inline uint multiply_op_rgb64(uint dst, uint src, uint da, uint sa) |
1497 |
{ |
1497 |
{ |
1498 |
return qt_div_65535(src * dst + src * (65535U - da) + dst * (65535U - sa)); |
1498 |
return qt_div_65535(src * dst + src * (65535U - da) + dst * (65535U - sa)); |
Lines 1598-1604
void QT_FASTCALL comp_func_Multiply(uint *Q_DECL_RESTRICT dest, const uint *Q_DE
Link Here
|
1598 |
comp_func_Multiply_impl(dest, src, length, QPartialCoverage(const_alpha)); |
1598 |
comp_func_Multiply_impl(dest, src, length, QPartialCoverage(const_alpha)); |
1599 |
} |
1599 |
} |
1600 |
|
1600 |
|
1601 |
#if QT_CONFIG(raster_64bit) |
1601 |
#if 0 |
1602 |
template <typename T> |
1602 |
template <typename T> |
1603 |
static inline void comp_func_Multiply_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
1603 |
static inline void comp_func_Multiply_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
1604 |
{ |
1604 |
{ |
Lines 1695-1701
void QT_FASTCALL comp_func_solid_Screen(uint *dest, int length, uint color, uint
Link Here
|
1695 |
comp_func_solid_Screen_impl(dest, length, color, QPartialCoverage(const_alpha)); |
1695 |
comp_func_solid_Screen_impl(dest, length, color, QPartialCoverage(const_alpha)); |
1696 |
} |
1696 |
} |
1697 |
|
1697 |
|
1698 |
#if QT_CONFIG(raster_64bit) |
1698 |
#if 0 |
1699 |
template <typename T> |
1699 |
template <typename T> |
1700 |
static inline void comp_func_solid_Screen_impl(QRgba64 *dest, int length, QRgba64 color, const T &coverage) |
1700 |
static inline void comp_func_solid_Screen_impl(QRgba64 *dest, int length, QRgba64 color, const T &coverage) |
1701 |
{ |
1701 |
{ |
Lines 1790-1796
void QT_FASTCALL comp_func_Screen(uint *dest, const uint *src, int length, uint
Link Here
|
1790 |
comp_func_Screen_impl(dest, src, length, QPartialCoverage(const_alpha)); |
1790 |
comp_func_Screen_impl(dest, src, length, QPartialCoverage(const_alpha)); |
1791 |
} |
1791 |
} |
1792 |
|
1792 |
|
1793 |
#if QT_CONFIG(raster_64bit) |
1793 |
#if 0 |
1794 |
template <typename T> |
1794 |
template <typename T> |
1795 |
static inline void comp_func_Screen_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
1795 |
static inline void comp_func_Screen_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
1796 |
{ |
1796 |
{ |
Lines 1898-1904
void QT_FASTCALL comp_func_solid_Overlay(uint *dest, int length, uint color, uin
Link Here
|
1898 |
comp_func_solid_Overlay_impl(dest, length, color, QPartialCoverage(const_alpha)); |
1898 |
comp_func_solid_Overlay_impl(dest, length, color, QPartialCoverage(const_alpha)); |
1899 |
} |
1899 |
} |
1900 |
|
1900 |
|
1901 |
#if QT_CONFIG(raster_64bit) |
1901 |
#if 0 |
1902 |
static inline uint overlay_op_rgb64(uint dst, uint src, uint da, uint sa) |
1902 |
static inline uint overlay_op_rgb64(uint dst, uint src, uint da, uint sa) |
1903 |
{ |
1903 |
{ |
1904 |
const uint temp = src * (65535U - da) + dst * (65535U - sa); |
1904 |
const uint temp = src * (65535U - da) + dst * (65535U - sa); |
Lines 2011-2017
void QT_FASTCALL comp_func_Overlay(uint *Q_DECL_RESTRICT dest, const uint *Q_DEC
Link Here
|
2011 |
comp_func_Overlay_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2011 |
comp_func_Overlay_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2012 |
} |
2012 |
} |
2013 |
|
2013 |
|
2014 |
#if QT_CONFIG(raster_64bit) |
2014 |
#if 0 |
2015 |
template <typename T> |
2015 |
template <typename T> |
2016 |
static inline void comp_func_Overlay_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2016 |
static inline void comp_func_Overlay_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2017 |
{ |
2017 |
{ |
Lines 2113-2119
void QT_FASTCALL comp_func_solid_Darken(uint *dest, int length, uint color, uint
Link Here
|
2113 |
comp_func_solid_Darken_impl(dest, length, color, QPartialCoverage(const_alpha)); |
2113 |
comp_func_solid_Darken_impl(dest, length, color, QPartialCoverage(const_alpha)); |
2114 |
} |
2114 |
} |
2115 |
|
2115 |
|
2116 |
#if QT_CONFIG(raster_64bit) |
2116 |
#if 0 |
2117 |
static inline uint darken_op_rgb64(uint dst, uint src, uint da, uint sa) |
2117 |
static inline uint darken_op_rgb64(uint dst, uint src, uint da, uint sa) |
2118 |
{ |
2118 |
{ |
2119 |
return qt_div_65535(qMin(src * da, dst * sa) + src * (65535U - da) + dst * (65535U - sa)); |
2119 |
return qt_div_65535(qMin(src * da, dst * sa) + src * (65535U - da) + dst * (65535U - sa)); |
Lines 2218-2224
void QT_FASTCALL comp_func_Darken(uint *Q_DECL_RESTRICT dest, const uint *Q_DECL
Link Here
|
2218 |
comp_func_Darken_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2218 |
comp_func_Darken_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2219 |
} |
2219 |
} |
2220 |
|
2220 |
|
2221 |
#if QT_CONFIG(raster_64bit) |
2221 |
#if 0 |
2222 |
template <typename T> |
2222 |
template <typename T> |
2223 |
static inline void comp_func_Darken_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2223 |
static inline void comp_func_Darken_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2224 |
{ |
2224 |
{ |
Lines 2321-2327
void QT_FASTCALL comp_func_solid_Lighten(uint *dest, int length, uint color, uin
Link Here
|
2321 |
} |
2321 |
} |
2322 |
|
2322 |
|
2323 |
|
2323 |
|
2324 |
#if QT_CONFIG(raster_64bit) |
2324 |
#if 0 |
2325 |
static inline uint lighten_op_rgb64(uint dst, uint src, uint da, uint sa) |
2325 |
static inline uint lighten_op_rgb64(uint dst, uint src, uint da, uint sa) |
2326 |
{ |
2326 |
{ |
2327 |
return qt_div_65535(qMax(src * da, dst * sa) + src * (65535U - da) + dst * (65535U - sa)); |
2327 |
return qt_div_65535(qMax(src * da, dst * sa) + src * (65535U - da) + dst * (65535U - sa)); |
Lines 2426-2432
void QT_FASTCALL comp_func_Lighten(uint *Q_DECL_RESTRICT dest, const uint *Q_DEC
Link Here
|
2426 |
comp_func_Lighten_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2426 |
comp_func_Lighten_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2427 |
} |
2427 |
} |
2428 |
|
2428 |
|
2429 |
#if QT_CONFIG(raster_64bit) |
2429 |
#if 0 |
2430 |
template <typename T> |
2430 |
template <typename T> |
2431 |
static inline void comp_func_Lighten_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2431 |
static inline void comp_func_Lighten_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2432 |
{ |
2432 |
{ |
Lines 2542-2548
void QT_FASTCALL comp_func_solid_ColorDodge(uint *dest, int length, uint color,
Link Here
|
2542 |
comp_func_solid_ColorDodge_impl(dest, length, color, QPartialCoverage(const_alpha)); |
2542 |
comp_func_solid_ColorDodge_impl(dest, length, color, QPartialCoverage(const_alpha)); |
2543 |
} |
2543 |
} |
2544 |
|
2544 |
|
2545 |
#if QT_CONFIG(raster_64bit) |
2545 |
#if 0 |
2546 |
static inline uint color_dodge_op_rgb64(qint64 dst, qint64 src, qint64 da, qint64 sa) |
2546 |
static inline uint color_dodge_op_rgb64(qint64 dst, qint64 src, qint64 da, qint64 sa) |
2547 |
{ |
2547 |
{ |
2548 |
const qint64 sa_da = sa * da; |
2548 |
const qint64 sa_da = sa * da; |
Lines 2667-2673
void QT_FASTCALL comp_func_ColorDodge(uint *Q_DECL_RESTRICT dest, const uint *Q_
Link Here
|
2667 |
comp_func_ColorDodge_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2667 |
comp_func_ColorDodge_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2668 |
} |
2668 |
} |
2669 |
|
2669 |
|
2670 |
#if QT_CONFIG(raster_64bit) |
2670 |
#if 0 |
2671 |
template <typename T> |
2671 |
template <typename T> |
2672 |
static inline void comp_func_ColorDodge_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2672 |
static inline void comp_func_ColorDodge_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2673 |
{ |
2673 |
{ |
Lines 2783-2789
void QT_FASTCALL comp_func_solid_ColorBurn(uint *dest, int length, uint color, u
Link Here
|
2783 |
comp_func_solid_ColorBurn_impl(dest, length, color, QPartialCoverage(const_alpha)); |
2783 |
comp_func_solid_ColorBurn_impl(dest, length, color, QPartialCoverage(const_alpha)); |
2784 |
} |
2784 |
} |
2785 |
|
2785 |
|
2786 |
#if QT_CONFIG(raster_64bit) |
2786 |
#if 0 |
2787 |
static inline uint color_burn_op_rgb64(qint64 dst, qint64 src, qint64 da, qint64 sa) |
2787 |
static inline uint color_burn_op_rgb64(qint64 dst, qint64 src, qint64 da, qint64 sa) |
2788 |
{ |
2788 |
{ |
2789 |
const qint64 src_da = src * da; |
2789 |
const qint64 src_da = src * da; |
Lines 2908-2914
void QT_FASTCALL comp_func_ColorBurn(uint *Q_DECL_RESTRICT dest, const uint *Q_D
Link Here
|
2908 |
comp_func_ColorBurn_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2908 |
comp_func_ColorBurn_impl(dest, src, length, QPartialCoverage(const_alpha)); |
2909 |
} |
2909 |
} |
2910 |
|
2910 |
|
2911 |
#if QT_CONFIG(raster_64bit) |
2911 |
#if 0 |
2912 |
template <typename T> |
2912 |
template <typename T> |
2913 |
static inline void comp_func_ColorBurn_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2913 |
static inline void comp_func_ColorBurn_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
2914 |
{ |
2914 |
{ |
Lines 3017-3023
void QT_FASTCALL comp_func_solid_HardLight(uint *dest, int length, uint color, u
Link Here
|
3017 |
comp_func_solid_HardLight_impl(dest, length, color, QPartialCoverage(const_alpha)); |
3017 |
comp_func_solid_HardLight_impl(dest, length, color, QPartialCoverage(const_alpha)); |
3018 |
} |
3018 |
} |
3019 |
|
3019 |
|
3020 |
#if QT_CONFIG(raster_64bit) |
3020 |
#if 0 |
3021 |
static inline uint hardlight_op_rgb64(uint dst, uint src, uint da, uint sa) |
3021 |
static inline uint hardlight_op_rgb64(uint dst, uint src, uint da, uint sa) |
3022 |
{ |
3022 |
{ |
3023 |
const uint temp = src * (65535U - da) + dst * (65535U - sa); |
3023 |
const uint temp = src * (65535U - da) + dst * (65535U - sa); |
Lines 3132-3138
void QT_FASTCALL comp_func_HardLight(uint *Q_DECL_RESTRICT dest, const uint *Q_D
Link Here
|
3132 |
comp_func_HardLight_impl(dest, src, length, QPartialCoverage(const_alpha)); |
3132 |
comp_func_HardLight_impl(dest, src, length, QPartialCoverage(const_alpha)); |
3133 |
} |
3133 |
} |
3134 |
|
3134 |
|
3135 |
#if QT_CONFIG(raster_64bit) |
3135 |
#if 0 |
3136 |
template <typename T> |
3136 |
template <typename T> |
3137 |
static inline void comp_func_HardLight_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
3137 |
static inline void comp_func_HardLight_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
3138 |
{ |
3138 |
{ |
Lines 3248-3254
void QT_FASTCALL comp_func_solid_SoftLight(uint *dest, int length, uint color, u
Link Here
|
3248 |
comp_func_solid_SoftLight_impl(dest, length, color, QPartialCoverage(const_alpha)); |
3248 |
comp_func_solid_SoftLight_impl(dest, length, color, QPartialCoverage(const_alpha)); |
3249 |
} |
3249 |
} |
3250 |
|
3250 |
|
3251 |
#if QT_CONFIG(raster_64bit) |
3251 |
#if 0 |
3252 |
static inline uint soft_light_op_rgb64(qint64 dst, qint64 src, qint64 da, qint64 sa) |
3252 |
static inline uint soft_light_op_rgb64(qint64 dst, qint64 src, qint64 da, qint64 sa) |
3253 |
{ |
3253 |
{ |
3254 |
const qint64 src2 = src << 1; |
3254 |
const qint64 src2 = src << 1; |
Lines 3375-3381
void QT_FASTCALL comp_func_SoftLight(uint *Q_DECL_RESTRICT dest, const uint *Q_D
Link Here
|
3375 |
comp_func_SoftLight_impl(dest, src, length, QPartialCoverage(const_alpha)); |
3375 |
comp_func_SoftLight_impl(dest, src, length, QPartialCoverage(const_alpha)); |
3376 |
} |
3376 |
} |
3377 |
|
3377 |
|
3378 |
#if QT_CONFIG(raster_64bit) |
3378 |
#if 0 |
3379 |
template <typename T> |
3379 |
template <typename T> |
3380 |
static inline void comp_func_SoftLight_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
3380 |
static inline void comp_func_SoftLight_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
3381 |
{ |
3381 |
{ |
Lines 3477-3483
void QT_FASTCALL comp_func_solid_Difference(uint *dest, int length, uint color,
Link Here
|
3477 |
comp_func_solid_Difference_impl(dest, length, color, QPartialCoverage(const_alpha)); |
3477 |
comp_func_solid_Difference_impl(dest, length, color, QPartialCoverage(const_alpha)); |
3478 |
} |
3478 |
} |
3479 |
|
3479 |
|
3480 |
#if QT_CONFIG(raster_64bit) |
3480 |
#if 0 |
3481 |
static inline uint difference_op_rgb64(qint64 dst, qint64 src, qint64 da, qint64 sa) |
3481 |
static inline uint difference_op_rgb64(qint64 dst, qint64 src, qint64 da, qint64 sa) |
3482 |
{ |
3482 |
{ |
3483 |
return src + dst - qt_div_65535(2 * qMin(src * da, dst * sa)); |
3483 |
return src + dst - qt_div_65535(2 * qMin(src * da, dst * sa)); |
Lines 3582-3588
void QT_FASTCALL comp_func_Difference(uint *Q_DECL_RESTRICT dest, const uint *Q_
Link Here
|
3582 |
comp_func_Difference_impl(dest, src, length, QPartialCoverage(const_alpha)); |
3582 |
comp_func_Difference_impl(dest, src, length, QPartialCoverage(const_alpha)); |
3583 |
} |
3583 |
} |
3584 |
|
3584 |
|
3585 |
#if QT_CONFIG(raster_64bit) |
3585 |
#if 0 |
3586 |
template <typename T> |
3586 |
template <typename T> |
3587 |
static inline void comp_func_Difference_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
3587 |
static inline void comp_func_Difference_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
3588 |
{ |
3588 |
{ |
Lines 3678-3684
void QT_FASTCALL comp_func_solid_Exclusion(uint *dest, int length, uint color, u
Link Here
|
3678 |
comp_func_solid_Exclusion_impl(dest, length, color, QPartialCoverage(const_alpha)); |
3678 |
comp_func_solid_Exclusion_impl(dest, length, color, QPartialCoverage(const_alpha)); |
3679 |
} |
3679 |
} |
3680 |
|
3680 |
|
3681 |
#if QT_CONFIG(raster_64bit) |
3681 |
#if 0 |
3682 |
template <typename T> |
3682 |
template <typename T> |
3683 |
static inline void QT_FASTCALL comp_func_solid_Exclusion_impl(QRgba64 *dest, int length, QRgba64 color, const T &coverage) |
3683 |
static inline void QT_FASTCALL comp_func_solid_Exclusion_impl(QRgba64 *dest, int length, QRgba64 color, const T &coverage) |
3684 |
{ |
3684 |
{ |
Lines 3773-3779
void QT_FASTCALL comp_func_Exclusion(uint *Q_DECL_RESTRICT dest, const uint *Q_D
Link Here
|
3773 |
comp_func_Exclusion_impl(dest, src, length, QPartialCoverage(const_alpha)); |
3773 |
comp_func_Exclusion_impl(dest, src, length, QPartialCoverage(const_alpha)); |
3774 |
} |
3774 |
} |
3775 |
|
3775 |
|
3776 |
#if QT_CONFIG(raster_64bit) |
3776 |
#if 0 |
3777 |
template <typename T> |
3777 |
template <typename T> |
3778 |
static inline void comp_func_Exclusion_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
3778 |
static inline void comp_func_Exclusion_impl(QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, const T &coverage) |
3779 |
{ |
3779 |
{ |
Lines 4183-4189
CompositionFunctionSolid qt_functionForModeSolid_C[] = {
Link Here
|
4183 |
}; |
4183 |
}; |
4184 |
|
4184 |
|
4185 |
CompositionFunctionSolid64 qt_functionForModeSolid64_C[] = { |
4185 |
CompositionFunctionSolid64 qt_functionForModeSolid64_C[] = { |
4186 |
#if QT_CONFIG(raster_64bit) |
4186 |
#if 0 |
4187 |
comp_func_solid_SourceOver_rgb64, |
4187 |
comp_func_solid_SourceOver_rgb64, |
4188 |
comp_func_solid_DestinationOver_rgb64, |
4188 |
comp_func_solid_DestinationOver_rgb64, |
4189 |
comp_func_solid_Clear_rgb64, |
4189 |
comp_func_solid_Clear_rgb64, |
Lines 4293-4299
CompositionFunction qt_functionForMode_C[] = {
Link Here
|
4293 |
}; |
4293 |
}; |
4294 |
|
4294 |
|
4295 |
CompositionFunction64 qt_functionForMode64_C[] = { |
4295 |
CompositionFunction64 qt_functionForMode64_C[] = { |
4296 |
#if QT_CONFIG(raster_64bit) |
4296 |
#if 0 |
4297 |
comp_func_SourceOver_rgb64, |
4297 |
comp_func_SourceOver_rgb64, |
4298 |
comp_func_DestinationOver_rgb64, |
4298 |
comp_func_DestinationOver_rgb64, |
4299 |
comp_func_Clear_rgb64, |
4299 |
comp_func_Clear_rgb64, |