45 #if defined(Q_OS_WINCE) 46 # include "qplatformdefs.h" 48 #if !defined(__IWMMXT__) && !defined(Q_OS_WINCE) 49 # include <xmmintrin.h> 50 #elif defined(Q_OS_WINCE_STD) && defined(_X86_) 51 # pragma warning(disable: 4391) 52 # include <xmmintrin.h> 55 #include <private/qdrawhelper_sse_p.h> 60 #define _MM_SHUFFLE(fp3,fp2,fp1,fp0) \ 61 (((fp3) << 6) | ((fp2) << 4) | ((fp1) << 2) | (fp0)) 67 return _mm_shuffle_pi16 (x, _MM_SHUFFLE(3, 3, 3, 3));
71 m64 t = _mm_unpacklo_pi8(_mm_cvtsi32_si64(x), mmx_0x0000);
72 return _mm_shuffle_pi16(t, _MM_SHUFFLE(0, 0, 0, 0));
75 static inline void end() {
80 comp_func_solid_SourceOver<QIWMMXTIntrinsics>,
81 comp_func_solid_DestinationOver<QIWMMXTIntrinsics>,
82 comp_func_solid_Clear<QIWMMXTIntrinsics>,
83 comp_func_solid_Source<QIWMMXTIntrinsics>,
85 comp_func_solid_SourceIn<QIWMMXTIntrinsics>,
86 comp_func_solid_DestinationIn<QIWMMXTIntrinsics>,
87 comp_func_solid_SourceOut<QIWMMXTIntrinsics>,
88 comp_func_solid_DestinationOut<QIWMMXTIntrinsics>,
89 comp_func_solid_SourceAtop<QIWMMXTIntrinsics>,
90 comp_func_solid_DestinationAtop<QIWMMXTIntrinsics>,
91 comp_func_solid_XOR<QIWMMXTIntrinsics>,
92 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
93 rasterop_solid_SourceOrDestination<QIWMMXTIntrinsics>,
94 rasterop_solid_SourceAndDestination<QIWMMXTIntrinsics>,
95 rasterop_solid_SourceXorDestination<QIWMMXTIntrinsics>,
96 rasterop_solid_NotSourceAndNotDestination<QIWMMXTIntrinsics>,
97 rasterop_solid_NotSourceOrNotDestination<QIWMMXTIntrinsics>,
98 rasterop_solid_NotSourceXorDestination<QIWMMXTIntrinsics>,
99 rasterop_solid_NotSource<QIWMMXTIntrinsics>,
100 rasterop_solid_NotSourceAndDestination<QIWMMXTIntrinsics>,
101 rasterop_solid_SourceAndNotDestination<QIWMMXTIntrinsics>
105 comp_func_SourceOver<QIWMMXTIntrinsics>,
106 comp_func_DestinationOver<QIWMMXTIntrinsics>,
107 comp_func_Clear<QIWMMXTIntrinsics>,
108 comp_func_Source<QIWMMXTIntrinsics>,
110 comp_func_SourceIn<QIWMMXTIntrinsics>,
111 comp_func_DestinationIn<QIWMMXTIntrinsics>,
112 comp_func_SourceOut<QIWMMXTIntrinsics>,
113 comp_func_DestinationOut<QIWMMXTIntrinsics>,
114 comp_func_SourceAtop<QIWMMXTIntrinsics>,
115 comp_func_DestinationAtop<QIWMMXTIntrinsics>,
116 comp_func_XOR<QIWMMXTIntrinsics>,
140 void qt_blend_color_argb_iwmmxt(
int count,
const QSpan *spans,
void *userData)
142 qt_blend_color_argb_x86<QIWMMXTIntrinsics>(count, spans, userData,
146 #endif // QT_HAVE_IWMMXT static const int numCompositionFunctions
#define QT_END_NAMESPACE
This macro expands to.
void QT_FASTCALL comp_func_Difference(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_Screen(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL rasterop_SourceXorDestination(uint *dest, const uint *src, int length, uint const_alpha)
static m64 _load_alpha(uint x, const m64 &)
void QT_FASTCALL comp_func_Destination(uint *, const uint *, int, uint)
void QT_FASTCALL rasterop_NotSourceOrNotDestination(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL rasterop_SourceOrDestination(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_HardLight(uint *dest, const uint *src, int length, uint const_alpha)
#define QT_BEGIN_NAMESPACE
This macro expands to.
void QT_FASTCALL rasterop_NotSourceXorDestination(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL rasterop_NotSourceAndNotDestination(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_Multiply(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_ColorDodge(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_Overlay(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_ColorBurn(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_Plus(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_Exclusion(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_Darken(uint *dest, const uint *src, int length, uint const_alpha)
void(QT_FASTCALL * CompositionFunction)(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL rasterop_NotSource(uint *dest, const uint *src, int length, uint const_alpha)
void(QT_FASTCALL * CompositionFunctionSolid)(uint *dest, int length, uint color, uint const_alpha)
void QT_FASTCALL rasterop_SourceAndNotDestination(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL rasterop_NotSourceAndDestination(uint *dest, const uint *src, int length, uint const_alpha)
static const KeyPair *const end
void QT_FASTCALL comp_func_Lighten(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL rasterop_SourceAndDestination(uint *dest, const uint *src, int length, uint const_alpha)
void QT_FASTCALL comp_func_SoftLight(uint *dest, const uint *src, int length, uint const_alpha)