Lines 216-222
static Convert64Func convert64ToRGBA64PM[QImage::NImageFormats] = {
Link Here
|
216 |
}; |
216 |
}; |
217 |
#endif |
217 |
#endif |
218 |
|
218 |
|
219 |
#if QT_CONFIG(raster_fp) |
219 |
#if 0 |
220 |
static void QT_FASTCALL convertRGBA64PMToRGBA32F(QRgbaFloat32 *buffer, const quint64 *src, int count) |
220 |
static void QT_FASTCALL convertRGBA64PMToRGBA32F(QRgbaFloat32 *buffer, const quint64 *src, int count) |
221 |
{ |
221 |
{ |
222 |
const auto *in = reinterpret_cast<const QRgba64 *>(src); |
222 |
const auto *in = reinterpret_cast<const QRgba64 *>(src); |
Lines 451-457
static DestFetchProc64 destFetchProc64[QImage::NImageFormats] =
Link Here
|
451 |
}; |
451 |
}; |
452 |
#endif |
452 |
#endif |
453 |
|
453 |
|
454 |
#if QT_CONFIG(raster_fp) |
454 |
#if 0 |
455 |
static QRgbaFloat32 *QT_FASTCALL destFetchFP(QRgbaFloat32 *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length) |
455 |
static QRgbaFloat32 *QT_FASTCALL destFetchFP(QRgbaFloat32 *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length) |
456 |
{ |
456 |
{ |
457 |
return const_cast<QRgbaFloat32 *>(qFetchToRGBA32F[rasterBuffer->format](buffer, rasterBuffer->scanLine(y), x, length, nullptr, nullptr)); |
457 |
return const_cast<QRgbaFloat32 *>(qFetchToRGBA32F[rasterBuffer->format](buffer, rasterBuffer->scanLine(y), x, length, nullptr, nullptr)); |
Lines 798-804
static DestStoreProc64 destStoreProc64[QImage::NImageFormats] =
Link Here
|
798 |
}; |
798 |
}; |
799 |
#endif |
799 |
#endif |
800 |
|
800 |
|
801 |
#if QT_CONFIG(raster_fp) |
801 |
#if 0 |
802 |
static void QT_FASTCALL destStoreFP(QRasterBuffer *rasterBuffer, int x, int y, const QRgbaFloat32 *buffer, int length) |
802 |
static void QT_FASTCALL destStoreFP(QRasterBuffer *rasterBuffer, int x, int y, const QRgbaFloat32 *buffer, int length) |
803 |
{ |
803 |
{ |
804 |
auto store = qStoreFromRGBA32F[rasterBuffer->format]; |
804 |
auto store = qStoreFromRGBA32F[rasterBuffer->format]; |
Lines 872-878
static const QRgba64 *QT_FASTCALL fetchUntransformedRGBA64PM(QRgba64 *, const Op
Link Here
|
872 |
} |
872 |
} |
873 |
#endif |
873 |
#endif |
874 |
|
874 |
|
875 |
#if QT_CONFIG(raster_fp) |
875 |
#if 0 |
876 |
static const QRgbaFloat32 *QT_FASTCALL fetchUntransformedFP(QRgbaFloat32 *buffer, const Operator *, |
876 |
static const QRgbaFloat32 *QT_FASTCALL fetchUntransformedFP(QRgbaFloat32 *buffer, const Operator *, |
877 |
const QSpanData *data, int y, int x, int length) |
877 |
const QSpanData *data, int y, int x, int length) |
878 |
{ |
878 |
{ |
Lines 1110-1116
static const QRgba64 *QT_FASTCALL fetchTransformed64(QRgba64 *buffer, const Oper
Link Here
|
1110 |
} |
1110 |
} |
1111 |
#endif |
1111 |
#endif |
1112 |
|
1112 |
|
1113 |
#if QT_CONFIG(raster_fp) |
1113 |
#if 0 |
1114 |
template<TextureBlendType blendType> /* either BlendTransformed or BlendTransformedTiled */ |
1114 |
template<TextureBlendType blendType> /* either BlendTransformed or BlendTransformedTiled */ |
1115 |
static const QRgbaFloat32 *QT_FASTCALL fetchTransformedFP(QRgbaFloat32 *buffer, const Operator *, const QSpanData *data, |
1115 |
static const QRgbaFloat32 *QT_FASTCALL fetchTransformedFP(QRgbaFloat32 *buffer, const Operator *, const QSpanData *data, |
1116 |
int y, int x, int length) |
1116 |
int y, int x, int length) |
Lines 2809-2815
static const QRgba64 *QT_FASTCALL fetchTransformedBilinear64(QRgba64 *buffer, co
Link Here
|
2809 |
} |
2809 |
} |
2810 |
#endif |
2810 |
#endif |
2811 |
|
2811 |
|
2812 |
#if QT_CONFIG(raster_fp) |
2812 |
#if 0 |
2813 |
static void interpolate_simple_rgba32f(QRgbaFloat32 *b, const QRgbaFloat32 *buf1, const QRgbaFloat32 *buf2, int len, |
2813 |
static void interpolate_simple_rgba32f(QRgbaFloat32 *b, const QRgbaFloat32 *buf1, const QRgbaFloat32 *buf2, int len, |
2814 |
int &fx, int fdx, |
2814 |
int &fx, int fdx, |
2815 |
int &fy, int fdy) |
2815 |
int &fy, int fdy) |
Lines 3067-3073
static const QRgbaFloat32 *QT_FASTCALL fetchTransformedBilinearFP(QRgbaFloat32 *
Link Here
|
3067 |
return fetchTransformedBilinearFP_uint32<blendType>(buffer, data, y, x, length); |
3067 |
return fetchTransformedBilinearFP_uint32<blendType>(buffer, data, y, x, length); |
3068 |
} |
3068 |
} |
3069 |
} |
3069 |
} |
3070 |
#endif // QT_CONFIG(raster_fp) |
3070 |
#endif // 0 |
3071 |
|
3071 |
|
3072 |
// FetchUntransformed can have more specialized methods added depending on SIMD features. |
3072 |
// FetchUntransformed can have more specialized methods added depending on SIMD features. |
3073 |
static SourceFetchProc sourceFetchUntransformed[QImage::NImageFormats] = { |
3073 |
static SourceFetchProc sourceFetchUntransformed[QImage::NImageFormats] = { |
Lines 3185-3191
static inline SourceFetchProc64 getSourceFetch64(TextureBlendType blendType, QIm
Link Here
|
3185 |
} |
3185 |
} |
3186 |
#endif |
3186 |
#endif |
3187 |
|
3187 |
|
3188 |
#if QT_CONFIG(raster_fp) |
3188 |
#if 0 |
3189 |
static const SourceFetchProcFP sourceFetchGenericFP[NBlendTypes] = { |
3189 |
static const SourceFetchProcFP sourceFetchGenericFP[NBlendTypes] = { |
3190 |
fetchUntransformedFP, // Untransformed |
3190 |
fetchUntransformedFP, // Untransformed |
3191 |
fetchUntransformedFP, // Tiled |
3191 |
fetchUntransformedFP, // Tiled |
Lines 3219-3225
static const QRgba64& qt_gradient_pixel64_fixed(const QGradientData *data, int f
Link Here
|
3219 |
} |
3219 |
} |
3220 |
#endif |
3220 |
#endif |
3221 |
|
3221 |
|
3222 |
#if QT_CONFIG(raster_fp) |
3222 |
#if 0 |
3223 |
static inline QRgbaFloat32 qt_gradient_pixelFP(const QGradientData *data, qreal pos) |
3223 |
static inline QRgbaFloat32 qt_gradient_pixelFP(const QGradientData *data, qreal pos) |
3224 |
{ |
3224 |
{ |
3225 |
int ipos = int(pos * (GRADIENT_STOPTABLE_SIZE - 1) + qreal(0.5)); |
3225 |
int ipos = int(pos * (GRADIENT_STOPTABLE_SIZE - 1) + qreal(0.5)); |
Lines 3290-3296
class GradientBase64
Link Here
|
3290 |
}; |
3290 |
}; |
3291 |
#endif |
3291 |
#endif |
3292 |
|
3292 |
|
3293 |
#if QT_CONFIG(raster_fp) |
3293 |
#if 0 |
3294 |
class GradientBaseFP |
3294 |
class GradientBaseFP |
3295 |
{ |
3295 |
{ |
3296 |
public: |
3296 |
public: |
Lines 3399-3405
static const QRgba64 * QT_FASTCALL qt_fetch_linear_gradient_rgb64(QRgba64 *buffe
Link Here
|
3399 |
return qt_fetch_linear_gradient_template<GradientBase64, QRgba64>(buffer, op, data, y, x, length); |
3399 |
return qt_fetch_linear_gradient_template<GradientBase64, QRgba64>(buffer, op, data, y, x, length); |
3400 |
} |
3400 |
} |
3401 |
#endif |
3401 |
#endif |
3402 |
#if QT_CONFIG(raster_fp) |
3402 |
#if 0 |
3403 |
static const QRgbaFloat32 * QT_FASTCALL qt_fetch_linear_gradient_rgbfp(QRgbaFloat32 *buffer, const Operator *op, const QSpanData *data, |
3403 |
static const QRgbaFloat32 * QT_FASTCALL qt_fetch_linear_gradient_rgbfp(QRgbaFloat32 *buffer, const Operator *op, const QSpanData *data, |
3404 |
int y, int x, int length) |
3404 |
int y, int x, int length) |
3405 |
{ |
3405 |
{ |
Lines 3480-3486
const QRgba64 * QT_FASTCALL qt_fetch_radial_gradient_rgb64(QRgba64 *buffer, cons
Link Here
|
3480 |
} |
3480 |
} |
3481 |
#endif |
3481 |
#endif |
3482 |
|
3482 |
|
3483 |
#if QT_CONFIG(raster_fp) |
3483 |
#if 0 |
3484 |
static const QRgbaFloat32 * QT_FASTCALL qt_fetch_radial_gradient_rgbfp(QRgbaFloat32 *buffer, const Operator *op, const QSpanData *data, |
3484 |
static const QRgbaFloat32 * QT_FASTCALL qt_fetch_radial_gradient_rgbfp(QRgbaFloat32 *buffer, const Operator *op, const QSpanData *data, |
3485 |
int y, int x, int length) |
3485 |
int y, int x, int length) |
3486 |
{ |
3486 |
{ |
Lines 3553-3559
static const QRgba64 * QT_FASTCALL qt_fetch_conical_gradient_rgb64(QRgba64 *buff
Link Here
|
3553 |
} |
3553 |
} |
3554 |
#endif |
3554 |
#endif |
3555 |
|
3555 |
|
3556 |
#if QT_CONFIG(raster_fp) |
3556 |
#if 0 |
3557 |
static const QRgbaFloat32 * QT_FASTCALL qt_fetch_conical_gradient_rgbfp(QRgbaFloat32 *buffer, const Operator *, const QSpanData *data, |
3557 |
static const QRgbaFloat32 * QT_FASTCALL qt_fetch_conical_gradient_rgbfp(QRgbaFloat32 *buffer, const Operator *, const QSpanData *data, |
3558 |
int y, int x, int length) |
3558 |
int y, int x, int length) |
3559 |
{ |
3559 |
{ |
Lines 3569-3575
static const CompositionFunctionSolid *functionForModeSolid = qt_functionForMode
Link Here
|
3569 |
#if 0 |
3569 |
#if 0 |
3570 |
static const CompositionFunctionSolid64 *functionForModeSolid64 = qt_functionForModeSolid64_C; |
3570 |
static const CompositionFunctionSolid64 *functionForModeSolid64 = qt_functionForModeSolid64_C; |
3571 |
#endif |
3571 |
#endif |
3572 |
#if QT_CONFIG(raster_fp) |
3572 |
#if 0 |
3573 |
static const CompositionFunctionSolidFP *functionForModeSolidFP = qt_functionForModeSolidFP_C; |
3573 |
static const CompositionFunctionSolidFP *functionForModeSolidFP = qt_functionForModeSolidFP_C; |
3574 |
#endif |
3574 |
#endif |
3575 |
|
3575 |
|
Lines 3581-3587
static const CompositionFunction *functionForMode = qt_functionForMode_C;
Link Here
|
3581 |
#if 0 |
3581 |
#if 0 |
3582 |
static const CompositionFunction64 *functionForMode64 = qt_functionForMode64_C; |
3582 |
static const CompositionFunction64 *functionForMode64 = qt_functionForMode64_C; |
3583 |
#endif |
3583 |
#endif |
3584 |
#if QT_CONFIG(raster_fp) |
3584 |
#if 0 |
3585 |
static const CompositionFunctionFP *functionForModeFP = qt_functionForModeFP_C; |
3585 |
static const CompositionFunctionFP *functionForModeFP = qt_functionForModeFP_C; |
3586 |
#endif |
3586 |
#endif |
3587 |
|
3587 |
|
Lines 3627-3633
static inline Operator getOperator(const QSpanData *data, const QT_FT_Span *span
Link Here
|
3627 |
#if 0 |
3627 |
#if 0 |
3628 |
op.srcFetch64 = qt_fetch_linear_gradient_rgb64; |
3628 |
op.srcFetch64 = qt_fetch_linear_gradient_rgb64; |
3629 |
#endif |
3629 |
#endif |
3630 |
#if QT_CONFIG(raster_fp) |
3630 |
#if 0 |
3631 |
op.srcFetchFP = qt_fetch_linear_gradient_rgbfp; |
3631 |
op.srcFetchFP = qt_fetch_linear_gradient_rgbfp; |
3632 |
#endif |
3632 |
#endif |
3633 |
break; |
3633 |
break; |
Lines 3638-3644
static inline Operator getOperator(const QSpanData *data, const QT_FT_Span *span
Link Here
|
3638 |
#if 0 |
3638 |
#if 0 |
3639 |
op.srcFetch64 = qt_fetch_radial_gradient_rgb64; |
3639 |
op.srcFetch64 = qt_fetch_radial_gradient_rgb64; |
3640 |
#endif |
3640 |
#endif |
3641 |
#if QT_CONFIG(raster_fp) |
3641 |
#if 0 |
3642 |
op.srcFetchFP = qt_fetch_radial_gradient_rgbfp; |
3642 |
op.srcFetchFP = qt_fetch_radial_gradient_rgbfp; |
3643 |
#endif |
3643 |
#endif |
3644 |
break; |
3644 |
break; |
Lines 3648-3654
static inline Operator getOperator(const QSpanData *data, const QT_FT_Span *span
Link Here
|
3648 |
#if 0 |
3648 |
#if 0 |
3649 |
op.srcFetch64 = qt_fetch_conical_gradient_rgb64; |
3649 |
op.srcFetch64 = qt_fetch_conical_gradient_rgb64; |
3650 |
#endif |
3650 |
#endif |
3651 |
#if QT_CONFIG(raster_fp) |
3651 |
#if 0 |
3652 |
op.srcFetchFP = qt_fetch_conical_gradient_rgbfp; |
3652 |
op.srcFetchFP = qt_fetch_conical_gradient_rgbfp; |
3653 |
#endif |
3653 |
#endif |
3654 |
break; |
3654 |
break; |
Lines 3658-3664
static inline Operator getOperator(const QSpanData *data, const QT_FT_Span *span
Link Here
|
3658 |
#if 0 |
3658 |
#if 0 |
3659 |
op.srcFetch64 = getSourceFetch64(getBlendType(data), data->texture.format);; |
3659 |
op.srcFetch64 = getSourceFetch64(getBlendType(data), data->texture.format);; |
3660 |
#endif |
3660 |
#endif |
3661 |
#if QT_CONFIG(raster_fp) |
3661 |
#if 0 |
3662 |
op.srcFetchFP = getSourceFetchFP(getBlendType(data), data->texture.format); |
3662 |
op.srcFetchFP = getSourceFetchFP(getBlendType(data), data->texture.format); |
3663 |
#endif |
3663 |
#endif |
3664 |
break; |
3664 |
break; |
Lines 3669-3675
static inline Operator getOperator(const QSpanData *data, const QT_FT_Span *span
Link Here
|
3669 |
#if !0 |
3669 |
#if !0 |
3670 |
op.srcFetch64 = nullptr; |
3670 |
op.srcFetch64 = nullptr; |
3671 |
#endif |
3671 |
#endif |
3672 |
#if !QT_CONFIG(raster_fp) |
3672 |
#if !0 |
3673 |
op.srcFetchFP = nullptr; |
3673 |
op.srcFetchFP = nullptr; |
3674 |
#endif |
3674 |
#endif |
3675 |
|
3675 |
|
Lines 3683-3689
static inline Operator getOperator(const QSpanData *data, const QT_FT_Span *span
Link Here
|
3683 |
#else |
3683 |
#else |
3684 |
op.destFetch64 = nullptr; |
3684 |
op.destFetch64 = nullptr; |
3685 |
#endif |
3685 |
#endif |
3686 |
#if QT_CONFIG(raster_fp) |
3686 |
#if 0 |
3687 |
op.destFetchFP = destFetchProcFP[data->rasterBuffer->format]; |
3687 |
op.destFetchFP = destFetchProcFP[data->rasterBuffer->format]; |
3688 |
#else |
3688 |
#else |
3689 |
op.destFetchFP = nullptr; |
3689 |
op.destFetchFP = nullptr; |
Lines 3708-3714
static inline Operator getOperator(const QSpanData *data, const QT_FT_Span *span
Link Here
|
3708 |
if (op.destFetch64 != destFetchRGB64) |
3708 |
if (op.destFetch64 != destFetchRGB64) |
3709 |
op.destFetch64 = destFetch64Undefined; |
3709 |
op.destFetch64 = destFetch64Undefined; |
3710 |
#endif |
3710 |
#endif |
3711 |
#if QT_CONFIG(raster_fp) |
3711 |
#if 0 |
3712 |
if (op.destFetchFP != destFetchRGBFP) |
3712 |
if (op.destFetchFP != destFetchRGBFP) |
3713 |
op.destFetchFP = destFetchFPUndefined; |
3713 |
op.destFetchFP = destFetchFPUndefined; |
3714 |
#endif |
3714 |
#endif |
Lines 3727-3733
static inline Operator getOperator(const QSpanData *data, const QT_FT_Span *span
Link Here
|
3727 |
op.funcSolid64 = nullptr; |
3727 |
op.funcSolid64 = nullptr; |
3728 |
op.func64 = nullptr; |
3728 |
op.func64 = nullptr; |
3729 |
#endif |
3729 |
#endif |
3730 |
#if QT_CONFIG(raster_fp) |
3730 |
#if 0 |
3731 |
op.destStoreFP = destStoreFP; |
3731 |
op.destStoreFP = destStoreFP; |
3732 |
op.funcSolidFP = functionForModeSolidFP[op.mode]; |
3732 |
op.funcSolidFP = functionForModeSolidFP[op.mode]; |
3733 |
op.funcFP = functionForModeFP[op.mode]; |
3733 |
op.funcFP = functionForModeFP[op.mode]; |
Lines 3922-3928
static void blend_color_generic_rgb64(int count, const QT_FT_Span *spans, void *
Link Here
|
3922 |
|
3922 |
|
3923 |
static void blend_color_generic_fp(int count, const QT_FT_Span *spans, void *userData) |
3923 |
static void blend_color_generic_fp(int count, const QT_FT_Span *spans, void *userData) |
3924 |
{ |
3924 |
{ |
3925 |
#if QT_CONFIG(raster_fp) |
3925 |
#if 0 |
3926 |
QSpanData *data = reinterpret_cast<QSpanData *>(userData); |
3926 |
QSpanData *data = reinterpret_cast<QSpanData *>(userData); |
3927 |
const Operator op = getOperator(data, nullptr, 0); |
3927 |
const Operator op = getOperator(data, nullptr, 0); |
3928 |
if (!op.funcSolidFP || !op.destFetchFP) { |
3928 |
if (!op.funcSolidFP || !op.destFetchFP) { |
Lines 4100-4106
class BlendSrcGenericRGB64 : public QBlendBase
Link Here
|
4100 |
}; |
4100 |
}; |
4101 |
#endif |
4101 |
#endif |
4102 |
|
4102 |
|
4103 |
#if QT_CONFIG(raster_fp) |
4103 |
#if 0 |
4104 |
class BlendSrcGenericRGBFP : public QBlendBase |
4104 |
class BlendSrcGenericRGBFP : public QBlendBase |
4105 |
{ |
4105 |
{ |
4106 |
public: |
4106 |
public: |
Lines 4160-4166
static void blend_src_generic_rgb64(int count, const QT_FT_Span *spans, void *us
Link Here
|
4160 |
} |
4160 |
} |
4161 |
#endif |
4161 |
#endif |
4162 |
|
4162 |
|
4163 |
#if QT_CONFIG(raster_fp) |
4163 |
#if 0 |
4164 |
static void blend_src_generic_fp(int count, const QT_FT_Span *spans, void *userData) |
4164 |
static void blend_src_generic_fp(int count, const QT_FT_Span *spans, void *userData) |
4165 |
{ |
4165 |
{ |
4166 |
QSpanData *data = reinterpret_cast<QSpanData *>(userData); |
4166 |
QSpanData *data = reinterpret_cast<QSpanData *>(userData); |
Lines 4286-4292
static void blend_untransformed_generic_rgb64(int count, const QT_FT_Span *spans
Link Here
|
4286 |
} |
4286 |
} |
4287 |
#endif |
4287 |
#endif |
4288 |
|
4288 |
|
4289 |
#if QT_CONFIG(raster_fp) |
4289 |
#if 0 |
4290 |
static void blend_untransformed_generic_fp(int count, const QT_FT_Span *spans, void *userData) |
4290 |
static void blend_untransformed_generic_fp(int count, const QT_FT_Span *spans, void *userData) |
4291 |
{ |
4291 |
{ |
4292 |
QSpanData *data = reinterpret_cast<QSpanData *>(userData); |
4292 |
QSpanData *data = reinterpret_cast<QSpanData *>(userData); |
Lines 4658-4664
static void blend_tiled_generic_rgb64(int count, const QT_FT_Span *spans, void *
Link Here
|
4658 |
} |
4658 |
} |
4659 |
#endif |
4659 |
#endif |
4660 |
|
4660 |
|
4661 |
#if QT_CONFIG(raster_fp) |
4661 |
#if 0 |
4662 |
static void blend_tiled_generic_fp(int count, const QT_FT_Span *spans, void *userData) |
4662 |
static void blend_tiled_generic_fp(int count, const QT_FT_Span *spans, void *userData) |
4663 |
{ |
4663 |
{ |
4664 |
QSpanData *data = reinterpret_cast<QSpanData *>(userData); |
4664 |
QSpanData *data = reinterpret_cast<QSpanData *>(userData); |
Lines 4908-4914
static const ProcessSpans processTextureSpansGeneric64[NBlendTypes] = {
Link Here
|
4908 |
}; |
4908 |
}; |
4909 |
#endif |
4909 |
#endif |
4910 |
|
4910 |
|
4911 |
#if QT_CONFIG(raster_fp) |
4911 |
#if 0 |
4912 |
static const ProcessSpans processTextureSpansGenericFP[NBlendTypes] = { |
4912 |
static const ProcessSpans processTextureSpansGenericFP[NBlendTypes] = { |
4913 |
blend_untransformed_generic_fp, // Untransformed |
4913 |
blend_untransformed_generic_fp, // Untransformed |
4914 |
blend_tiled_generic_fp, // Tiled |
4914 |
blend_tiled_generic_fp, // Tiled |
Lines 4944-4950
void qBlendTexture(int count, const QT_FT_Span *spans, void *userData)
Link Here
|
4944 |
case QImage::Format_RGBA64: |
4944 |
case QImage::Format_RGBA64: |
4945 |
case QImage::Format_RGBA64_Premultiplied: |
4945 |
case QImage::Format_RGBA64_Premultiplied: |
4946 |
case QImage::Format_Grayscale16: |
4946 |
case QImage::Format_Grayscale16: |
4947 |
#if !QT_CONFIG(raster_fp) |
4947 |
#if !0 |
4948 |
case QImage::Format_RGBX16FPx4: |
4948 |
case QImage::Format_RGBX16FPx4: |
4949 |
case QImage::Format_RGBA16FPx4: |
4949 |
case QImage::Format_RGBA16FPx4: |
4950 |
case QImage::Format_RGBA16FPx4_Premultiplied: |
4950 |
case QImage::Format_RGBA16FPx4_Premultiplied: |
Lines 4956-4962
void qBlendTexture(int count, const QT_FT_Span *spans, void *userData)
Link Here
|
4956 |
proc = processTextureSpansGeneric64[blendType]; |
4956 |
proc = processTextureSpansGeneric64[blendType]; |
4957 |
break; |
4957 |
break; |
4958 |
#endif // 0 |
4958 |
#endif // 0 |
4959 |
#if QT_CONFIG(raster_fp) |
4959 |
#if 0 |
4960 |
case QImage::Format_RGBX16FPx4: |
4960 |
case QImage::Format_RGBX16FPx4: |
4961 |
case QImage::Format_RGBA16FPx4: |
4961 |
case QImage::Format_RGBA16FPx4: |
4962 |
case QImage::Format_RGBA16FPx4_Premultiplied: |
4962 |
case QImage::Format_RGBA16FPx4_Premultiplied: |
Lines 5066-5072
void qBlendGradient(int count, const QT_FT_Span *spans, void *userData)
Link Here
|
5066 |
case QImage::Format_RGBX64: |
5066 |
case QImage::Format_RGBX64: |
5067 |
case QImage::Format_RGBA64: |
5067 |
case QImage::Format_RGBA64: |
5068 |
case QImage::Format_RGBA64_Premultiplied: |
5068 |
case QImage::Format_RGBA64_Premultiplied: |
5069 |
#if !QT_CONFIG(raster_fp) |
5069 |
#if !0 |
5070 |
case QImage::Format_RGBX16FPx4: |
5070 |
case QImage::Format_RGBX16FPx4: |
5071 |
case QImage::Format_RGBA16FPx4: |
5071 |
case QImage::Format_RGBA16FPx4: |
5072 |
case QImage::Format_RGBA16FPx4_Premultiplied: |
5072 |
case QImage::Format_RGBA16FPx4_Premultiplied: |
Lines 5079-5085
void qBlendGradient(int count, const QT_FT_Span *spans, void *userData)
Link Here
|
5079 |
return blend_vertical_gradient<blend_color_generic_rgb64>(count, spans, userData); |
5079 |
return blend_vertical_gradient<blend_color_generic_rgb64>(count, spans, userData); |
5080 |
return blend_src_generic_rgb64(count, spans, userData); |
5080 |
return blend_src_generic_rgb64(count, spans, userData); |
5081 |
#endif // 0 |
5081 |
#endif // 0 |
5082 |
#if QT_CONFIG(raster_fp) |
5082 |
#if 0 |
5083 |
case QImage::Format_RGBX16FPx4: |
5083 |
case QImage::Format_RGBX16FPx4: |
5084 |
case QImage::Format_RGBA16FPx4: |
5084 |
case QImage::Format_RGBA16FPx4: |
5085 |
case QImage::Format_RGBA16FPx4_Premultiplied: |
5085 |
case QImage::Format_RGBA16FPx4_Premultiplied: |
Lines 6463-6476
static void qInitDrawhelperFunctions()
Link Here
|
6463 |
destStoreProc64[QImage::Format_ARGB32] = destStore64ARGB32_sse4; |
6463 |
destStoreProc64[QImage::Format_ARGB32] = destStore64ARGB32_sse4; |
6464 |
destStoreProc64[QImage::Format_RGBA8888] = destStore64RGBA8888_sse4; |
6464 |
destStoreProc64[QImage::Format_RGBA8888] = destStore64RGBA8888_sse4; |
6465 |
#endif |
6465 |
#endif |
6466 |
#if QT_CONFIG(raster_fp) |
6466 |
#if 0 |
6467 |
extern const QRgbaFloat32 *QT_FASTCALL fetchRGBA32FToRGBA32F_sse4(QRgbaFloat32 *buffer, const uchar *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6467 |
extern const QRgbaFloat32 *QT_FASTCALL fetchRGBA32FToRGBA32F_sse4(QRgbaFloat32 *buffer, const uchar *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6468 |
extern void QT_FASTCALL storeRGBX32FFromRGBA32F_sse4(uchar *dest, const QRgbaFloat32 *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6468 |
extern void QT_FASTCALL storeRGBX32FFromRGBA32F_sse4(uchar *dest, const QRgbaFloat32 *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6469 |
extern void QT_FASTCALL storeRGBA32FFromRGBA32F_sse4(uchar *dest, const QRgbaFloat32 *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6469 |
extern void QT_FASTCALL storeRGBA32FFromRGBA32F_sse4(uchar *dest, const QRgbaFloat32 *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6470 |
qFetchToRGBA32F[QImage::Format_RGBA32FPx4] = fetchRGBA32FToRGBA32F_sse4; |
6470 |
qFetchToRGBA32F[QImage::Format_RGBA32FPx4] = fetchRGBA32FToRGBA32F_sse4; |
6471 |
qStoreFromRGBA32F[QImage::Format_RGBX32FPx4] = storeRGBX32FFromRGBA32F_sse4; |
6471 |
qStoreFromRGBA32F[QImage::Format_RGBX32FPx4] = storeRGBX32FFromRGBA32F_sse4; |
6472 |
qStoreFromRGBA32F[QImage::Format_RGBA32FPx4] = storeRGBA32FFromRGBA32F_sse4; |
6472 |
qStoreFromRGBA32F[QImage::Format_RGBA32FPx4] = storeRGBA32FFromRGBA32F_sse4; |
6473 |
#endif // QT_CONFIG(raster_fp) |
6473 |
#endif // 0 |
6474 |
} |
6474 |
} |
6475 |
#endif |
6475 |
#endif |
6476 |
|
6476 |
|
Lines 6507-6513
static void qInitDrawhelperFunctions()
Link Here
|
6507 |
qt_functionForMode64_C[QPainter::CompositionMode_SourceOver] = comp_func_SourceOver_rgb64_avx2; |
6507 |
qt_functionForMode64_C[QPainter::CompositionMode_SourceOver] = comp_func_SourceOver_rgb64_avx2; |
6508 |
qt_functionForModeSolid64_C[QPainter::CompositionMode_SourceOver] = comp_func_solid_SourceOver_rgb64_avx2; |
6508 |
qt_functionForModeSolid64_C[QPainter::CompositionMode_SourceOver] = comp_func_solid_SourceOver_rgb64_avx2; |
6509 |
#endif |
6509 |
#endif |
6510 |
#if QT_CONFIG(raster_fp) |
6510 |
#if 0 |
6511 |
extern void QT_FASTCALL comp_func_Source_rgbafp_avx2(QRgbaFloat32 *destPixels, const QRgbaFloat32 *srcPixels, int length, uint const_alpha); |
6511 |
extern void QT_FASTCALL comp_func_Source_rgbafp_avx2(QRgbaFloat32 *destPixels, const QRgbaFloat32 *srcPixels, int length, uint const_alpha); |
6512 |
extern void QT_FASTCALL comp_func_SourceOver_rgbafp_avx2(QRgbaFloat32 *destPixels, const QRgbaFloat32 *srcPixels, int length, uint const_alpha); |
6512 |
extern void QT_FASTCALL comp_func_SourceOver_rgbafp_avx2(QRgbaFloat32 *destPixels, const QRgbaFloat32 *srcPixels, int length, uint const_alpha); |
6513 |
extern void QT_FASTCALL comp_func_solid_Source_rgbafp_avx2(QRgbaFloat32 *destPixels, int length, QRgbaFloat32 color, uint const_alpha); |
6513 |
extern void QT_FASTCALL comp_func_solid_Source_rgbafp_avx2(QRgbaFloat32 *destPixels, int length, QRgbaFloat32 color, uint const_alpha); |
Lines 6569-6582
static void qInitDrawhelperFunctions()
Link Here
|
6569 |
qPixelLayouts[QImage::Format_RGBA16FPx4_Premultiplied].fetchToRGBA64PM = fetchRGBA16FPMToRGBA64PM_avx2; |
6569 |
qPixelLayouts[QImage::Format_RGBA16FPx4_Premultiplied].fetchToRGBA64PM = fetchRGBA16FPMToRGBA64PM_avx2; |
6570 |
qPixelLayouts[QImage::Format_RGBA16FPx4_Premultiplied].storeFromARGB32PM = storeRGB16FFromRGB32_avx2; |
6570 |
qPixelLayouts[QImage::Format_RGBA16FPx4_Premultiplied].storeFromARGB32PM = storeRGB16FFromRGB32_avx2; |
6571 |
qPixelLayouts[QImage::Format_RGBA16FPx4_Premultiplied].storeFromRGB32 = storeRGB16FFromRGB32_avx2; |
6571 |
qPixelLayouts[QImage::Format_RGBA16FPx4_Premultiplied].storeFromRGB32 = storeRGB16FFromRGB32_avx2; |
6572 |
#if QT_CONFIG(raster_fp) |
6572 |
#if 0 |
6573 |
extern const QRgbaFloat32 *QT_FASTCALL fetchRGBA16FToRGBA32F_avx2(QRgbaFloat32 *buffer, const uchar *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6573 |
extern const QRgbaFloat32 *QT_FASTCALL fetchRGBA16FToRGBA32F_avx2(QRgbaFloat32 *buffer, const uchar *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6574 |
extern void QT_FASTCALL storeRGBX16FFromRGBA32F_avx2(uchar *dest, const QRgbaFloat32 *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6574 |
extern void QT_FASTCALL storeRGBX16FFromRGBA32F_avx2(uchar *dest, const QRgbaFloat32 *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6575 |
extern void QT_FASTCALL storeRGBA16FFromRGBA32F_avx2(uchar *dest, const QRgbaFloat32 *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6575 |
extern void QT_FASTCALL storeRGBA16FFromRGBA32F_avx2(uchar *dest, const QRgbaFloat32 *src, int index, int count, const QList<QRgb> *, QDitherInfo *); |
6576 |
qFetchToRGBA32F[QImage::Format_RGBA16FPx4] = fetchRGBA16FToRGBA32F_avx2; |
6576 |
qFetchToRGBA32F[QImage::Format_RGBA16FPx4] = fetchRGBA16FToRGBA32F_avx2; |
6577 |
qStoreFromRGBA32F[QImage::Format_RGBX16FPx4] = storeRGBX16FFromRGBA32F_avx2; |
6577 |
qStoreFromRGBA32F[QImage::Format_RGBX16FPx4] = storeRGBX16FFromRGBA32F_avx2; |
6578 |
qStoreFromRGBA32F[QImage::Format_RGBA16FPx4] = storeRGBA16FFromRGBA32F_avx2; |
6578 |
qStoreFromRGBA32F[QImage::Format_RGBA16FPx4] = storeRGBA16FFromRGBA32F_avx2; |
6579 |
#endif // QT_CONFIG(raster_fp) |
6579 |
#endif // 0 |
6580 |
} |
6580 |
} |
6581 |
|
6581 |
|
6582 |
#endif |
6582 |
#endif |