|
Krita Source Code Documentation
|
#include <KoStreamedMath.h>
Public Types | |
| using | float_v = xsimd::batch<float, _impl> |
| using | int_v = xsimd::batch<int, _impl> |
| using | uint_v = xsimd::batch<unsigned int, _impl> |
Public Member Functions | |
| ALWAYS_INLINE void | clearPixels (quint8 *dataDst) |
| ALWAYS_INLINE void | copyPixels (const quint8 *dataSrc, quint8 *dataDst) |
| PixelWrapper () | |
| ALWAYS_INLINE void | read (const void *src, float_v &dst_c1, float_v &dst_c2, float_v &dst_c3, float_v &dst_alpha) |
| ALWAYS_INLINE void | write (void *dst, const float_v &c1, const float_v &c2, const float_v &c3, const float_v &a) |
Static Public Member Functions | |
| static ALWAYS_INLINE void | denormalizeAlpha (float &alpha) |
| static ALWAYS_INLINE quint16 | lerpMixedUintFloat (quint16 a, quint16 b, float alpha) |
| static ALWAYS_INLINE void | normalizeAlpha (float &alpha) |
| static ALWAYS_INLINE quint16 | roundFloatToUint (float x) |
Public Attributes | |
| const uint_v | mask |
| const float_v | uint16Max |
| const float_v | uint16Rec1 |
Definition at line 567 of file KoStreamedMath.h.
| using PixelWrapper< quint16, _impl >::float_v = xsimd::batch<float, _impl> |
Definition at line 570 of file KoStreamedMath.h.
| using PixelWrapper< quint16, _impl >::int_v = xsimd::batch<int, _impl> |
Definition at line 568 of file KoStreamedMath.h.
| using PixelWrapper< quint16, _impl >::uint_v = xsimd::batch<unsigned int, _impl> |
Definition at line 569 of file KoStreamedMath.h.
|
inline |
Definition at line 601 of file KoStreamedMath.h.
|
inline |
Definition at line 661 of file KoStreamedMath.h.
|
inline |
Definition at line 667 of file KoStreamedMath.h.
|
inlinestatic |
Definition at line 595 of file KoStreamedMath.h.
|
inlinestatic |
Definition at line 576 of file KoStreamedMath.h.
References OptiRound< _impl, result_type >::roundScalar().
|
inlinestatic |
Definition at line 588 of file KoStreamedMath.h.
|
inline |
Definition at line 608 of file KoStreamedMath.h.
|
inlinestatic |
Definition at line 582 of file KoStreamedMath.h.
References OptiRound< _impl, result_type >::roundScalar().
|
inline |
Definition at line 635 of file KoStreamedMath.h.
| const uint_v PixelWrapper< quint16, _impl >::mask |
Definition at line 672 of file KoStreamedMath.h.
| const float_v PixelWrapper< quint16, _impl >::uint16Max |
Definition at line 673 of file KoStreamedMath.h.
| const float_v PixelWrapper< quint16, _impl >::uint16Rec1 |
Definition at line 674 of file KoStreamedMath.h.